cartopy.crs.Globe#
- class cartopy.crs.Globe(datum=None, ellipse='WGS84', semimajor_axis=None, semiminor_axis=None, flattening=None, inverse_flattening=None, towgs84=None, nadgrids=None)[source]#
Define an ellipsoid and, optionally, how to relate it to the real world.
- __init__(datum=None, ellipse='WGS84', semimajor_axis=None, semiminor_axis=None, flattening=None, inverse_flattening=None, towgs84=None, nadgrids=None)[source]#
- Parameters:
datum – Proj “datum” definition. Defaults to None.
ellipse – Proj “ellps” definition. Defaults to ‘WGS84’.
semimajor_axis – Semimajor axis of the spheroid / ellipsoid. Defaults to None.
semiminor_axis – Semiminor axis of the ellipsoid. Defaults to None.
flattening – Flattening of the ellipsoid. Defaults to None.
inverse_flattening – Inverse flattening of the ellipsoid. Defaults to None.
towgs84 – Passed through to the Proj definition. Defaults to None.
nadgrids – Passed through to the Proj definition. Defaults to None.
Methods
__init__
([datum, ellipse, semimajor_axis, ...])- param datum:
Proj "datum" definition. Defaults to None.
to_proj4_params
()Create an OrderedDict of key value pairs which represents this globe in terms of proj params.