Changeset 6ecb30a in flexpart.git for src/FLEXPART.f90
- Timestamp:
- Aug 17, 2017, 4:39:17 PM (7 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 5b34509
- Parents:
- 61e07ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FLEXPART.f90
rc8fc724 r6ecb30a 33 33 ! * 34 34 !***************************************************************************** 35 ! Changes: * 36 ! Unified ECMWF and GFS builds * 37 ! Marian Harustak, 12.5.2017 * 38 ! - Added detection of metdata format using gributils routines * 39 ! - Distinguished calls to ecmwf/gfs gridcheck versions based on * 40 ! detected metdata format * 41 ! - Passed metdata format down to timemanager * 42 !***************************************************************************** 35 43 ! * 36 44 ! Variables: * … … 46 54 use netcdf_output_mod, only: writeheader_netcdf 47 55 use random_mod, only: gasdev1 56 use class_gribfile 48 57 49 58 implicit none … … 52 61 integer :: idummy = -320 53 62 character(len=256) :: inline_options !pathfile, flexversion, arg2 63 integer :: metdata_format = GRIBFILE_CENTRE_UNKNOWN 64 integer :: detectformat 65 54 66 55 67 … … 172 184 call readavailable 173 185 186 ! Detect metdata format 187 !********************** 188 189 metdata_format = detectformat() 190 191 if (metdata_format.eq.GRIBFILE_CENTRE_ECMWF) then 192 print *,'ECMWF metdata detected' 193 elseif (metdata_format.eq.GRIBFILE_CENTRE_NCEP) then 194 print *,'NCEP metdata detected' 195 else 196 print *,'Unknown metdata format' 197 return 198 endif 199 200 201 174 202 ! If nested wind fields are used, allocate arrays 175 203 !************************************************ … … 188 216 endif 189 217 190 call gridcheck 218 if (metdata_format.eq.GRIBFILE_CENTRE_ECMWF) then 219 call gridcheck_ecmwf 220 else 221 call gridcheck_gfs 222 end if 191 223 192 224 if (verbosity.gt.1) then … … 411 443 endif 412 444 413 call timemanager 445 call timemanager(metdata_format) 414 446 415 447 ! NIK 16.02.2005
Note: See TracChangeset
for help on using the changeset viewer.