MetOffice / aws-earth-examples

Example code of how to freely use Met Office's weather datasets through Earth on AWS.
https://metoffice.gov.uk
Other
43 stars 15 forks source link

GRIB files #17

Open JulianAdamson opened 4 years ago

JulianAdamson commented 4 years ago

Hi Guys I'm an offshore sailor training for the Mini Transat hopefully next year and I use GRIB files a lot for weather routing. I realise this probably isn't a new question but I was wondering whether its possible to convert the Netcdf format into GRIB2 so I would be able to use the MO models in my routings? Thanks Julian

armeniopinto commented 4 years ago

Hello Julian! Good to know that you're interested in our data :).

If you develop in Python, you can use Iris to load the cube into memory and then you can save it to GRIB. In Java, you can achieve something similar with the Unidata library.

I am not aware of any standalone tool that is able to do it, but you can easily build one with any of the two libraries I referenced. Let us know how you progress please, we're interested in your use case!

armeniopinto commented 4 years ago

Hello Julian, are you okay with the details I linked about? If so, can we please close this issue?

JulianAdamson commented 4 years ago

Hi Arménio - sorry for the delay in response. I haven't got as far into this project as I would have wanted - hopefully this weekend fingers crossed! You're outline above is very helpful and I'll let you know how I get on!! Thanks Julian