Makes the coordinates work again for non-spherical grids.
Until issue #463 is complete, the dynamics do not work with spherical coordinates. In order to be able to continue using the init_25kn_NH.nc restart file, the coordinates are replaced in the initialization of the DynamicsKernel class with the Cartesian coordinates with a 25 km spacing that the corresponding .smesh file used to provide. However, when running from a file containing a Cartesian grid, the coordinates should not be replaced. This PR ensures that only SPHERICAL grids have their coordinates replaced by the 25 km grid.
Pull Request Title
Fixes #503
Makes the coordinates work again for non-spherical grids.
Until issue #463 is complete, the dynamics do not work with spherical coordinates. In order to be able to continue using the
init_25kn_NH.nc
restart file, the coordinates are replaced in the initialization of theDynamicsKernel
class with the Cartesian coordinates with a 25 km spacing that the corresponding.smesh
file used to provide. However, when running from a file containing a Cartesian grid, the coordinates should not be replaced. This PR ensures that onlySPHERICAL
grids have their coordinates replaced by the 25 km grid.