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

Evaluate Persistence does not work #178

Open
bar35643 opened this issue Aug 11, 2024 · 0 comments
Open

Evaluate Persistence does not work #178

bar35643 opened this issue Aug 11, 2024 · 0 comments

Comments

@bar35643
Copy link

I got errors occurring if tried to evaluate persistence with the given script:

  • by_init=True -> AttributeError: 'DataArray' object has no attribute 'time'
  • by_init=False -> KeyError: "not all values found in index 'time'"

Also the docs do not describe how to fix it either how the options has to be set.
Is there an easy workaround to solve it?
Thank you in Advance.

Command:
python evaluate.py --forecast_path=gs://weatherbench2/datasets/hres/2016-2022-0012-64x32_equiangular_conservative.zarr --obs_path=gs://weatherbench2/datasets/era5/1959-2022-6h-64x32_equiangular_conservative.zarr --climatology_path=gs://weatherbench2/datasets/era5-hourly-climatology/1990-2019_6h_64x32_equiangular_conservative.zarr --output_dir=./tmp/ --output_file_prefix=persistence_ --regions=global --eval_configs=deterministic --evaluate_climatology=False --evaluate_persistence=True --time_start=2020-01-01 --time_stop=2020-12-31 --by_init=True --variables=geopotential,temperature,u_component_of_wind,v_component_of_wind,specific_humidity,2m_temperature,10m_u_component_of_wind,10m_v_component_of_wind,mean_sea_level_pressure

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