paths — utilities around GRIB paths

Contains utilities around GRIB paths.


functions

epygram.extra.griberies.paths.complete_grib_paths(rootdir, reset=False)[source]

Complete ECCODES_SAMPLES_PATH and ECCODES_DEFINITION_PATH according to rootdir installation path of ECCODES.

Parameters:
  • rootdir – the directory in which is installed the API

  • reset – ignore predefined values of the variables

Reconstructed path are $rootdir$/share/eccodes/samples and $rootdir$/share/eccodes/definitions

epygram.extra.griberies.paths.complete_grib_samples_paths(rootdir, reset=False)[source]

Complete ECCODES_SAMPLES_PATH according to rootdir installation path of ECCODES.

Parameters:
  • rootdir – the directory in which is installed the API

  • reset – ignore predefined values of the variables

Reconstructed path is $rootdir$/share/eccodes/samples

epygram.extra.griberies.paths.complete_grib_definition_paths(rootdir, reset=False)[source]

Complete ECCODES_DEFINITION_PATH according to rootdir installation path of ECCODES.

Parameters:
  • rootdir – the directory in which is installed the API

  • reset – ignore predefined values of the variables

Reconstructed path are $rootdir$/share/eccodes/definitions

epygram.extra.griberies.paths.get_samples_paths()[source]

Get the environment-variable-set path to samples

epygram.extra.griberies.paths.get_definition_paths()[source]

Get the environment-variable-set path to definitions