Changeset 4659 for palm/trunk/UTIL/inifor/src/inifor_types.f90
- Timestamp:
- Aug 31, 2020 11:21:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_types.f90
r4568 r4659 21 21 ! Current revisions: 22 22 ! ----------------- 23 ! 24 ! 23 ! 24 ! 25 25 ! Former revisions: 26 26 ! ----------------- 27 27 ! $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 28 33 ! Handle COSMO soil data with and without additional surface temperature 29 34 ! … … 123 128 CHARACTER(LEN=SNAME) :: radiation_prefix !< Prefix of radiation input files, e.g 'laf' for COSMO-DE analyses 124 129 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 analyses130 CHARACTER(LEN=SNAME) :: precipitation_prefix !< Prefix of input files for precipitation forcing, e.g 'laf' for COSMO-DE analyses 126 131 127 132 CHARACTER(LEN=SNAME) :: averaging_mode !< destinguishes between level-based and heigh-based averaging … … 142 147 LOGICAL :: radiation_prefix_is_set !< indicates whether the radiation prefix was set manually 143 148 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 145 151 LOGICAL :: static_driver_is_set !< indicates whether a static driver was given 146 152 LOGICAL :: ug_defined_by_user !< indicates whether ug was set manually … … 247 253 LOGICAL :: to_be_processed = .FALSE. !< INIFOR flag indicating whether variable shall be processed 248 254 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 249 256 LOGICAL :: is_read = .FALSE. !< INIFOR flag indicating whether variable has been read 250 257 LOGICAL :: is_upside_down = .FALSE. !< INIFOR flag indicating whether vertical dimension is reversed (typically the case with COSMO-DE atmospheric fields) … … 252 259 TYPE(grid_definition), POINTER :: grid !< Pointer to the corresponding output grid 253 260 TYPE(grid_definition), POINTER :: intermediate_grid !< Pointer to the corresponding intermediate grid 254 TYPE(grid_definition), POINTER :: averaging_grid !< Pointer to the corresponding intermediate grid261 TYPE(grid_definition), POINTER :: averaging_grid !< Pointer to the corresponding intermediate grid 255 262 END TYPE nc_var 256 263 … … 265 272 !------------------------------------------------------------------------------! 266 273 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 275 283 LOGICAL :: to_be_processed = .FALSE. !< Inifor flag indicating whether I/O group shall be processed 276 284 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 277 286 LOGICAL :: is_preprocessed = .FALSE. !< Inifor flag indicating whether the I/O group has been preprocessed 278 287 END TYPE io_group
Note: See TracChangeset
for help on using the changeset viewer.