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

GRIB2_Template_4_91_ProductDefinitionTemplate_en.csv: Possible off-by-one error in description #166

Closed
manfredsc opened this issue Sep 5, 2022 · 10 comments
Assignees
Milestone

Comments

@manfredsc
Copy link

Details

In entry (line) 40 of GRIB2_Template_4_91_ProductDefinitionTemplate_en.csv,
there seems to be an off-by-one error in the description (Contents_en).

The original description is
72-nn These octets are included only if n > 1, where nn = 72+12(n-1)+12(NC-1)
I think this should be
72-nn These octets are included only if n > 1, where nn = 71+12(n-1)+12(NC-1)
because if N==1 and NC==1, this results in nn=72, so the depicted octet range is 72-72, which is 1 byte wide,
which does not make sense.
The proposed change would also be in line with the following entry (line 41),
which has (72+12(NC-1))-(83+12(NC-1)) as OctetNo value, i.e. an odd end value.
With the original formulation, all end values would be supposed to have even values.

Requestor

Manfred Schwarb, [email protected]

@amilan17
Copy link
Member

https://github.com/wmo-im/CCT/wiki/Teleconference-22.9.2022: @sebvi will look at it, it's probably just a typo.

@marijanacrepulja marijanacrepulja added this to the FT2023-1 milestone Oct 3, 2022
@amilan17
Copy link
Member

amilan17 commented Oct 4, 2022

https://github.com/wmo-im/CCT/wiki/Teleconference-4.10.2022  meeting notes:

@sebvi looked at it. @amilan17 create a branch

@amilan17 amilan17 assigned amilan17 and unassigned sebvi Oct 14, 2022
@amilan17
Copy link
Member

amilan17 commented Nov 1, 2022

@sebvi
Copy link
Contributor

sebvi commented Nov 21, 2022

I can update the branch by the end of the week.

@sebvi
Copy link
Contributor

sebvi commented Dec 12, 2022

I have updated the branch in my local copy of the repo but I have troubled to upload it...

@amilan17
Copy link
Member

https://github.com/wmo-im/CCT/wiki/Teleconference-12-and-13.12.2022 notes:

branch will be updated asap

@amilan17
Copy link
Member

@sebvi
Copy link
Contributor

sebvi commented Dec 30, 2022

oups! it seems I accidentally added the changes in the wrong branch then ... @amilan17 : Do you want me to move the changes in this branch and then delete it from the other branch to avoid issues?

@amilan17
Copy link
Member

amilan17 commented Jan 9, 2023

@sebvi yes, if you have the time.

@amilan17
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants