wmo-im / GRIB2

GRIB2
MIT License
22 stars 9 forks source link

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

Closed manfredsc closed 1 year ago

manfredsc commented 2 years ago

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, schwarb@meteodat.ch

amilan17 commented 2 years ago

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

amilan17 commented 2 years ago

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

@sebvi looked at it. @amilan17 create a branch

amilan17 commented 1 year ago

https://github.com/wmo-im/CCT/wiki/Teleconference-1-and-2.11.2022 notes:

@amilan17 will work on

sebvi commented 1 year ago

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

sebvi commented 1 year ago

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

amilan17 commented 1 year ago

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

branch will be updated asap

amilan17 commented 1 year ago

change made in this branch: https://github.com/wmo-im/GRIB2/tree/170-new-fire-parameters

sebvi commented 1 year ago

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 commented 1 year ago

@sebvi yes, if you have the time.

amilan17 commented 1 year ago

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

ready for FT