Ignore:
Timestamp:
Aug 31, 2020 11:21:17 AM (4 years ago)
Author:
eckhard
Message:

inifor: Support for COSMO cloud water and precipitation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/inifor/src/inifor_types.f90

    r4568 r4659  
    2121! Current revisions:
    2222! -----------------
    23 ! 
    24 ! 
     23!
     24!
    2525! Former revisions:
    2626! -----------------
    2727! $Id$
     28! Added flag in support of new command-line option '--precipitation'
     29! Improved code formatting
     30!
     31!
     32! 4568 2020-06-19 11:56:30Z eckhard
    2833! Handle COSMO soil data with and without additional surface temperature
    2934!
     
    123128    CHARACTER(LEN=SNAME) ::  radiation_prefix     !< Prefix of radiation input files, e.g 'laf' for COSMO-DE analyses
    124129    CHARACTER(LEN=SNAME) ::  soil_prefix          !< Prefix of soil input files, e.g. 'laf' for COSMO-DE analyses
    125     CHARACTER(LEN=SNAME) ::  soilmoisture_prefix  !< Prefix of input files for soil moisture spin-up, e.g 'laf' for COSMO-DE analyses
     130    CHARACTER(LEN=SNAME) ::  precipitation_prefix !< Prefix of input files for precipitation forcing, e.g 'laf' for COSMO-DE analyses
    126131
    127132    CHARACTER(LEN=SNAME) ::  averaging_mode       !< destinguishes between level-based and heigh-based averaging
     
    142147    LOGICAL              ::  radiation_prefix_is_set     !< indicates whether the radiation prefix was set manually
    143148    LOGICAL              ::  soil_prefix_is_set          !< indicates whether the soil prefix was set manually
    144     LOGICAL              ::  soilmoisture_prefix_is_set  !< indicates whether the soilmoisture prefix was set manually
     149    LOGICAL              ::  precipitation_prefix_is_set !< indicates whether the precipitation prefix was set manually
     150    LOGICAL              ::  process_precipitation       !< indicates whether precipitation should be processed
    145151    LOGICAL              ::  static_driver_is_set        !< indicates whether a static driver was given
    146152    LOGICAL              ::  ug_defined_by_user          !< indicates whether ug was set manually
     
    247253    LOGICAL                               ::  to_be_processed = .FALSE. !< INIFOR flag indicating whether variable shall be processed
    248254    LOGICAL                               ::  is_internal = .FALSE.     !< INIFOR flag indicating whether variable shall be written to netCDF file (.FALSE.) or kept for later (.TRUE.)
     255    LOGICAL                               ::  is_optional = .FALSE.     !< Flag indicating whether INIFOR may continue if the the netCDF variable cannot be processed, e.g. if files are missing
    249256    LOGICAL                               ::  is_read = .FALSE.         !< INIFOR flag indicating whether variable has been read
    250257    LOGICAL                               ::  is_upside_down  = .FALSE. !< INIFOR flag indicating whether vertical dimension is reversed (typically the case with COSMO-DE atmospheric fields)
     
    252259    TYPE(grid_definition), POINTER        ::  grid                      !< Pointer to the corresponding output grid
    253260    TYPE(grid_definition), POINTER        ::  intermediate_grid         !< Pointer to the corresponding intermediate grid
    254     TYPE(grid_definition), POINTER        ::  averaging_grid         !< Pointer to the corresponding intermediate grid
     261    TYPE(grid_definition), POINTER        ::  averaging_grid            !< Pointer to the corresponding intermediate grid
    255262 END TYPE nc_var
    256263
     
    265272!------------------------------------------------------------------------------!
    266273 TYPE io_group
    267     INTEGER(iwp)                          ::  nt             !< maximum number of output time steps across all output variables
    268     INTEGER(iwp)                          ::  nv             !< number of netCDF output variables
    269     INTEGER(iwp)                          ::  n_inputs       !< number of input variables
    270     INTEGER(iwp)                          ::  n_output_quantities !< number of physical quantities required for computing netCDF output variables
    271     CHARACTER(LEN=SNAME)             ::  kind           !< kind of I/O group
    272     CHARACTER(LEN=PATH), ALLOCATABLE ::  in_files(:)    !< list of nt input files
    273     TYPE(nc_var), ALLOCATABLE        ::  out_vars(:)    !< list of output variables
    274     TYPE(nc_var), ALLOCATABLE        ::  in_var_list(:) !< list of input variables
     274    INTEGER(iwp)                     ::  nt                  !< maximum number of output time steps across all output variables
     275    INTEGER(iwp)                     ::  nv                  !< number of netCDF output variables
     276    INTEGER(iwp)                     ::  n_inputs            !< number of input variables
     277    INTEGER(iwp)                     ::  n_output_quantities !< number of physical quantities required for computing netCDF output variables
     278    CHARACTER(LEN=SNAME)             ::  name                !< name of I/O group
     279    CHARACTER(LEN=SNAME)             ::  kind                !< kind of I/O group
     280    CHARACTER(LEN=PATH), ALLOCATABLE ::  in_files(:)         !< list of nt input files
     281    TYPE(nc_var), ALLOCATABLE        ::  out_vars(:)         !< list of output variables
     282    TYPE(nc_var), ALLOCATABLE        ::  in_var_list(:)      !< list of input variables
    275283    LOGICAL                          ::  to_be_processed = .FALSE. !< Inifor flag indicating whether I/O group shall be processed
    276284    LOGICAL                          ::  is_accumulated = .FALSE.  !< Flag indicating whether this I/O group contains accumulated variables
     285    LOGICAL                          ::  is_optional = .FALSE.     !< Flag indicating whether INIFOR may continue if group cannot be processed, e.g. if files are missing
    277286    LOGICAL                          ::  is_preprocessed = .FALSE. !< Inifor flag indicating whether the I/O group has been preprocessed
    278287 END TYPE io_group
Note: See TracChangeset for help on using the changeset viewer.