Data Classes#
- class ctdfjorder.dataclasses.dataclasses.Measurement(label: str, unit: str | None, polars_type: DataType)[source]#
Represents metadata for a measurement.
- label#
The internal label used in CTDFjorder, if available.
- Type:
str
- unit#
The unit of measurement, if available.
- Type:
str | None
- polars_type#
The Polars data type for this measurement.
- Type:
pl.DataType
- export_label#
The exported label for this measurement.
- Type:
str
- class ctdfjorder.dataclasses.dataclasses.SampleFeature(label, export_label, unit, pl_unit)[source]#
- export_label: str#
Alias for field number 1
- label: str#
Alias for field number 0
- pl_unit: DataType#
Alias for field number 3
- unit: str#
Alias for field number 2
- class ctdfjorder.dataclasses.dataclasses.SamplingEvent(latitude: float | None, longitude: float | None, unique_id: str | None, secchi_depth: float | None, site_name: str | None, site_id: str | None)[source]#
Represents metadata for a sampling event from the master sheet, including its coordinates, unique ID, and secchi depth.
- latitude#
The latitude of the site, if available.
- Type:
float | None
- longitude#
The longitude of the site, if available.
- Type:
float | None
- unique_id#
The unique identifier for the site, if available.
- Type:
str | None
- secchi_depth#
The secchi depth measurement for the site, if available.
- Type:
float | None
- site_name#
The name of the site, if available.
- Type:
str | None
- site_id#
The short name the site, if available.
- Type:
str | None