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

219 new #307

Merged
merged 13 commits into from
Jan 31, 2025
Merged

219 new #307

merged 13 commits into from
Jan 31, 2025

Conversation

amilan17
Copy link
Member

@amilan17 amilan17 commented Jan 31, 2025

#219 - backfill octets, make sure .txt and .xml don't contain octetCount

antoinemerle and others added 11 commits January 14, 2025 11:50
as requested in :

- #219

>In GRIB2 Template definition files the octet number (from - to) for each entry in the GRIB section is given.
Most of the GRIB processing software packages need the length or number of octets for each entry, which has to be calculated from the specification of "OctetNo".
But with variables and repitition within some templates an automated calculation is sometimes not easy. (e.g. 37 + (ND-1)*4 + (NF-1)*4 -40 +(ND-1)*4 + (NF-1)*4)
Therefore, this is a proposal to add a column with the length of each entry in the GRIB2_Template files.
remove any keys not in 'fieldnames' to avoid ValueError
make the count to be computed when the limit is not fixed but variable
…or all templates. the script will be added in the issue #219
@amilan17 amilan17 merged commit ea4c75a into master Jan 31, 2025
@amilan17 amilan17 deleted the 219-NEW branch January 31, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional entry of length or number of octets in GRIB2_Template_ csv-files
3 participants