Changes in src/FLEXPART.f90 [d8eed02:c8fc724] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FLEXPART.f90
rd8eed02 rc8fc724 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 !*****************************************************************************43 35 ! * 44 36 ! Variables: * … … 54 46 use netcdf_output_mod, only: writeheader_netcdf 55 47 use random_mod, only: gasdev1 56 use class_gribfile57 48 58 49 implicit none … … 61 52 integer :: idummy = -320 62 53 character(len=256) :: inline_options !pathfile, flexversion, arg2 63 integer :: metdata_format = GRIBFILE_CENTRE_UNKNOWN64 integer :: detectformat65 66 54 67 55 … … 82 70 ! FLEXPART version string 83 71 flexversion_major = '10' ! Major version number, also used for species file names 84 flexversion='Version '//trim(flexversion_major)//'. 2beta (2017-08-01)'72 flexversion='Version '//trim(flexversion_major)//'.1beta (2016-11-02)' 85 73 verbosity=0 86 74 … … 184 172 call readavailable 185 173 186 ! Detect metdata format187 !**********************188 189 metdata_format = detectformat()190 191 if (metdata_format.eq.GRIBFILE_CENTRE_ECMWF) then192 print *,'ECMWF metdata detected'193 elseif (metdata_format.eq.GRIBFILE_CENTRE_NCEP) then194 print *,'NCEP metdata detected'195 else196 print *,'Unknown metdata format'197 return198 endif199 200 201 202 174 ! If nested wind fields are used, allocate arrays 203 175 !************************************************ … … 216 188 endif 217 189 218 if (metdata_format.eq.GRIBFILE_CENTRE_ECMWF) then 219 call gridcheck_ecmwf 220 else 221 call gridcheck_gfs 222 end if 190 call gridcheck 223 191 224 192 if (verbosity.gt.1) then … … 443 411 endif 444 412 445 call timemanager (metdata_format)413 call timemanager 446 414 447 415 ! NIK 16.02.2005
Note: See TracChangeset
for help on using the changeset viewer.