Content from
https://software.ecmwf.int/wiki/display/ECC/Frequently+Asked+Questions
Summary
Content by Label
-
Building on High Performance Computer systems - ecCodes FAQ — Some HPC batch systems have a different hardware architecture for their login (or frontend node) to the batch node, but the frontend compilation system is targeted at the batch nodes
-
Can I use my own GRIB/BUFR sample files - ecCodes GRIB and BUFR FAQ — You can add your own samples, either to the installation directory (if you have access) or by defining the environment variable
ECCODES_SAMPLES_PATH
. -
Creating your own local definitions - ecCodes GRIB FAQ — Local definitions are required when one needs to store information which is not part of the standard GRIB header. This might be local parameters or local definitions.
-
Failure setting key changeDecimalPrecision - ecCodes GRIB FAQ — If you issue the command "grib_set -s changeDecimalPrecision=1 spectral.grib output", you can get an error
-
For GRIB edition 1, why does the centre change when I set stepType - ecCodes GRIB FAQ — This happens for stepType of "max" and "min". Unfortunately edition 1 does not support maximum and minimum in its "Time Range Indicator" table (Table 5).
-
Getting an "relocation R_X86_64_32 against `.bss' cannot be used when making a shared object; recompile with -fPIC" - ecCodes FAQ — jasper library that has been linked statically is trying to be linked into a dynamic libgrib_api.so. Libraries linked to a dynamic library must use "relocatable" code, and normally static libraries aren't. Possible solutions
-
grib_compare: index based comparison - ecCodes GRIB FAQ — Suppose you have two large GRIB files and their messages are not in order, how do you compare them? One technique is to build index files from inputs and then compare those index files.
-
grib_compare: Is there an alternative to blocklisting keys - ecCodes GRIB FAQ — For example if you are interested in comparing the differences between the data values of two GRIB files, you can blocklist (exclude) certain keys which show up in the comparison
-
grib_filter/bufr_filter: Do I always need to write a rules file - ecCodes GRIB FAQ — You can read the filter rules directly from the standard input (stdin) by using the "-" (a single hyphen) instead of the rules file path.
-
grib_filter/bufr_filter: How can I check if a key exists (is defined) in a message - ecCodes GRIB FAQ — Easy peasy. Use the "defined" function which takes a single key name as argument. e.g.
-
grib_filter/bufr_filter: How do I control the format of array printing - ecCodes GRIB FAQ — One can add several 'modifiers' to a key in square brackets to control number of columns, separator string and format
-
-
grib_to_netcdf: skips Control Forecast when I convert Ensemble Forecast data - ecCodes GRIB FAQ — If you have a file with both Control and Perturbed forecasts, grib_to_netcdf will only convert the pf. Normally from 51 members in the GRIB file, only 50 appear in the netCDF.
-
-
grib_to_netcdf: Why do I get the error "Wrong number of fields... Try using the -T option" - ecCodes GRIB FAQ — You try to retrieve data from the ECMWF data archive in netCDF format but the retrieval fails with this message