Versions Compared

Key

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

...

Info

When the marsurl will be in production one can download the auxiliary data simply requesting them through a CDS API request:

Note: with the marsurl adaptor, the soil depth is now part of the auxiliary data.  Before it was downloaded as you would download a model output.Therefore you should remove the soil depth requested in 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


...