Versions Compared

Key

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

...

Info


Warning
titleMARS url adaptor

Currently, we are developing a MARS URL adaptor. It is functioning but needs the review process on the content of the overview page. When the marsurl is made available in production, one can download the auxiliary data by simply requesting the data through a CDS API request:

Note: with the marsurl adaptor, the soil depth is now included as part of the auxiliary data.  Therefore you should remove the soil depth from the CDS API request above (forecast volumetric soil moisture and soil depth).


Code Block
languagepy
titleRetrieve auxiliary files
collapsetrue
import cdsapi

c = cdsapi.Client()

c.retrieve(
    'efas-forecast,
    {
        'format': 'netcdf',
        'variable': [
            'field_capacity', 'wilting_point', 'soil_depth'
        ],
        'soil_level': [
            '1', '2', '3',
        ],
    },
    'auxiliary.zip')


And then unzip the auxiliary.zip

Code Block
languagebash
themeEmacs
titleunzip
$ unzip auxiliary.zip

Archive:  auxiliary.zip
 extracting: thmax_1.nc
 extracting: thmin_1.nc
 extracting: thmax_2.nc
 extracting: thmin_2.nc
 extracting: thmax_3.nc
 extracting: thmin_3.nc


...