API reference
earthcarekit.site
Ground site utilities.
Notes
This module does not depend on other internal modules.
- API reference
Site
dataclass
Class representing a fixed geographic site (or ground station) with associated metadata.
Attributes:
| Name | Type | Description |
|---|---|---|
latitude |
float
|
Latitude of the site in decimal degrees. |
longitude |
float
|
Longitude of the site in decimal degrees. |
name |
str
|
Short name or identifier of the site. |
long_name |
str
|
Full descriptive name of the site. |
aliases |
list[str]
|
Alternative names or identifiers for the site. |
altitude |
float
|
Altitude of the site in meters above sea level. |
cloudnet_name |
str | None
|
Identifier string used in CloudNet file names, or None if not applicable. |
- API reference
Source code in earthcarekit/site/_site.py
aliases
class-attribute
instance-attribute
Alternative names or identifiers for the site.
altitude
class-attribute
instance-attribute
Altitude of the site in meters above sea level.
cloudnet_name
class-attribute
instance-attribute
Identifier string used in CloudNet file names, or None if not applicable.
coordinates
property
Geodetic coordinates of the ground site (lat,lon).
get_site
get_site(site: SiteLike) -> Site
Retruns ground site data based on name and raises ValueError if no matching ground site is found and TypeError.