Ignore:
Timestamp:
Feb 8, 2018 1:24:35 PM (6 years ago)
Author:
suehring
Message:

Output of ground-heat flux at natural- and urban-type surfaces in one output variable; enable restart data of _av variables that belong to both land- and urban-surface model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/write_3d_binary.f90

    r2718 r2797  
    2525! -----------------
    2626! $Id$
     27! Enable restarts for land- and urban-surface variables ghf_av, r_a_av and
     28! tsurf_av.
     29!
     30! 2718 2018-01-02 08:49:38Z maronga
    2731! Corrected "Former revisions" section
    2832!
     
    135139
    136140    USE control_parameters,                                                    &
    137         ONLY:  iran, humidity, passive_scalar, cloud_physics, cloud_droplets,  &
    138                microphysics_morrison, microphysics_seifert, ocean, topography
     141        ONLY:  cloud_physics, cloud_droplets, humidity, iran,                  &
     142               land_surface, microphysics_morrison, microphysics_seifert,      &
     143               ocean, passive_scalar, topography, urban_surface
    139144               
    140145    USE indices,                                                               &
     
    378383       WRITE ( 14 )  'z0q_av              ';  WRITE ( 14 )  z0q_av
    379384    ENDIF
     385    IF ( land_surface  .OR.  urban_surface )  THEN
     386       IF ( ALLOCATED( ghf_av ) )  THEN
     387          WRITE ( 14 )  'ghf_av              ';  WRITE ( 14 )  ghf_av
     388       ENDIF
     389       IF ( ALLOCATED( r_a_av ) )  THEN
     390          WRITE ( 14 )  'r_a_av              ';  WRITE ( 14 )  r_a_av
     391       ENDIF
     392       IF ( ALLOCATED( tsurf_av ) )  THEN
     393          WRITE ( 14 )  'tsurf_av            ';  WRITE ( 14 )  tsurf_av
     394       ENDIF
     395    ENDIF
    380396
    381397!
Note: See TracChangeset for help on using the changeset viewer.