mllam / neural-lam

Neural Weather Prediction for Limited Area Modeling
MIT License
64 stars 24 forks source link

GRIB 2 Output #42

Closed clechartre closed 4 weeks ago

clechartre commented 1 month 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 1 month 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.