Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lacking data when downloading with cdsapi #147

@heiyuxiaokai

Description

@heiyuxiaokai

What happened?

I get wrong data shape when downloading from cdsapi compared with downloading from website.
here these shapes:

cdsapi: (721, 1440, 343)
website: (721, 1440, 366)

What are the steps to reproduce the bug?

When I change the request paramters, data shape varies. Here are the paramters:

  • get shape with (721, 1440, 366)
    request = { "product_type": "reanalysis", "daily_statistic": "daily_mean", "variable": "Surface_pressure", "time_zone": "utc+00:00", "year": ["2020"], "month": ['01','02',"03","04","05","06","07","08","09","10","11","12"], "day": ["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29" "30","31"], "format":"netcdf" "frequency" :"1_hourly" }

  • get shape with (721, 1440, 343)
    request = { "product_type": "reanalysis", "daily_statistic": "daily_mean", "variable": "Surface_pressure", "time_zone": "utc+00:00", "year": ["2020"], "month": ['01','02',"03","04","05","06","07","08","09","10","11","12"], "day": ["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29" "30","31"], "format":"netcdf" }

It seems frequency mattering. But I am comfused how frequency works.

Version

0.7.6

Platform (OS and architecture)

windows 11

Relevant log output

Accompanying data

No response

Organisation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions