dctools.data.coordinates

Coordinate system utilities and transformations.

Functions

detect_variables_in_dataset(ds)

Detect all known oceanographic variables in an xarray Dataset.

get_dataset_geometry(ds, coord_sys[, max_points])

Robustly extract a geometry from a dataset, avoiding memory errors for huge point clouds.

get_dataset_geometry_light(ds, coord_sys)

Simplified version to avoid memory issues.

get_standardized_var_name(name[, standard_name])

Return the standardized variable key from a CF standard_name attribute or a known alias.

get_target_depth_values(cfg, *[, surface])

Extract configured depth values from a global config dict.

get_target_dimensions(cfg, *[, surface])

Return the target dimensions dict from global config.

get_target_time_values(cfg)

Extract configured target time values from a global config dict.

Classes

CoordinateSystem(coord_type, coord_level, ...)

Class representing the coordinate system of a dataset.