-
Notifications
You must be signed in to change notification settings - Fork 50
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
it seems the climatology file in the evaluation.ipynb quick setup guide seems to be missing #214
Comments
when i replace it with “with_poles”, the file can be read. But it went wrong when I run the evaluation: evaluate_in_memory(data_config, eval_configs) ValueError Traceback (most recent call last) 9 frames /usr/local/lib/python3.10/dist-packages/weatherbench2/evaluation.py in _evaluate_all_metrics(eval_name, eval_config, data_config, skipna) /usr/local/lib/python3.10/dist-packages/weatherbench2/evaluation.py in _metric_and_region_loop(forecast, truth, eval_config, skipna, compute_chunk) /usr/local/lib/python3.10/dist-packages/weatherbench2/metrics.py in compute(self, forecast, truth, region, skipna) /usr/local/lib/python3.10/dist-packages/weatherbench2/metrics.py in compute_chunk(self, forecast, truth, region, skipna) /usr/local/lib/python3.10/dist-packages/weatherbench2/metrics.py in _spatial_average(dataset, region, skipna) /usr/local/lib/python3.10/dist-packages/weatherbench2/metrics.py in get_lat_weights(ds) /usr/local/lib/python3.10/dist-packages/xarray/core/dataarray.py in copy(self, deep, data) /usr/local/lib/python3.10/dist-packages/xarray/core/dataarray.py in _copy(self, deep, data, memo) /usr/local/lib/python3.10/dist-packages/xarray/core/variable.py in _copy(self, deep, data, memo) ValueError: Data shape (1,) must match shape of object (0,) |
Thank you for noticing. Yes, the 64x32 files in the bucket are wrong (they should be without poles). I just started the upload for the correct files but it might take a few hours. I will then also delete the 64x32 files with poles. Please let me know if it works now. |
Thanks for fixing that. TypeError Traceback (most recent call last) 11 frames /usr/local/lib/python3.10/dist-packages/apache_beam/coders/init.py in /usr/local/lib/python3.10/dist-packages/apache_beam/coders/coders.py in /usr/local/lib/python3.10/dist-packages/apache_beam/coders/coder_impl.cpython-310-x86_64-linux-gnu.so in init apache_beam.coders.coder_impl() /usr/local/lib/python3.10/dist-packages/apache_beam/typehints/init.py in /usr/local/lib/python3.10/dist-packages/apache_beam/typehints/pandas_type_compatibility.py in /usr/local/lib/python3.10/dist-packages/apache_beam/typehints/pandas_type_compatibility.py in (.0) /usr/local/lib/python3.10/dist-packages/pandas/core/series.py in init(self, data, index, dtype, name, copy, fastpath) /usr/local/lib/python3.10/dist-packages/pandas/core/construction.py in sanitize_array(data, index, dtype, copy, allow_2d) /usr/local/lib/python3.10/dist-packages/pandas/core/arrays/masked.py in _from_sequence(cls, scalars, dtype, copy) /usr/local/lib/python3.10/dist-packages/pandas/core/arrays/boolean.py in _coerce_to_array(cls, value, dtype, copy) /usr/local/lib/python3.10/dist-packages/pandas/core/arrays/boolean.py in coerce_to_array(values, mask, copy) TypeError: Need to pass bool-like values |
FileNotFoundError: No such file or directory: 'gs://weatherbench2/datasets/era5-hourly-climatology/1990-2019_6h_64x32_equiangular_conservative.zarr'
The text was updated successfully, but these errors were encountered: