Skip to content

Retrieving ECMWF windspeed (errors only after midday) #322

@tjor

Description

@tjor

Hello HyperCP team,

I remember last meeting we discussed errors retrieving windspeeds from ECMWF. However, we were uncertain why this was only occurring some of the time.

When do the sorad testing, I noticed that the request error bellow only occurs for retrieving windspeeds from 12 UTC onwards each day (i.e. it appears to works fine for AM data but not PM data).

400 Client Error: Bad Request for url: https://ads.atmosphere.copernicus.eu/api/retrieve/v1/processes/cams-global-atmospheric-composition-forecasts/execution
invalid request
Request has not produced a valid combination of values, please check your selection.
{'type': 'forecast', 'variable': ['10m_u_component_of_wind', '10m_v_component_of_wind', 'total_aerosol_optical_depth_550nm'], 'date': '2023-10-10/2023-10-10', 'area': [43.2, -3.2, 43.2, -3.2], 'time': '01:00', 'leadtime_hour': '0'}

I haven't had time do dig into this fully, but I suspect the issue lies with how time fields are defined within CAMS_download_ensembles before being passed to the api

Cheers
Tom

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