Changeset 2867 for LMDZ5/trunk


Ignore:
Timestamp:
Apr 27, 2017, 9:58:41 AM (8 years ago)
Author:
idelkadi
Message:

Correction d'erreur sur les diagnostiques parasol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90

    r2822 r2867  
    182182      CALL histwrite3d_cosp(o_cfad_lidarsr532,stlidar%cfad_sr(:,icl,:),nvert,icl)
    183183   enddo
    184      CALL histwrite3d_cosp(o_parasol_refl,stlidar%parasolrefl,nvertp)
    185 #endif
    186 
     184#endif
     185
     186   CALL histwrite3d_cosp(o_parasol_refl,stlidar%parasolrefl,nvertp)
    187187   do k=1,PARASOL_NREFL
    188188    do ip=1, Npoints
    189      if (stlidar%cldlayer(ip,4).gt.0.01) then
     189     if (stlidar%cldlayer(ip,4).gt.0.01.and.stlidar%parasolrefl(ip,k).ne.missing_val) then
    190190       parasolcrefl(ip,k)=(stlidar%parasolrefl(ip,k)-0.03*(1.-stlidar%cldlayer(ip,4)))/ &
    191191                            stlidar%cldlayer(ip,4)
     
    196196     endif
    197197    enddo
     198   
    198199   enddo
    199200   CALL histwrite3d_cosp(o_Ncrefl,Ncref,nvertp)
Note: See TracChangeset for help on using the changeset viewer.