Changeset 2321


Ignore:
Timestamp:
Jul 6, 2015, 6:22:14 PM (9 years ago)
Author:
Ehouarn Millour
Message:

Create the "obsolete" directory where old and unused stuff should go. And move some obsolete routines there.
Minor correction in "print_control_mod": use "opened" argument to inquire instead of "exist".
EM

Location:
LMDZ5/trunk/libf
Files:
2 added
2 edited
6 moved

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F90

    r2320 r2321  
    536536  EXTERNAL suphel    ! initialiser certaines constantes
    537537  EXTERNAL transp    ! transport total de l'eau et de l'energie
    538   EXTERNAL ecribina  ! ecrire le fichier binaire global
    539   EXTERNAL ecribins  ! ecrire le fichier binaire global
    540   EXTERNAL ecrirega  ! ecrire le fichier binaire regional
    541   EXTERNAL ecriregs  ! ecrire le fichier binaire regional
    542538  !IM
    543539  EXTERNAL haut2bas  !variables de haut en bas
     
    43044300  !
    43054301
    4306   !        -----------------------------------------------------------------
    4307   !        WSTATS: Saving statistics
    4308   !        -----------------------------------------------------------------
    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) THEN
    4315 
    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) THEN
    4353         write (*,*) "Writing stats..."
    4354         call mkstats(ierr)
    4355      ENDIF
    4356 
    4357   ENDIF !if callstats
    4358 
    43594302  IF (lafin) THEN
    43604303     itau_phy = itau_phy + itap
  • LMDZ5/trunk/libf/phylmd/print_control_mod.F90

    r2311 r2321  
    1414  IMPLICIT NONE
    1515
    16     LOGICAL :: exist
     16    LOGICAL :: opened
    1717    INTEGER :: number
    1818   
     
    3535    IF (is_omp_root) THEN
    3636      IF (lunout /= 5 .and. lunout /= 6) THEN
    37          INQUIRE(FILE='lmdz.out_0000',EXIST=exist,NUMBER=number)
    38          IF (exist) THEN
     37         INQUIRE(FILE='lmdz.out_0000',OPENED=opened,NUMBER=number)
     38         IF (opened) THEN
    3939           lunout=number
    4040         ELSE
Note: See TracChangeset for help on using the changeset viewer.