noritada / grib-rs

GRIB format parser for Rust
Apache License 2.0
57 stars 9 forks source link

Add support for more data in GFS files #11

Closed Quba1 closed 2 years ago

Quba1 commented 2 years ago

Motivation

Currently, the crate (particularly list_surfaces.rs example) shows only MSLP surface in NOAA GFS file, while the file actually contains much more data (geopotential, temperature, wind etc. on both isobaric and height levels).

I believe GFS data is probably one of the most commonly used in the world. Thus, it may make this crate useful for more users. Also, it contains many fields that are present also in data from other NWP models. So support for GFS data will bring a support for multiple other datasets.

Detailed Information on the Data

Data is available at this URL: https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.<date>/<run>/atmos/gfs.t<run>z.pgrb2.0p25.f<forecast_time>

There is also additional data in pgrb2b files, but they contain mostly data at additional levels, so supporting data from pgrb2 files will bring most of the full support of GFS data.

Additional Context

I am more than happy to help with achieveing the goal set by this issue, but I am not not yet familiar enough with this crate to know where to start. I wanted to create this issue to keep track of functionality I need.

I believe, it will be easier to resolve this issue by splitting it into several more specific issues (directly relating to the parts of code that need work). If you would like to create such issues, then I also will be interested in solving them.

Quba1 commented 2 years ago

Closing, because it seems that issue with reading the GFS files is caused by #13