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

NaN values in relative humidity and vertical velocity #168

Open
SauryChen opened this issue Jun 24, 2024 · 0 comments
Open

NaN values in relative humidity and vertical velocity #168

SauryChen opened this issue Jun 24, 2024 · 0 comments

Comments

@SauryChen
Copy link

Some of the variables downloaded from gs:https://weatherbench2/datasets/era5/1959-2023_01_10-6h-240x121_equiangular_with_poles_conservative.zarr contain NaN values. For example, relative_humidity_1992 and 2008, and vertical_velocity_1998. I have checked the data with both netCDF package and xarray package.

import xarray as xr
import netCDF4 as nc
data_dir = 'relative_humidity_1992.nc'
f = nc.Dataset(data_dir)
rh = np.array(f.variables['relative_humidity'])
# data = xr.open_dataset(data_dir)
# rh = data['relative_humidity'].values
rh_check = rh[744,:,:,:]

This issue is related with other two issues: #124 #161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant