Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(1) as per attached HIRLAM2UERRA document

Test files archived in marsscratch (access restricted to ECMWF users)

http://apps.ecmwf.int/mars-servers/marsscratch/?class=ur&expver=test&origin=eswi&stream=oper&type=an&year=2010&month=jan&levtype=sfc

Test files

HIRLAM GRIB1 test files can be found in goga{/tmp/marm/uerra/hirlam/grib1

surface parameters have names like [an/fc]-[levtype]-[level]-[param]-[shortName]-[ba/fp/sfx]-grib1

vertical level parameters have names like [an/fc]-[levtype]-[indicatorOfTypeOfLevel:l]-[param]-[shortName]-[ba/fp/sfx]-grib1

ba/fp/sfx means from which HIRLAM type of input files it comes from - our testing (conversion and archiving) is enough to verify for one of these types

Conversion script

The working (=messy) version script for HIRLAM2UERRA conversion and UERRA fields selection form HIRLAM files is:

goga: /tmp/marm/uerra/hirlam/work/doit.hirlam.sh

Basically for most parameters it uses below rules for grib_filter utility:

Code Block
set centre = 98; # swap to ecmf = hack needed at least for pl:71.253, 76.253, 58.253 but works generally..
set paramId = 235; # matching GRIB2 paramId from the table above
#set stepType = "accum"; # add it for accumulated params
set edition = 2;
set centre = 82; # eswi = HIRMAL Swedish origin
set productionStatusOfProcessedData = 9;
set tablesVersion = 16;
set stream = 'oper'; # oper/enda based on the type of the input file
set type = 'an'; # an/fc based on the type of the input file
#set scaleFactorOfFirstFixedSurface = MISSING; # must be added for some parameters where it is not done automatically (JIRA GRIB-981)
#set scaledValueOfFirstFixedSurface = MISSING; # must be added for some parameters where it is not done automatically (JIRA GRIB-981)
write "out.grib2";

TIGGE_CHECK for UERRA

link: GRIB2 encoding#UERRA-GRIB2checkingtool