These are the small changes I had to implement to evaluate COSMO-CLM data which comes with a rotated pole grid. The changes are very specific to that dataset and might need some extension to be valid for other rotated pole datasets.
Namely I added rlat and rlon to the known dimension names and built upon the open_metum_dataset function and the _salem_grid_from_dataset function to allow the usage of GeoNetcdf and open_metum_dataset and find and assign the correct pyproj string.
Note: One could rename the open_metum_dataset to something like open_rotatedpole_dataset since it should work on metum and COSMO datasets.
These are the small changes I had to implement to evaluate COSMO-CLM data which comes with a rotated pole grid. The changes are very specific to that dataset and might need some extension to be valid for other rotated pole datasets.
Namely I added rlat and rlon to the known dimension names and built upon the open_metum_dataset function and the _salem_grid_from_dataset function to allow the usage of GeoNetcdf and open_metum_dataset and find and assign the correct pyproj string.
Note: One could rename the open_metum_dataset to something like open_rotatedpole_dataset since it should work on metum and COSMO datasets.