Activity log for bug #1425708

Date Who What changed Old value New value Message
2015-02-25 21:42:10 Yves Pelletier bug added bug
2015-02-26 09:29:20 Yves Pelletier libecbufr: importance Undecided High
2015-02-26 09:33:01 Yves Pelletier description Background In a BUFR message, Octet 4 of Section 1 contains the BUFR Master Table number. This number is an overarching identifier for the content of Tables B and D, and NOT a version number. Currently, the BUFR regulations permit two legal values for this: zero and ten. (For Meteorology and Oceanography, respectively.) Libecbufr only handles the Meteorology Tables. The Oceanography Tables find little operational use, at least for the time being, and are not implemented by CMC. Bug Description Therefore, for libecbufr to proceed with decoding when the Master Table number is a non-zero value is not correct behaviour. Proposed Fix The software should check Octet 4 and proceed as follows: Value = 0 ; proceed with decoding Value = 10; issue message "Oceanography Tables are not supported by libecbufr" or in French "Les tables océanographiques ne sont pas prises en charge par libecbufr". Stop processing. Any other value: issue message "This Master Table number is not supported by WMO BUFR regulations. Check Octet 4 in Section 1." or in French "Ce numéro de table maîtresse n'est pas pris en charge par les règles d'encodage BUFR de l'OMM. Vérifiez l'octet 4 de la section 1." Stop processing. Background In a BUFR message, Octet 4 of Section 1 contains the BUFR Master Table number. This number is an overarching identifier for the content of Tables B and D, and NOT a version number. Currently, the BUFR regulations permit two legal values for this: zero and ten. (For Meteorology and Oceanography, respectively.) Libecbufr only handles the Meteorology Tables. The Oceanography Tables find little operational use, at least for the time being, and are not implemented by CMC. Bug Description Therefore, for libecbufr to proceed with decoding when the Master Table number is a non-zero value is not correct behaviour. Proposed Fix The software should check Octet 4 and proceed as follows: Value = 0 ; proceed with decoding Value = 10; issue message "Oceanography Tables are not supported by libecbufr" or in French "Les tables océanographiques ne sont pas prises en charge par libecbufr". Stop processing. Any other value: Output the value; issue message "This Master Table number is not supported by WMO BUFR regulations. Check Octet 4 in Section 1." or in French "Ce numéro de table maîtresse n'est pas pris en charge par les règles d'encodage BUFR de l'OMM. Vérifiez l'octet 4 de la section 1." Stop processing.
2015-02-26 21:15:31 vanh souvanlasy libecbufr: assignee vanh souvanlasy (vanh-souvanlasy)
2015-02-26 21:15:40 vanh souvanlasy libecbufr: status New In Progress
2015-02-26 21:37:33 vanh souvanlasy libecbufr: status In Progress Fix Committed