Add tests that rotated pole GRIB2 files are read with the expected projection parameters.
The tiny synthetic GRIB2 files used in these tests (240 and 438 byes) were created by hand from original RAP native and COSMO EU files each over 100 MB in size. I have attached *.txt notes on the procedure to create these files.
In a nutshell:
- grab one message with wgrib2 in ieee data format as we can make big-endian floats in python
- create synthetic data with python
- splice everything together with head and cat
- use a hex editor (ghex) with python hex calculations to update all the sizes and dimensions in the header; note that all values in the GRIB2 headers are big-endian so check that box in ghex
- use wgrib2 to convert the file back to simple packing as NetCDF-Java will not read ieee
Tedious, but it works.