Closed backeb closed 1 year ago
Resolved with
check_file = Path('/data/tmp/cmems_'+str(var)+'_'+str(day)+'.nc')
while not check_file.is_file():
subprocess.run(['python', '-m', 'motuclient', ...
@backeb Nice solution! I forgot to communicate that I became a member of the Copernicus Champion User Group (Deltares representative). This allows us to get our problems fixed quicker but I would also like us to communicate our C-SCALE tests and feedback to CMEMS in a meeting. Justto keep it in mind ;)
need to fix this again...
the error is here: while not check_file.is_file() or run < max_runs:
always returns True
Referring to https://github.com/c-scale-community/use-case-hisea/blob/main/scripts/download/download_cmems_physics.py
motuclient sometimes returns the below error
[ERROR] 010-1 : Sorry, the system is currently not available. Please try again later. If the error persists, please contact the service desk.
As a result the file that it was trying to download is skipped.cc @lorincmeszaros