...
To set this environment variable properly we have first to find the definitions files directory used by ecCodes. For this we can use the tool codes_info which provides some configuration information about the library:
Code Block |
---|
$% codes_info ecCodes Version 2.016.0 Default definition files path is used: /usr/local/apps/eccodes/2.016.0/share/eccodes/definitions Definition files path can be changed by setting ECCODES_DEFINITION_PATH environment variable Default SAMPLES path is used: /usr/local/apps/eccodes/2.016.0/share/eccodes/samples SAMPLES path can be changed by setting ECCODES_SAMPLES_PATH environment variable |
...
Code Block |
---|
export ECCODES_DEFINITION_PATH=/home/u/definitions:/usr/local/apps/eccodes/2.016.0/share/eccodes/definitions |
...