mllam / neural-lam

Research Software for Neural Weather Prediction for Limited Area Modeling
https://join.slack.com/t/ml-lam/shared_invite/zt-2t112zvm8-Vt6aBvhX7nYa6Kbj_LkCBQ
MIT License
122 stars 48 forks source link

GRIB 2 Output #42

Closed clechartre closed 6 months ago

clechartre commented 6 months ago

Purpose

Outputting the inference results as GRIB format. This integrates the functionality of transforming the .npy array that is originally produced into a GRIB from a template.

Code changes:

Checklist

Before submitting this PR, please make sure:

Review

For the review process follow the guidelines at Checklist

joeloskarsson commented 6 months ago

I think this might require a bit more discussion before implementing in main. I agree that the numpy format that example forecasts are output to is not optimal. My view would be instead go to xarray+zarr, to keep to the same format as the input data. Then you could convert that to GRIB if you would like, but that would be the job of another tool outside the scope of this repo.