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

Mean radiation fluxes contain NaNs #124

Open
Arcomano1234 opened this issue Feb 26, 2024 · 1 comment
Open

Mean radiation fluxes contain NaNs #124

Arcomano1234 opened this issue Feb 26, 2024 · 1 comment

Comments

@Arcomano1234
Copy link

It seems that the mean radiation fluxes (e.g., mean_top_net_short_wave_radiation_flux , mean_surface_net_long_wave_radiation_flux, etc) are completely NaNs (at least for the select years I have checked).

import xarray as xr

#Using 1959-2023_01_10-wb13-6h-1440x721_with_derived_variables.zarr
ds = xr.open_zarr('gs://weatherbench2/datasets/era5/1959-2023_01_10-wb13-6h-1440x721_with_derived_variables.zarr')

#Printing out a random date
ds.sel(time='1990-01-01-06')['mean_surface_net_long_wave_radiation_flux'].values

#Returns
#array([[nan, nan, nan, ..., nan, nan, nan],
#       [nan, nan, nan, ..., nan, nan, nan],
#       [nan, nan, nan, ..., nan, nan, nan],
#       ...,
#       [nan, nan, nan, ..., nan, nan, nan],
#       [nan, nan, nan, ..., nan, nan, nan],
#       [nan, nan, nan, ..., nan, nan, nan]], dtype=float32)
 

The variables that I have checked that are NaNs are mean_top_net_short_wave_radiation_flux , mean_surface_net_long_wave_radiation_flux, mean_surface_net_short_wave_radiation_flux, mean_top_downward_short_wave_radiation_flux, and mean_top_net_long_wave_radiation_flux.

@Arcomano1234
Copy link
Author

For those who are interested in these variables, I was able to get them from https://github.com/google-research/arco-era5/ on the same grid as WB2 (I believe).

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