Versions Compared

Key

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

...

Code Block
Singularity> python
Python 3.8.0 (default, Dec  9 2021, 17:53:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cdsapi
>>> c = cdsapi.Client()
>>> c.retrieve("reanalysis-era5-pressure-levels",
... {
... "variable": "temperature",
... "pressure_level": "1000",
... "product_type": "reanalysis",
... "year": "2008",
... "month": "01",
... "day": "01",
... "time": "12:00",
... "format": "grib"
... }, "download.grib")
2022-10-02 16:24:56,133 INFO Welcome to the CDS
2022-10-02 16:24:56,133 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-pressure-levels
2022-10-02 16:24:56,434 INFO Request is completed
2022-10-02 16:24:56,434 INFO Downloading https://download-0013-clone.copernicus-climate.eu/cache-compute-0013/cache/data6/adaptor.mars.internal-1664160723.1706429-22753-13-aed26f41-fde5-4c0a-9b64-c5d9312e0966.grib to download.grib (2M)
2022-10-02 16:25:02,285 INFO Download rate 346.6K/s                                                             
Result(content_length=2076600,content_type=application/x-grib,location=https://download-0013-clone.copernicus-climate.eu/cache-compute-0013/cache/data6/adaptor.mars.internal-1664160723.1706429-22753-13-aed26f41-fde5-4c0a-9b64-c5d9312e0966.grib)
>>> exit

To exit the container

Code Block
Singularity> exit
exit
shaima0d@nid00008:/scratch/shaima0d/tickets/43489> exit
exit
shaima0d@gateway1:/scratch/shaima0d/tickets/43489> exit
exit
salloc: Relinquishing job allocation 27956089
salloc: Job allocation 27956089 has been revoked.

Please feel free to comment on the page.

...