teehr.PrimaryTimeseriesTable#

class teehr.PrimaryTimeseriesTable(ev)[source]#

Bases: TimeseriesTable

Access methods to primary timeseries table.

Methods

distinct_values

Return distinct values for a column.

field_enum

Get the timeseries fields enum.

fields

Return table columns as a list.

filter

Apply a filter.

load_csv

Import primary timeseries csv data.

load_fews_xml

Import timeseries from XML data format.

load_netcdf

Import primary timeseries netcdf data.

load_parquet

Import primary timeseries parquet data.

order_by

Apply an order_by.

query

Run a query against the table with filters and order_by.

to_geopandas

Return GeoPandas DataFrame.

to_pandas

Return Pandas DataFrame for Primary Timeseries.

to_sdf

Return PySpark DataFrame.

validate

Validate the dataset table against the schema.

field_enum() TimeseriesFields[source]#

Get the timeseries fields enum.