Skip to content

Conversation

@rhattersley
Copy link
Member

No description provided.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB. There's a bug in the ECMWF GRIB API which causes it to interpret this 32-bit float as an integer ... so this will probably give rubbish results for a genuine message.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably simplest to check the type of scale and if it's an int do the reverse of the float32->int32 workaround in #1480.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the check for an int in a second commit.

@rhattersley rhattersley force-pushed the grib2-gdt12 branch 2 times, most recently from 66645cf to 01c3880 Compare December 3, 2014 10:47
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error or warning?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took it that our philosophy with the new GRIB loader is to explode if we don't know what to do, rather than give ambiguous results.

esc24 added a commit that referenced this pull request Dec 4, 2014
Add load support for GRIB2 GDT 12.
@esc24 esc24 merged commit 4b38568 into SciTools:master Dec 4, 2014
@rhattersley rhattersley deleted the grib2-gdt12 branch April 28, 2016 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants