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

A mechanism to what attributes in sections 3, 4, and 5 are mutable and which ones are required. #75

Open
Marston opened this issue May 19, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Marston
Copy link

Marston commented May 19, 2023

It would be beneficial to the community if there was a mechanism to inform a user as to what attributes are required to be populated. Sections 0 and 1 are easy because they are static, but 3, 4, and 5 are dynamic according to their template numbers. And even with section 5, some of the metadata, should not be edited by the user.

Let me think about an added feature re: this.

Originally posted by @EricEngle-NOAA in #66 (reply in thread)

@EricEngle-NOAA
Copy link
Collaborator

Saw your comment on the NCEPLIBS-ip CMAKE issue related to this one. This is a work in progress...and thinking out loud here...

Incorrect metadata for sections 3 and 5 would cause the most problems in terms of mapping/plotting and unpacking/packing data values, and with interpolation. Section 4 is product definition info, which could cause problems, but mainly just in terms what the data are.

@Marston
Copy link
Author

Marston commented Sep 26, 2023

@EricEngle-NOAA

I'm just using another model dataset, i.e. globally gridded data expressed on 0:360 longitude and the levels, when encoding 3D data is set a integers. I like your notebook that you created and I think an example where encoding a 3D array from scratch, not a copy from 1 grib file to another, is demoed would be a great gesture to the grib2io community :-)

@Marston
Copy link
Author

Marston commented Sep 26, 2023

@EricEngle-NOAA
We are still looking to leverage grib2io to write gribs in our system so there is still interest in your work.

@EricEngle-NOAA EricEngle-NOAA added the enhancement New feature or request label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants