Source code for bolides.crs
from cartopy.crs import Geostationary, EqualEarth
from .constants import GOES_E_LON, GOES_W_LON, GLM_STEREO_MIDPOINT, FY4A_LON
[docs]
class DefaultCRS(EqualEarth):
"""The default CoordinateReferenceSystem.
An Equal-Earth projection from the point between GOES-W and GOES-E
"""
[docs]
def __init__(self):
super().__init__(central_longitude=GLM_STEREO_MIDPOINT)
[docs]
class GOES_E(Geostationary):
"""Cartopy CoordinateReferenceSystem representing the GOES-East perspective"""
[docs]
def __init__(self):
super().__init__(central_longitude=GOES_E_LON)
[docs]
class GOES_W(Geostationary):
"""Cartopy CoordinateReferenceSystem representing the GOES-West perspective"""
[docs]
def __init__(self):
super().__init__(central_longitude=GOES_W_LON)
[docs]
class FY4A(Geostationary):
"""Cartopy CoordinateReferenceSystem representing the Fengyun-4A perspective"""
[docs]
def __init__(self):
super().__init__(central_longitude=FY4A_LON)