Changeset 8624a75 in flexpart.git for flexpart_code/grib2nc4/processmetfields.F90
- Timestamp:
- Aug 24, 2017, 7:07:08 PM (7 years ago)
- Branches:
- FPv9.3.2, grib2nc4_repair
- Children:
- 857dfd0
- Parents:
- 4c0504c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
flexpart_code/grib2nc4/processmetfields.F90
r496c607 r8624a75 1 subroutine processmetfields(ind,metdata_format) 1 subroutine processmetfields(ind,metdata_format,coordinates_provided, coordX, coordY) 2 2 3 ! i o 3 4 !***************************************************************************** … … 37 38 integer :: dumpData 38 39 character(len=512):: fpfname, dumpPath, filename 40 integer :: coordX, coordY 41 logical :: coordinates_provided 39 42 40 43 … … 107 110 call calcpar_ecmwf(memind(1),uuh,vvh,pvh) 108 111 call calcpar_nests(memind(1),uuhn,vvhn,pvhn,metdata_format) 109 call verttransform_ecmwf(memind(1),uuh,vvh,wwh,pvh) 112 if ( coordinates_provided ) then 113 call verttransform_grib2nc4_ecmwf(memind(1),uuh,vvh,wwh,pvh,coordX,coordY) 114 else 115 call verttransform_grib2nc4_ecmwf(memind(1),uuh,vvh,wwh,pvh,-1,-1) 116 endif 110 117 call verttransform_nests(memind(1),uuhn,vvhn,wwhn,pvhn) 111 118 memtime(1)=wftime(ind) … … 116 123 call calcpar_gfs(memind(1),uuh,vvh,pvh) 117 124 call calcpar_nests(memind(1),uuhn,vvhn,pvhn,metdata_format) 118 call verttransform_gfs(memind(1),uuh,vvh,wwh,pvh) 125 if ( coordinates_provided ) then 126 call verttransform_grib2nc4_gfs(memind(1),uuh,vvh,wwh,pvh,coordX,coordY) 127 else 128 call verttransform_grib2nc4_gfs(memind(1),uuh,vvh,wwh,pvh,-1,-1) 129 endif 119 130 call verttransform_nests(memind(1),uuhn,vvhn,wwhn,pvhn) 120 131 memtime(1)=wftime(ind)
Note: See TracChangeset
for help on using the changeset viewer.