You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the previous version we could set options that are not always needed (like 'pressure_level' and 'leadtime_month') to "None". This was really helpful as it allowed us to build versatile functions. This no longer works for version 0.7.1.
cads_api_client.processing.ProcessingFailedError: The job has failed.
MARS has returned an error, please check your selection.
Request submitted to the MARS server:
[{'step': ['12', '24', '36', '48'], 'origin': 'ecmf', 'pressure_level': None, 'system': '51', 'param': '167', 'time': ['all'], 'type': ['fc'], 'class': ['c3'], 'expect': ['any'], 'expver': ['1'], 'method': ['1'], 'number': ['all'], 'stream': ['mmsf'], 'levtype': ['sfc'], 'database': 'ecmwf', 'date': ['2024-07-01']}]
Full error message:
mars - ERROR - 20240824.144957 - Ambiguous parameter: pressure_level could be PRODUCT or PROCESS
The job failed with: MarsRuntimeError
In the previous version, if we wanted to retrieve seasonal forecasts on pressure levels ('seasonal-original-pressure-levels') or monthly fields ('seasonal-monthly-single-levels'), we could use the same code and just change the "unused" parameters from None to whatever value.
What are the steps to reproduce the bug?
See examples above
Version
0.7.1
Platform (OS and architecture)
macOS 14.5
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered:
What happened?
With the previous version we could set options that are not always needed (like 'pressure_level' and 'leadtime_month') to "None". This was really helpful as it allowed us to build versatile functions. This no longer works for version 0.7.1.
As an example, this request works:
while if we add the 'pressure_level' option and set it None:
we get the error (only in the new version):
In the previous version, if we wanted to retrieve seasonal forecasts on pressure levels ('seasonal-original-pressure-levels') or monthly fields ('seasonal-monthly-single-levels'), we could use the same code and just change the "unused" parameters from None to whatever value.
What are the steps to reproduce the bug?
See examples above
Version
0.7.1
Platform (OS and architecture)
macOS 14.5
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: