Site#
The Site holds all spatial metadata related to a station. This includes:
geographic coordinates (latitude, longitude, altitude),
Local Climate Zone (LCZ) information,
Google Earth Engine (GEE) extracted data,
and additional metadata.
The Site is a component of the Station class and provides spatial context for meteorological observations.
Constructor#
|
Holds all metadata and location-based data of a site (station location). |
Data attributes#
A summary of all the attributes that hold or return spatial and metadata information.
Return the station name. |
|
Return the latitude. |
|
Return the longitude. |
|
Return the altitude. |
|
Return the LCZ. |
|
Return the buffered fractions dictionary. |
|
Return the extra metadata dictionary. |
|
Return a DataFrame with all metadata and geometry. |
Setters#
Methods for updating site metadata and spatial information.
|
Set the latitude attribute. |
|
Set the longitude attribute. |
|
Set the altitude attribute. |
|
Set the LCZ attribute. |
|
Set a value in the geedata dictionary. |
|
Set buffered fraction data for a given buffer radius. |
|
Add metadata to the site. |
Status check methods#
Methods to check the availability of specific metadata.
Check if the site has altitude information. |
|
Check if the site has LCZ information. |
General methods#
|
Retrieve and optionally print basic information about the site. |
Special methods#
The Site class implements several Python special methods for convenience:
__add__: Merge two Site objects, combining metadata and preferring non-NaN values from the first site.__eq__: Test equality between two Site objects based on location and metadata.__repr__: String representation showing site name and key spatial information.