Changeset 2160 for LMDZ5/branches/testing/libf/cosp/phys_cosp.F90
- Timestamp:
- Nov 28, 2014, 4:36:29 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2072,2075-2115,2117-2126,2128-2158
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/cosp/phys_cosp.F90
r1999 r2160 6 6 subroutine phys_cosp( itap,dtime,freq_cosp, & 7 7 ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, & 8 ecrit_mth,ecrit_day,ecrit_hf, &8 ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, & 9 9 Nptslmdz,Nlevlmdz,lon,lat, presnivs,overlaplmdz,sunlit, & 10 10 ref_liq,ref_ice,fracTerLic,u_wind,v_wind,phis,phi,ph,p,skt,t, & … … 84 84 character(len=64),PARAMETER :: cosp_input_nl='cosp_input_nl.txt' 85 85 character(len=64),PARAMETER :: cosp_output_nl='cosp_output_nl.txt' 86 character(len=512), save :: finput ! Input file name87 character(len=512), save :: cmor_nl88 86 integer, save :: isccp_topheight,isccp_topheight_direction,overlap 89 87 integer,save :: Ncolumns ! Number of subcolumns in SCOPS … … 121 119 integer :: ii 122 120 real :: ecrit_day,ecrit_hf,ecrit_mth 123 logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP 121 logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, ok_all_xml 124 122 125 123 logical, save :: debut_cosp=.true. … … 140 138 141 139 ! 142 namelist/COSP_INPUT/ cmor_nl,overlap,isccp_topheight,isccp_topheight_direction, &143 npoints_it,ncolumns, nlevels,use_vgrid,nlr,csat_vgrid,finput, &140 namelist/COSP_INPUT/overlap,isccp_topheight,isccp_topheight_direction, & 141 npoints_it,ncolumns,use_vgrid,nlr,csat_vgrid, & 144 142 radar_freq,surface_radar,use_mie_tables, & 145 143 use_gas_abs,do_ray,melt_lay,k2,Nprmts_max_hydro,Naero,Nprmts_max_aero, & … … 297 295 if (debut_cosp) then 298 296 297 !$OMP MASTER 299 298 print *, ' Open outpts files and define axis' 300 299 call cosp_output_open(Nlevlmdz, Ncolumns, presnivs, dtime, freq_cosp, & 301 ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, &300 ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, ok_all_xml, & 302 301 ecrit_mth, ecrit_day, ecrit_hf, use_vgrid, vgrid) 303 302 !$OMP END MASTER 303 !$OMP BARRIER 304 304 debut_cosp=.false. 305 305 endif ! debut_cosp … … 313 313 !!!!!!!!!!!!!!!!!! Ecreture des sorties Cosp !!!!!!!!!!!!!!r!!!!!!:!!!!! 314 314 print *, 'Calling write output' 315 call cosp_output_write(Nlevlmdz, Npoints, Ncolumns, itap, dtime, freq_COSP, cfg, gbx, sglidar, stlidar, isccp) 315 call cosp_output_write(Nlevlmdz, Npoints, Ncolumns, itap, dtime, freq_COSP, & 316 cfg, gbx, vgrid, sglidar, stlidar, isccp) 316 317 317 318 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ … … 343 344 CLOSE(10) 344 345 ENDIF 345 CALL bcast(cmor_nl)346 346 CALL bcast(overlap) 347 347 CALL bcast(isccp_topheight) … … 349 349 CALL bcast(npoints_it) 350 350 CALL bcast(ncolumns) 351 CALL bcast(nlevels)352 351 CALL bcast(use_vgrid) 353 352 CALL bcast(nlr) 354 353 CALL bcast(csat_vgrid) 355 CALL bcast(finput)356 354 CALL bcast(radar_freq) 357 355 CALL bcast(surface_radar)
Note: See TracChangeset
for help on using the changeset viewer.