Corrupted nc files from cdsapi for reanalysis

Hi,
I cannot open the downloaded .nc files. I want to pull the following variables:

‘variable’: [‘100m_u_component_of_wind’, ‘100m_v_component_of_wind’, ‘10m_u_component_of_wind’, ‘10m_v_component_of_wind’, ‘2m_temperature’, ‘total_precipitation’]

It does not work for different locations / times. The download form requires “Pressure level” as input. Do I understand correctly that one cannot set the height to 100m/ 10m anymore?

1 Like

I am encountering a similar trouble. When I obtained nc files by the same script last November, they were no problem. Pressure-level files are fine.

As a test, I downloaded a one-month hourly file containing “u10, v10, t2m, d2m, ap, tp, ssrd, strd” (same as CDSAPI script) directly from the website. The downloaded zip file contains two nc files which are “readable” by Python. One file contains “u10, v10, t2m, d2m, ap”, and another contains “tp, ssrd, strd”. The latter variables are of “FLUX”.

As further test, I run two CDSAPI scripts to get “u10, v10, t2m, d2m, ap” and “tp, ssrd, strd” independently, and found these nc files are fine (readable by Python).

I appreciate it if ECMWF fix this problem. But you can get readable files by separating flux variables and others.