Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
super(ar6_cls, self).__init__()
self.__df = None
self._all = None
self._land = None
self._ocean = None
self._name = "IPCC AR6 WGI Reference Regions"
self._source = "Iturbide et al., 2020 (Earth Syst. Sci. Data)"
self._ocean = from_geopandas(
self._df.loc[ocean],
names="Name",
abbrevs="Acronym",
name=self._name + " (ocean only)",
source=self._source,
)
return self._ocean
def __repr__(self): # pragma: no cover
return REPR
ar6 = ar6_cls()