Output grib files - #149
Conversation
|
Thank you, @osmundi prospector has some complaints, like: To run prospector, use Can you also supply a test for outputting to grib in the form of a new tox test, please? |
|
@osmundi Will you let me know when this is ready for review and merge? |
|
Tried adding this to the tox test "inference_CI" like this:
Unfortunately that fails with: Can you check what's required to get it working? Perhaps a new separate tox test is required. |
|
Now the full test suite should be working. |
|
I have little knowledge of grib, but trying to check if the file is valid I am able to list, but not "get data": Is this expected with the test data? |
|
I'll check it out. |
Seems OK now. Shall I merge or do you have more work to do? |
|
Sure, I dont have anything else for now. I'll make new PR if we are going to add some new functionality to it. |
|
@osmundi Can you merge / rebase main into this branch so it's up to date (with metno:main), and then check that everything works on your end? I hope this won't be too painful. We have merged functionality to run ensemble models now, and as far as I can tell that is not supported in the grib output at the moment. Up to you if we fix that now or in a later PR, but we should probably throw an error if someone tries to run an ensemble model with grib output if it doesn't work. |
Separate geometry to a separate function Allow passing of metadata from yaml to writer Other metadata corrections
|
Rebasing done and the full test suite is at least ok with tox. |
havardhhaugen
left a comment
There was a problem hiding this comment.
Looks good now, thanks for the contribution! Will set up a separate issue / PR to fix the issue with shared variables and ensemble members.
Possibility to write grib files from predictions.
NOTE: The lat/lon of first grid point are hard coded to MEPS domain currently