Stemming from findings I made after the change of PROJ 9.8 (see issue #2634), I realized that the default Globe for RotatedPole is incorrect, or at least misleading. See discussion in OSGeo/PROJ#4714.
In crs.py, if no globe argument is passed to the RotatedPole constructor, it defaults to this:
|
globe = globe or Globe(semimajor_axis=WGS84_SEMIMAJOR_AXIS) |
And the default globe uses ellipse='WGS84'. However, as confirmed by a maintainer of PROJ the ob_tran projection is always spherical, no matter what +ellps arg is given. Thus, we have a potentially confusing definition.
If possible, I would suggest that the default globe be spherical. For example, the line above could be changed to:
globe = globe or Globe(ellipse='sphere', semimajor_axis=WGS84_SEMIMAJOR_AXIS)
Stemming from findings I made after the change of PROJ 9.8 (see issue #2634), I realized that the default
GlobeforRotatedPoleis incorrect, or at least misleading. See discussion in OSGeo/PROJ#4714.In
crs.py, if noglobeargument is passed to theRotatedPoleconstructor, it defaults to this:cartopy/lib/cartopy/crs.py
Line 1986 in 05e5c20
And the default
globeusesellipse='WGS84'. However, as confirmed by a maintainer of PROJ theob_tranprojection is always spherical, no matter what+ellpsarg is given. Thus, we have a potentially confusing definition.If possible, I would suggest that the default globe be spherical. For example, the line above could be changed to: