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

bufr_decoder and bufr_encoder omit orig sub centre #50

Open
vsouvan opened this issue Apr 19, 2020 · 1 comment
Open

bufr_decoder and bufr_encoder omit orig sub centre #50

vsouvan opened this issue Apr 19, 2020 · 1 comment

Comments

@vsouvan
Copy link
Collaborator

vsouvan commented Apr 19, 2020

For BUFR edition 4. The decoded text dump output of the bufr_decoder program does not contains the value of origine sub centre.
Also, the bufr_encoder does not read the value of origine sub centre in anyway. Thus, the value is lost if a BUFR message
is decoded and re-encoded. And the original and newly created BUFR file differs.


Imported from Launchpad using lp2gh.

@vsouvan
Copy link
Collaborator Author

vsouvan commented Apr 19, 2020

(by vanh-souvanlasy)
When BUFR edition is 4 or above, the string "ORIG_SUB_CENTRE=value" will be written to the dump file
by the bufr_decoder program. Otherwise, if will be omitted.
The bufr_encoder program will read its value even if is not edition 4, but it will be used only if is for encoding BUFR edition 4 or above.

@vsouvan vsouvan added this to the 0.8.1 milestone Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant