Problem
NetCDF files from reanalysis-era5-single-levels
are corrupted when mean_total_precipitation_rate
is downloaded with other variables. Files cannot be opened with XArray, ncview, etc.
Reproduction
Dataset: reanalysis-era5-single-levels
Variables: 10m_u_component_of_wind
, 10m_v_component_of_wind
, 2m_dewpoint_temperature
, 2m_temperature
, mean_sea_level_pressure
, mean_total_precipitation_rate
, total_cloud_cover
Works:
mean_total_precipitation_rate
alone
Works: Other variables without
mean_total_precipitation_rate
Fails:
mean_total_precipitation_rate
combined with any other variables
Sample Request
request = {
'product_type': ['reanalysis'],
'variable': ['10m_u_component_of_wind', '2m_temperature', 'mean_total_precipitation_rate'],
'year': ['2007'], 'month': ['01'], 'day': ['01'], 'time': ['00:00'],
'data_format': 'netcdf', 'area': [58, -6, 46, 11]
}
Workaround
Download mean_total_precipitation_rate
separately and merge manually.