Skip to content

Download CMEMS data issues #1

Description

@rousseletL

One of the most frequent issues causing SPASSO to stop running is the satellite data download not working. The SPASSO run is usually interrupted by this kind of error:

	## Downloading Copernicus_PHY
INFO - 2025-01-20T10:45:59Z - Dataset version was not specified, the latest one was selected: "202311"
INFO - 2025-01-20T10:45:59Z - Dataset part was not specified, the first one was selected: "default"
INFO - 2025-01-20T10:45:59Z - Service was not specified, the default one was selected: "original-files"
INFO - 2025-01-20T10:45:59Z - Downloading using service original-files...
INFO - 2025-01-20T10:46:06Z - No data to download
Traceback (most recent call last):
  File "/home/SPASSODEV/spasso2.0/src/Spasso.py", line 105, in <module>
    if (spasso() == 0):
  File "/home/SPASSODEV/spasso2.0/src/Spasso.py", line 33, in spasso
    eval('Fields.'+nprod+'.download()')
  File "<string>", line 1, in <module>
  File "/home/SPASSODEV/spasso2.0/src/Fields.py", line 227, in download
    exf,ff = Library.ExistingFile(get_files[0],ddate[nf])
IndexError: list index out of range

In the following, please find a check list to fix this error:

  • Verify data availability on the CMEMS: the most common issue is that the data was not yet delivered on CMEMS server when trying to download.
  • Check product id on CMEMS: the Copernicus Marine team "likes" changing the name of product id or add new products with new names.

Most of the time to fix the issue, one just need to:

  • Change the product id name in the config_YOURCRUISE.ini file (for example phy_id = ) to match the one on Copernicus server:

Image

  • Change the date for the last available data in the config_YOURCRUISE.ini file by modifying the product date (for example phy_date = 0_ago to phy_date = 2_ago).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions