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

Saving Iris Cubes containing GRIB-2 data is changing 'Fixed Surface' settings to inconsistent values. #338

Open
mgange659 opened this issue Jun 9, 2023 · 3 comments

Comments

@mgange659
Copy link

Octets 23-34 in Section 4 of GRIB-2 messages store settings relating to the vertical coordinates describing
the GRIB-2 data.

For GRIB-2 files loaded into a cube, iris.save makes these alterations before saving in a new file

Type of first fixed surface=6 (Maximum Wind Level) changed to Type of first fixed surface=1 (Ground)
Type of first fixed surface=7 (Tropopause) changed to Type of first fixed surface=1 (Ground)

and for all screen-level parameters at 1.5 metres:-
Scale Factor of first fixed surface=1 (101) changed to Scale Factor of first fixed surface=0 (100)
Scaled Value of first fixed surface=15 (1.5m) changed to Scaled Value of first fixed surface=2 (2m)

@trexfeathers
Copy link
Contributor

@SciTools/peloton: this is a known limitation due to our minimal implementation; good to have it recorded officially.

It is unclear when we will have resource to address this. Any information on priority / other context would be helpful for decision making (remembering that this a public repo!). Thanks 🙂

@mgange659
Copy link
Author

This issue is currently LOW priority. I am exploring possible options for creating re-gridded GRIB products from full sized MDDA GRIB-2 files so that older code can be decommissioned.

@pp-mo
Copy link
Member

pp-mo commented Mar 20, 2024

I think we can't expect iris-grib to preserve the scaling, but ideally it would always selectt a sensible one.
I think that links this to #205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants