Skip to content

Commit

Permalink
fix private
Browse files Browse the repository at this point in the history
  • Loading branch information
heikoklein committed Nov 12, 2024
1 parent 8903165 commit 8a4b0c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pyaro/timeseries/Filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,22 +1014,26 @@ def __init__(
self._UNITS_METER = None

@property
def UNITS_METER(self): #: :meta private:
def UNITS_METER(self):
"""internal representation of units, don't use
:return: m-unit in internal representation
:meta private:
"""
if self._UNITS_METER is None:
self._UNITS_METER = Unit("m")
return self._UNITS_METER

@property
def topography(self): #: :meta private:
def topography(self):
"""Internal property, don't use.
:raises ModuleNotFoundError: if cf-units or xarray is not installed
:raises FilterException: if topograpy file is not provided
:return: topography as internal representation
:meta private:
"""
if "cf_units" not in sys.modules:
raise ModuleNotFoundError(
Expand Down

0 comments on commit 8a4b0c8

Please sign in to comment.