Misc¶
This module contains all miscellaneous classes that are too small to have their own modules
Functions and Classes¶
-
class
Coordinate(val, error=0.0)¶ A wrapper class for coordinates fro the NordicEvent. Does not modify the actual value inside the NordicEvent. Can be cast into float with float()
Variables:
-
class
CreationInfo(owner='postgres', c_id=-1, creation_date=datetime.datetime(2023, 8, 22, 8, 48, 50, 634442), privacy='public', creation_comment=None)¶ Class for containing basic creation info for a nordb entry.
Variables:
-
class
Depth(val, error=0.0)¶ A wrapper class for depth for the NordicEvent. Does not modify the actual value inside the NordicEvent. Can be cast into float with float()
Variables:
-
class
Magnitude(val, mtype, reporting_agency, error=0.0)¶ A magnitude wrapper class for the NordicEvent. Does not modify the actual value inside the NordicEvent. Can be cast into float with float()
Variables:
-
class
OriginTime(val, error=0.0)¶ A wrapper class for origin_time for the NordicEvent. Does not modify the actual value inside the NordicEvent. Can be cast into datetime with datetime()
Variables: - datetime val (date) – origin time as a datetime or a date
- error (float) – error value of origin time in seconds