Versions Compared

Key

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

...

Checking parameter set up

List all defined limits

python $BIN/grib_check.py -l
165   [10 metre U wind component]   [min <-150, -0.1> max <0.1, 150>] (default)  
                                   [min <-150, -0.1> max <0.1, 150>] (class:ti, model:lam, suiteName:mogreps-mo-eua)  
166   [10 metre V wind component]   [min <-100, -1> max <0.5, 100>] (default)  
                                   [min <-100, 10> max <-10, 100>] (class:ti, model:lam, suiteName:mogreps-mo-eua)  
260260   [10 metre wind direction]   [min <0, 1> max <359, 360.1>] (default)

...

See allowed limits for parameters with paramId containing 141

...

The set up file contains mostly a python dictionary with the allowed ranges for parameters. These ranges  can be  easily tuned and can be specific for specific selection of metadata if needed (e.g. MARS class, level type etc).

Please be aware that this tool is not part of ecCodes any package yet as  is still under development. For example some code refactoring or performance optimisation is might be needed.