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

How to get another days .nc file from EC? #117

Open
Hank0626 opened this issue Dec 26, 2024 · 3 comments
Open

How to get another days .nc file from EC? #117

Hank0626 opened this issue Dec 26, 2024 · 3 comments

Comments

@Hank0626
Copy link

Screenshot 2024-12-26 at 16 49 54

I would like to know how to preprocess the data from zarr file downloaded from WenterBench2.

@Hank0626 Hank0626 changed the title How to get another .nc file from EC? How to get another days .nc file from EC? Dec 26, 2024
@andrewlkd
Copy link
Collaborator

Indeed you may wish to use relevant datasets listed listed at https://weatherbench2.readthedocs.io/en/latest/data-guide.html

As mentioned in #112 (comment), 1 degree datasets are just the 0.25 degree data subsampled to 1 every 4 points along each of the spatial axes.

As specified in relevant demo notebooks, some transformations were done from the base datasets:

GenCast:

  • We accumulated precipitation over 12 hours instead of the default 1 hour.
  • For HRES-fc0 sea surface temperature, we assigned NaNs to grid cells in which sea surface temperature was NaN in the ERA5 dataset (this remains fixed at all times).

GraphCast:

  • We accumulated precipitation over 6 hours instead of the default 1 hour.
  • For HRES data, each time step corresponds to the HRES forecast at leadtime 0, essentially providing an "initialisation" from HRES. See HRES-fc0 in the GraphCast paper for further description. Note that a 6h accumulation of precipitation is not available from HRES, so our model taking HRES inputs does not depend on precipitation. However, because our models predict precipitation, we include the ERA5 precipitation in the example data so it can serve as an illustrative example of ground truth.
  • We include ERA5 toa_incident_solar_radiation in the data. Our model uses the radiation at -6h, 0h and +6h as a forcing term for each 1-step prediction. If the radiation is missing from the data (e.g. in an operational setting), it will be computed using a custom implementation that produces values similar to those in ERA5.

@v-weh
Copy link

v-weh commented Jan 10, 2025

@andrewlkd Would like to ask if precipitation inputs for Gencast will be set to NaN as in the case for Graphcast? or do both models actually take in different inputs?

@andrewlkd
Copy link
Collaborator

GenCast doesn't take precipitation as input. It is only a target variable.

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

3 participants