Ignore:
Timestamp:
Aug 24, 2017, 7:07:08 PM (7 years ago)
Author:
Don Morton <Don.Morton@…>
Branches:
FPv9.3.2, grib2nc4_repair
Children:
857dfd0
Parents:
4c0504c
Message:

Enhancements to FPv9.3.2

Documented in Ticket #182 (as well as CTBTO ticket 357)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flexpart_code/grib2nc4/processmetfields.F90

    r496c607 r8624a75  
    1 subroutine processmetfields(ind,metdata_format)
     1subroutine processmetfields(ind,metdata_format,coordinates_provided, coordX, coordY)
     2
    23  !                       i     o
    34  !*****************************************************************************
     
    3738  integer :: dumpData
    3839  character(len=512):: fpfname, dumpPath, filename
     40  integer :: coordX, coordY
     41  logical :: coordinates_provided
    3942
    4043
     
    107110             call calcpar_ecmwf(memind(1),uuh,vvh,pvh)
    108111             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
    110117             call verttransform_nests(memind(1),uuhn,vvhn,wwhn,pvhn)
    111118             memtime(1)=wftime(ind)
     
    116123             call calcpar_gfs(memind(1),uuh,vvh,pvh)
    117124             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
    119130             call verttransform_nests(memind(1),uuhn,vvhn,wwhn,pvhn)
    120131             memtime(1)=wftime(ind)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG