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

resolve index file madness? #736

Open
edwardhartnett opened this issue Jul 25, 2024 · 1 comment
Open

resolve index file madness? #736

edwardhartnett opened this issue Jul 25, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@edwardhartnett
Copy link
Contributor

wgrib2 has an index format: https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/grb2_mk_inv.html

NCEPLIBS-g2/g2c has an index format: https://noaa-emc.github.io/NCEPLIBS-g2/g2index_8F90.html#ae24e3633f74e1d49d787fa19b07f716c

After doing a bunch of work on that I saw the netCDF-Java solution, which was just to take the whole GRIB2 file except the data sections. This has the advantage of preserving all metadata, even metadata which is newly developed by WMO. In other words, it's a forwards-compatible solution, which is very attractive. And it means the same code can be used to read the index file as the data file, which is nice.

@webisu what does your index file contain? Is it documented anywhere?

@webisu
Copy link

webisu commented Jul 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

2 participants