Versions Compared

Key

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

...

Info

One can download the auxiliary data by simplying requesting the data through a CDS API request.


Note that area sub-selection is not currently possible for the auxiliary (or time-invariant) data. Therefore any 'area' included in the CDS API request will be ignored and the data downloaded will cover the full EFAS domain.

Code Block
languagepy
titleRetrieving a single auxiliary file
collapsetrue
import cdsapi

c = cdsapi.Client()

c.retrieve(
    'efas-forecast',
    {
        'variable': 'upstream_area_v4_0',
        'model_levels': 'surface_level',
        'format': 'netcdf',
        'area': [
            72, -35, 24,
            74,
        ],
    },
    'download.nc')


Code Block
languagepy
titleRetrieve multiple auxiliary files
collapsetrue
import cdsapi

c = cdsapi.Client()

c.retrieve(
    'efas-forecast',
    {
        'variable': ['soil_depth_v4_0','field_capacity_v4_0','wilting_point_v4_0'],
        'model_levels': 'soil_levels',
        'soil_level': '2',
        'format': 'netcdf',
        'area': [
            72, -35, 24,
            74,
        ],
    },
    'auxiliary.zip')
Note that area sub-selection is not currently possible for the auxiliary (or time-invariant
)
data. Therefore any 'area' included in the CDS API request will be ignored and the data downloaded will cover the full EFAS domain.

And then unzip the auxiliary.zip

Code Block
languagebash
themeEmacs
titleunzip
$ unzip auxiliary.zip

Archive:  auxiliary.zip
 extracting: sd_2_4.0.nc
 extracting: thmax_2_4.0.nc
 extracting: thmin_2_4.0.nc


...