Changeset 1535 for LMDZ4/branches
- Timestamp:
- Jun 3, 2011, 7:29:00 PM (13 years ago)
- Location:
- LMDZ4/branches/LMDZ4_AR5/libf/cosp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4_AR5/libf/cosp/phys_cosp.F90
r1528 r1535 1 1 ! Simulateur COSP : Cfmip Observation Simulator Package 2 3 2 ! ISCCP, Radar (QuickBeam), Lidar et Parasol (ACTSIM), MISR, RTTOVS 4 3 !Idelkadi Abderrahmane Aout-Septembre 2009 4 5 5 6 6 subroutine phys_cosp( itap,dtime,freq_cosp, & … … 148 148 integer :: itap,k,ip 149 149 real :: dtime,freq_cosp 150 logical, parameter :: lCOSP=.FALSE. 150 151 151 152 ! -
LMDZ4/branches/LMDZ4_AR5/libf/cosp/write_histdayCOSP.h
r1279 r1535 10 10 if (cfg%Llidar_sim) then 11 11 if (cfg%Lcllcalipso) then 12 CALL histwrite_phy(nid_day_cosp,"cllcalipso",itau_wcosp,stlidar%cldlayer(:,1)) 12 CALL histwrite_phy(nid_day_cosp,lCOSP,"cllcalipso", & 13 itau_wcosp,stlidar%cldlayer(:,1)) 13 14 endif 14 15 if (cfg%Lclhcalipso) then 15 CALL histwrite_phy(nid_day_cosp,"clhcalipso",itau_wcosp,stlidar%cldlayer(:,3)) 16 CALL histwrite_phy(nid_day_cosp,lCOSP,"clhcalipso", & 17 itau_wcosp,stlidar%cldlayer(:,3)) 16 18 endif 17 19 if (cfg%Lclmcalipso) then 18 CALL histwrite_phy(nid_day_cosp,"clmcalipso",itau_wcosp,stlidar%cldlayer(:,2)) 20 CALL histwrite_phy(nid_day_cosp,lCOSP,"clmcalipso", & 21 itau_wcosp,stlidar%cldlayer(:,2)) 19 22 endif 20 23 if (cfg%Lcltcalipso) then 21 CALL histwrite_phy(nid_day_cosp,"cltcalipso",itau_wcosp,stlidar%cldlayer(:,4)) 24 CALL histwrite_phy(nid_day_cosp,lCOSP,"cltcalipso", & 25 itau_wcosp,stlidar%cldlayer(:,4)) 22 26 endif 23 27 if (cfg%Lclcalipso) then 24 CALL histwrite_phy(nid_day_cosp,"clcalipso",itau_wcosp,stlidar%lidarcld) 28 CALL histwrite_phy(nid_day_cosp,lCOSP,"clcalipso", & 29 itau_wcosp,stlidar%lidarcld) 25 30 endif 26 31 if (cfg%Lcfad_lidarsr532) then 27 32 do ii=1,SR_BINS 28 CALL histwrite_phy(nid_day_cosp,"cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 33 CALL histwrite_phy(nid_day_cosp,lCOSP, & 34 "cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 29 35 enddo 30 36 endif 31 37 if (cfg%Lparasol_refl) then 32 CALL histwrite_phy(nid_day_cosp,"parasol_refl",itau_wcosp,stlidar%parasolrefl) 38 CALL histwrite_phy(nid_day_cosp,lCOSP,"parasol_refl", & 39 itau_wcosp,stlidar%parasolrefl) 33 40 endif 34 41 if (cfg%Latb532) then 35 42 do ii=1,Ncolumns 36 CALL histwrite_phy(nid_day_cosp,"atb532_"//chcol(ii),itau_wcosp,sglidar%beta_tot(:,ii,:)) 43 CALL histwrite_phy(nid_day_cosp,lCOSP,"atb532_"//chcol(ii), & 44 itau_wcosp,sglidar%beta_tot(:,ii,:)) 37 45 enddo 38 46 endif 39 47 if (cfg%Lbeta_mol532) then 40 CALL histwrite_phy(nid_day_cosp,"beta_mol532",itau_wcosp,sglidar%beta_mol) 48 CALL histwrite_phy(nid_day_cosp,lCOSP,"beta_mol532", & 49 itau_wcosp,sglidar%beta_mol) 41 50 endif 42 51 endif ! Lidar … … 84 93 if (cfg%Lclisccp2) then 85 94 do ii=1,7 86 CALL histwrite_phy(nid_day_cosp,"clisccp2_"//chcol(ii),itau_wcosp,isccp%fq_isccp(:,ii,:)) 95 CALL histwrite_phy(nid_day_cosp,lCOSP, & 96 "clisccp2_"//chcol(ii),itau_wcosp,isccp%fq_isccp(:,ii,:)) 87 97 enddo 88 98 endif 89 99 if (cfg%Lboxtauisccp) then 90 CALL histwrite_phy(nid_day_cosp,"boxtauisccp",itau_wcosp,isccp%boxtau) 100 CALL histwrite_phy(nid_day_cosp,lCOSP,"boxtauisccp", & 101 itau_wcosp,isccp%boxtau) 91 102 endif 92 103 if (cfg%Lboxptopisccp) then 93 CALL histwrite_phy(nid_day_cosp,"boxptopisccp",itau_wcosp,isccp%boxptop) 104 CALL histwrite_phy(nid_day_cosp,lCOSP,"boxptopisccp", & 105 itau_wcosp,isccp%boxptop) 94 106 endif 95 107 if (cfg%Ltclisccp) then 96 CALL histwrite_phy(nid_day_cosp,"tclisccp",itau_wcosp,isccp%totalcldarea) 108 CALL histwrite_phy(nid_day_cosp,lCOSP,"tclisccp", & 109 itau_wcosp,isccp%totalcldarea) 97 110 endif 98 111 if (cfg%Lctpisccp) then 99 CALL histwrite_phy(nid_day_cosp,"ctpisccp",itau_wcosp,isccp%meanptop) 112 CALL histwrite_phy(nid_day_cosp,lCOSP,"ctpisccp", & 113 itau_wcosp,isccp%meanptop) 100 114 endif 101 115 if (cfg%Ltauisccp) then 102 CALL histwrite_phy(nid_day_cosp,"tauisccp",itau_wcosp,isccp%meantaucld) 116 CALL histwrite_phy(nid_day_cosp,lCOSP,"tauisccp", & 117 itau_wcosp,isccp%meantaucld) 103 118 endif 104 119 if (cfg%Lalbisccp) then 105 CALL histwrite_phy(nid_day_cosp,"albisccp",itau_wcosp,isccp%meanalbedocld) 120 CALL histwrite_phy(nid_day_cosp,lCOSP,"albisccp", & 121 itau_wcosp,isccp%meanalbedocld) 106 122 endif 107 123 if (cfg%Lmeantbisccp) then 108 CALL histwrite_phy(nid_day_cosp,"meantbisccp",itau_wcosp,isccp%meantb) 124 CALL histwrite_phy(nid_day_cosp,lCOSP,"meantbisccp", & 125 itau_wcosp,isccp%meantb) 109 126 endif 110 127 if (cfg%Lmeantbclrisccp) then 111 CALL histwrite_phy(nid_day_cosp,"meantbclrisccp",itau_wcosp,isccp%meantbclr) 128 CALL histwrite_phy(nid_day_cosp,lCOSP,"meantbclrisccp", & 129 itau_wcosp,isccp%meantbclr) 112 130 endif 113 131 endif ! Isccp -
LMDZ4/branches/LMDZ4_AR5/libf/cosp/write_histhfCOSP.h
r1279 r1535 10 10 if (cfg%Llidar_sim) then 11 11 if (cfg%Lcllcalipso) then 12 CALL histwrite_phy(nid_hf_cosp,"cllcalipso",itau_wcosp,stlidar%cldlayer(:,1)) 12 CALL histwrite_phy(nid_hf_cosp,lCOSP,"cllcalipso", & 13 itau_wcosp,stlidar%cldlayer(:,1)) 13 14 endif 14 15 if (cfg%Lclhcalipso) then 15 CALL histwrite_phy(nid_hf_cosp,"clhcalipso",itau_wcosp,stlidar%cldlayer(:,3)) 16 CALL histwrite_phy(nid_hf_cosp,lCOSP,"clhcalipso", & 17 itau_wcosp,stlidar%cldlayer(:,3)) 16 18 endif 17 19 if (cfg%Lclmcalipso) then 18 CALL histwrite_phy(nid_hf_cosp,"clmcalipso",itau_wcosp,stlidar%cldlayer(:,2)) 20 CALL histwrite_phy(nid_hf_cosp,lCOSP,"clmcalipso", & 21 itau_wcosp,stlidar%cldlayer(:,2)) 19 22 endif 20 23 if (cfg%Lcltcalipso) then 21 CALL histwrite_phy(nid_hf_cosp,"cltcalipso",itau_wcosp,stlidar%cldlayer(:,4)) 24 CALL histwrite_phy(nid_hf_cosp,lCOSP,"cltcalipso", & 25 itau_wcosp,stlidar%cldlayer(:,4)) 22 26 endif 23 27 if (cfg%Lclcalipso) then 24 CALL histwrite_phy(nid_hf_cosp,"clcalipso",itau_wcosp,stlidar%lidarcld) 28 CALL histwrite_phy(nid_hf_cosp,lCOSP,"clcalipso", & 29 itau_wcosp,stlidar%lidarcld) 25 30 endif 26 31 if (cfg%Lcfad_lidarsr532) then 27 32 do ii=1,SR_BINS 28 CALL histwrite_phy(nid_hf_cosp,"cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 33 CALL histwrite_phy(nid_hf_cosp,lCOSP, & 34 "cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 29 35 enddo 30 36 endif 31 37 if (cfg%Lparasol_refl) then 32 CALL histwrite_phy(nid_hf_cosp,"parasol_refl",itau_wcosp,stlidar%parasolrefl) 38 CALL histwrite_phy(nid_hf_cosp,lCOSP,"parasol_refl", & 39 itau_wcosp,stlidar%parasolrefl) 33 40 endif 34 41 if (cfg%Latb532) then 35 42 do ii=1,Ncolumns 36 CALL histwrite_phy(nid_hf_cosp,"atb532_"//chcol(ii),itau_wcosp,sglidar%beta_tot(:,ii,:)) 43 CALL histwrite_phy(nid_hf_cosp,lCOSP,"atb532_"//chcol(ii), & 44 itau_wcosp,sglidar%beta_tot(:,ii,:)) 37 45 enddo 38 46 endif 39 47 if (cfg%Lbeta_mol532) then 40 CALL histwrite_phy(nid_hf_cosp,"beta_mol532",itau_wcosp,sglidar%beta_mol) 48 CALL histwrite_phy(nid_hf_cosp,lCOSP,"beta_mol532", & 49 itau_wcosp,sglidar%beta_mol) 41 50 endif 42 51 endif ! Lidar … … 84 93 if (cfg%Lclisccp2) then 85 94 do ii=1,7 86 CALL histwrite_phy(nid_hf_cosp,"clisccp2_"//chcol(ii),itau_wcosp,isccp%fq_isccp(:,ii,:)) 95 CALL histwrite_phy(nid_hf_cosp,lCOSP, & 96 "clisccp2_"//chcol(ii),itau_wcosp,isccp%fq_isccp(:,ii,:)) 87 97 enddo 88 98 endif 89 99 if (cfg%Lboxtauisccp) then 90 CALL histwrite_phy(nid_hf_cosp,"boxtauisccp",itau_wcosp,isccp%boxtau) 100 CALL histwrite_phy(nid_hf_cosp,lCOSP,"boxtauisccp", & 101 itau_wcosp,isccp%boxtau) 91 102 endif 92 103 if (cfg%Lboxptopisccp) then 93 CALL histwrite_phy(nid_hf_cosp,"boxptopisccp",itau_wcosp,isccp%boxptop) 104 CALL histwrite_phy(nid_hf_cosp,lCOSP,"boxptopisccp", & 105 itau_wcosp,isccp%boxptop) 94 106 endif 95 107 if (cfg%Ltclisccp) then 96 CALL histwrite_phy(nid_hf_cosp,"tclisccp",itau_wcosp,isccp%totalcldarea) 108 CALL histwrite_phy(nid_hf_cosp,lCOSP,"tclisccp", & 109 itau_wcosp,isccp%totalcldarea) 97 110 endif 98 111 if (cfg%Lctpisccp) then 99 CALL histwrite_phy(nid_hf_cosp,"ctpisccp",itau_wcosp,isccp%meanptop) 112 CALL histwrite_phy(nid_hf_cosp,lCOSP,"ctpisccp", & 113 itau_wcosp,isccp%meanptop) 100 114 101 115 endif 102 116 if (cfg%Ltauisccp) then 103 CALL histwrite_phy(nid_hf_cosp,"tauisccp",itau_wcosp,isccp%meantaucld) 117 CALL histwrite_phy(nid_hf_cosp,lCOSP,"tauisccp", & 118 itau_wcosp,isccp%meantaucld) 104 119 endif 105 120 if (cfg%Lalbisccp) then 106 CALL histwrite_phy(nid_hf_cosp,"albisccp",itau_wcosp,isccp%meanalbedocld) 121 CALL histwrite_phy(nid_hf_cosp,lCOSP,"albisccp", & 122 itau_wcosp,isccp%meanalbedocld) 107 123 endif 108 124 if (cfg%Lmeantbisccp) then 109 CALL histwrite_phy(nid_hf_cosp,"meantbisccp",itau_wcosp,isccp%meantb) 125 CALL histwrite_phy(nid_hf_cosp,lCOSP,"meantbisccp", & 126 itau_wcosp,isccp%meantb) 110 127 endif 111 128 if (cfg%Lmeantbclrisccp) then 112 CALL histwrite_phy(nid_hf_cosp,"meantbclrisccp",itau_wcosp,isccp%meantbclr) 129 CALL histwrite_phy(nid_hf_cosp,lCOSP,"meantbclrisccp", & 130 itau_wcosp,isccp%meantbclr) 113 131 endif 114 132 endif ! Isccp -
LMDZ4/branches/LMDZ4_AR5/libf/cosp/write_histmthCOSP.h
r1279 r1535 10 10 if (cfg%Llidar_sim) then 11 11 if (cfg%Lcllcalipso) then 12 CALL histwrite_phy(nid_mth_cosp,"cllcalipso",itau_wcosp,stlidar%cldlayer(:,1)) 12 CALL histwrite_phy(nid_mth_cosp,lCOSP,"cllcalipso",itau_wcosp, & 13 stlidar%cldlayer(:,1)) 13 14 endif 14 15 if (cfg%Lclhcalipso) then 15 CALL histwrite_phy(nid_mth_cosp,"clhcalipso",itau_wcosp,stlidar%cldlayer(:,3)) 16 CALL histwrite_phy(nid_mth_cosp,lCOSP,"clhcalipso",itau_wcosp, & 17 stlidar%cldlayer(:,3)) 16 18 endif 17 19 if (cfg%Lclmcalipso) then 18 CALL histwrite_phy(nid_mth_cosp,"clmcalipso",itau_wcosp,stlidar%cldlayer(:,2)) 20 CALL histwrite_phy(nid_mth_cosp,lCOSP,"clmcalipso",itau_wcosp, & 21 stlidar%cldlayer(:,2)) 19 22 endif 20 23 if (cfg%Lcltcalipso) then 21 CALL histwrite_phy(nid_mth_cosp,"cltcalipso",itau_wcosp,stlidar%cldlayer(:,4)) 24 CALL histwrite_phy(nid_mth_cosp,lCOSP,"cltcalipso",itau_wcosp, & 25 stlidar%cldlayer(:,4)) 22 26 endif 23 27 if (cfg%Lclcalipso) then 24 CALL histwrite_phy(nid_mth_cosp,"clcalipso",itau_wcosp,stlidar%lidarcld) 28 CALL histwrite_phy(nid_mth_cosp,lCOSP,"clcalipso",itau_wcosp, & 29 stlidar%lidarcld) 25 30 endif 26 31 if (cfg%Lcfad_lidarsr532) then 27 32 do ii=1,SR_BINS 28 CALL histwrite_phy(nid_mth_cosp,"cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 33 CALL histwrite_phy(nid_mth_cosp,lCOSP, & 34 "cfad_lidarsr532_"//chcol(ii),itau_wcosp,stlidar%cfad_sr(:,ii,:)) 29 35 enddo 30 36 endif 31 37 if (cfg%Lparasol_refl) then 32 CALL histwrite_phy(nid_mth_cosp,"parasol_refl",itau_wcosp,stlidar%parasolrefl) 38 CALL histwrite_phy(nid_mth_cosp,lCOSP,"parasol_refl", & 39 itau_wcosp,stlidar%parasolrefl) 33 40 endif 34 41 if (cfg%Latb532) then 35 42 do ii=1,Ncolumns 36 CALL histwrite_phy(nid_mth_cosp,"atb532_"//chcol(ii),itau_wcosp,sglidar%beta_tot(:,ii,:)) 43 CALL histwrite_phy(nid_mth_cosp,lCOSP, & 44 "atb532_"//chcol(ii),itau_wcosp,sglidar%beta_tot(:,ii,:)) 37 45 enddo 38 46 endif 39 47 if (cfg%Lbeta_mol532) then 40 CALL histwrite_phy(nid_mth_cosp,"beta_mol532",itau_wcosp,sglidar%beta_mol) 48 CALL histwrite_phy(nid_mth_cosp,lCOSP,"beta_mol532", & 49 itau_wcosp,sglidar%beta_mol) 41 50 endif 42 51 endif ! Lidar … … 84 93 if (cfg%Lclisccp2) then 85 94 do ii=1,7 86 CALL histwrite_phy(nid_mth_cosp,"clisccp2_"//chcol(ii),itau_wcosp,isccp%fq_isccp(:,ii,:)) 95 CALL histwrite_phy(nid_mth_cosp,lCOSP,"clisccp2_"//chcol(ii), & 96 itau_wcosp,isccp%fq_isccp(:,ii,:)) 87 97 enddo 88 98 endif 89 99 if (cfg%Lboxtauisccp) then 90 CALL histwrite_phy(nid_mth_cosp,"boxtauisccp",itau_wcosp,isccp%boxtau) 100 CALL histwrite_phy(nid_mth_cosp,lCOSP,"boxtauisccp", & 101 itau_wcosp,isccp%boxtau) 91 102 endif 92 103 if (cfg%Lboxptopisccp) then 93 CALL histwrite_phy(nid_mth_cosp,"boxptopisccp",itau_wcosp,isccp%boxptop) 104 CALL histwrite_phy(nid_mth_cosp,lCOSP,"boxptopisccp", & 105 itau_wcosp,isccp%boxptop) 94 106 endif 95 107 if (cfg%Ltclisccp) then 96 CALL histwrite_phy(nid_mth_cosp,"tclisccp",itau_wcosp,isccp%totalcldarea) 108 CALL histwrite_phy(nid_mth_cosp,lCOSP,"tclisccp", & 109 itau_wcosp,isccp%totalcldarea) 97 110 endif 98 111 if (cfg%Lctpisccp) then 99 CALL histwrite_phy(nid_mth_cosp,"ctpisccp",itau_wcosp,isccp%meanptop) 112 CALL histwrite_phy(nid_mth_cosp,lCOSP,"ctpisccp", & 113 itau_wcosp,isccp%meanptop) 100 114 endif 101 115 if (cfg%Ltauisccp) then 102 CALL histwrite_phy(nid_mth_cosp,"tauisccp",itau_wcosp,isccp%meantaucld) 116 CALL histwrite_phy(nid_mth_cosp,lCOSP,"tauisccp", & 117 itau_wcosp,isccp%meantaucld) 103 118 endif 104 119 if (cfg%Lalbisccp) then 105 CALL histwrite_phy(nid_mth_cosp,"albisccp",itau_wcosp,isccp%meanalbedocld) 120 CALL histwrite_phy(nid_mth_cosp,lCOSP,"albisccp", & 121 itau_wcosp,isccp%meanalbedocld) 106 122 endif 107 123 if (cfg%Lmeantbisccp) then 108 CALL histwrite_phy(nid_mth_cosp,"meantbisccp",itau_wcosp,isccp%meantb) 124 CALL histwrite_phy(nid_mth_cosp,lCOSP,"meantbisccp", & 125 itau_wcosp,isccp%meantb) 109 126 endif 110 127 if (cfg%Lmeantbclrisccp) then 111 CALL histwrite_phy(nid_mth_cosp,"meantbclrisccp",itau_wcosp,isccp%meantbclr) 128 CALL histwrite_phy(nid_mth_cosp,lCOSP,"meantbclrisccp", & 129 itau_wcosp,isccp%meantbclr) 112 130 endif 113 131 endif ! Isccp
Note: See TracChangeset
for help on using the changeset viewer.