Changeset 2321
- Timestamp:
- Jul 6, 2015, 6:22:14 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 2 added
- 2 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq.F90
r2320 r2321 536 536 EXTERNAL suphel ! initialiser certaines constantes 537 537 EXTERNAL transp ! transport total de l'eau et de l'energie 538 EXTERNAL ecribina ! ecrire le fichier binaire global539 EXTERNAL ecribins ! ecrire le fichier binaire global540 EXTERNAL ecrirega ! ecrire le fichier binaire regional541 EXTERNAL ecriregs ! ecrire le fichier binaire regional542 538 !IM 543 539 EXTERNAL haut2bas !variables de haut en bas … … 4304 4300 ! 4305 4301 4306 ! -----------------------------------------------------------------4307 ! WSTATS: Saving statistics4308 ! -----------------------------------------------------------------4309 ! ("stats" stores and accumulates 8 key variables in file "stats.nc"4310 ! which can later be used to make the statistic files of the run:4311 ! "stats") only possible in 3D runs !4312 4313 4314 IF (callstats) THEN4315 4316 call wstats(klon,o_psol%name,"Surface pressure","Pa" &4317 ,2,paprs(:,1))4318 call wstats(klon,o_tsol%name,"Surface temperature","K", &4319 2,zxtsol)4320 zx_tmp_fi2d(:) = rain_fall(:) + snow_fall(:)4321 call wstats(klon,o_precip%name,"Precip Totale liq+sol", &4322 "kg/(s*m2)",2,zx_tmp_fi2d)4323 zx_tmp_fi2d(:) = rain_lsc(:) + snow_lsc(:)4324 call wstats(klon,o_plul%name,"Large-scale Precip", &4325 "kg/(s*m2)",2,zx_tmp_fi2d)4326 zx_tmp_fi2d(:) = rain_con(:) + snow_con(:)4327 call wstats(klon,o_pluc%name,"Convective Precip", &4328 "kg/(s*m2)",2,zx_tmp_fi2d)4329 call wstats(klon,o_sols%name,"Solar rad. at surf.", &4330 "W/m2",2,solsw)4331 call wstats(klon,o_soll%name,"IR rad. at surf.", &4332 "W/m2",2,sollw)4333 zx_tmp_fi2d(:) = topsw(:)-toplw(:)4334 call wstats(klon,o_nettop%name,"Net dn radiatif flux at TOA", &4335 "W/m2",2,zx_tmp_fi2d)4336 4337 4338 4339 call wstats(klon,o_temp%name,"Air temperature","K", &4340 3,t_seri)4341 call wstats(klon,o_vitu%name,"Zonal wind","m.s-1", &4342 3,u_seri)4343 call wstats(klon,o_vitv%name,"Meridional wind", &4344 "m.s-1",3,v_seri)4345 call wstats(klon,o_vitw%name,"Vertical wind", &4346 "m.s-1",3,omega)4347 call wstats(klon,o_ovap%name,"Specific humidity", "kg/kg", &4348 3,q_seri)4349 4350 4351 4352 IF(lafin) THEN4353 write (*,*) "Writing stats..."4354 call mkstats(ierr)4355 ENDIF4356 4357 ENDIF !if callstats4358 4359 4302 IF (lafin) THEN 4360 4303 itau_phy = itau_phy + itap -
LMDZ5/trunk/libf/phylmd/print_control_mod.F90
r2311 r2321 14 14 IMPLICIT NONE 15 15 16 LOGICAL :: exist16 LOGICAL :: opened 17 17 INTEGER :: number 18 18 … … 35 35 IF (is_omp_root) THEN 36 36 IF (lunout /= 5 .and. lunout /= 6) THEN 37 INQUIRE(FILE='lmdz.out_0000', EXIST=exist,NUMBER=number)38 IF ( exist) THEN37 INQUIRE(FILE='lmdz.out_0000',OPENED=opened,NUMBER=number) 38 IF (opened) THEN 39 39 lunout=number 40 40 ELSE
Note: See TracChangeset
for help on using the changeset viewer.