Versions Compared

Key

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

...

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 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
            write "out.grib2";