Hey Daniel, I'm trying to write the north and east velocity variables of the RTOFS data to a grib file. This tutorial has been super helpful but I can't figure out how to map it to the grib standard. Any pointers?
Hi @jweisbaum, it's rather difficult to properly write out GRIB files... I'm not familiar with any off-the-shelf package in Python that can easily do it. Your best bet may be to save things to a NetCDF file, and then use a tool like gdal_translate to convert from NetCDF to GRIB.
Thanks so much, I've been able to get it working more or less with Iris by doing some processing on the netcdf, writing to a new netcdf and then using cdo and wgrib2. I'll check out gdal_translate. Your tutorials are awesome.