-
Notifications
You must be signed in to change notification settings - Fork 632
Change grib2 packing from JPEG to Complex #1496
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
Change grib2 packing from JPEG to Complex #1496
Conversation
Change packing from jpeg to complex
|
@ukmo-kitstokes - Just wanted to check in with you to see if you use this routine or not. |
|
Regression tests and matrix comparisons have been completed on Ursa-Intel. The differences observed in .grb2 and gribfile outputs are expected and directly attributable to the fix introduced in this PR. No unexpected differences were identified. Expected differences: Changes due to this PR: |
|
@JessicaMeixner-NOAA Will merge after receiving feedback from @ukmo-kitstokes |
|
@ukmo-kitstokes - I think you said you did not use this routine, but just wanted to double check. |
|
Apologies for the slow reply. I've just checked and it doesn't look like we use this routine in our operational wave workflow, but there is a reference to it in our coupled suite. @ukmo-juan-castillo can you check whether the above would have any impact on the coupled suite please? |
|
If it would, we can use the NCO switch to have our option we want and leave others as they are. That being said - this is being done on our end because it makes our grib2 files smaller, which might also be a welcomed update for you. |
|
I confirm that the changes will not affect our current coupled configurations, as we do not use the ww3_grib executable. On the other hand, this looks like a useful change to have. |
Thanks for checking @ukmo-juan-castillo ! |
Change packing from jpeg to complex
Pull Request Summary
This PR will change the grib2 packing in order to reduce file sizes and resolves warning issue #923
Description
The issue was originally brought up in 2023 with the GLWU implementation. When grib2 commands were executed a warning would show up that "jpeg encode/deocde may differ from WMO standard". The solution that was suggested was changing the grib2 packing in the WW3 code directly.
Issue(s) addressed
Commit Message
Update grib2 outputs to have complex packing
Check list
Testing