-
Notifications
You must be signed in to change notification settings - Fork 9
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
Comments
https://github.com/wmo-im/CCT/wiki/Teleconference-22.9.2022: @sebvi will look at it, it's probably just a typo. |
https://github.com/wmo-im/CCT/wiki/Teleconference-1-and-2.11.2022 notes: @amilan17 will work on |
I can update the branch by the end of the week. |
I have updated the branch in my local copy of the repo but I have troubled to upload it... |
https://github.com/wmo-im/CCT/wiki/Teleconference-12-and-13.12.2022 notes: branch will be updated asap |
change made in this branch: https://github.com/wmo-im/GRIB2/tree/170-new-fire-parameters |
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? |
@sebvi yes, if you have the time. |
https://github.com/wmo-im/CCT/wiki/Teleconference-10.01.2023 notes: ready for FT |
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]
The text was updated successfully, but these errors were encountered: