Hello all!
I am interested in transforming an equiangular (geographic) grid on the ellipsoid to the sphere. My end goal is to use pyshtools to perform spherical harmonic analysis on the grid, which must be on the sphere.
I am aware of mapproject -N
, but this seems to be for xyz tables only. Given the resolution of the data, I would prefer to stick to grid operations (if possible!). If I had to use mapproject
, my current rough plan is the following:
- convert all geodetic coordinates to geocentric coordinates via
mapproject -Ng
- as the conversion is non-linear, interpolate from the output geocentric coordinates onto a “nice” equiangular grid of geocentric latitude
How does this sound? Is there an easier way to achieve this? Thanks!