Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone download method does not correctly handle filenames #86

Open
EddyCMWF opened this issue Oct 26, 2023 · 0 comments
Open

standalone download method does not correctly handle filenames #86

EddyCMWF opened this issue Oct 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@EddyCMWF
Copy link
Collaborator

EddyCMWF commented Oct 26, 2023

What happened?

As reported here: https://jira.ecmwf.int/browse/CUS-13245
The filename is treated as a list when provided to the client.download method

What are the steps to reproduce the bug?

result = c.service(
    "tool.toolbox.orchestrator.workflow",
     params={ 
        "realm": "user-apps",
        "project": "app-c3s-daily-era5-statistics",
        "version": "master",
        "kwargs": {
                "dataset": "reanalysis-era5-single-levels",
                "product_type": "reanalysis",
                "variable": "2m_temperature",
                "statistic": "daily_mean",
                "year": "2020",
                "month": "01",
                "time_zone": "UTC+00:00",
                "frequency": "1-hourly",
                "grid": "0.25/0.25",
                "area":  {"lat": [-90, 90], "lon": [-180, 180]}
          },
          "workflow_name": "application"
})
c.download(result,["test.nc"])

Could also be a normal retrieve request

Version

latest

Platform (OS and architecture)

linux, macos

Relevant log output

No response

Accompanying data

No response

Organisation

No response

@EddyCMWF EddyCMWF added the bug Something isn't working label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant