GeotopUnits#

Constructor#

GeotopUnits(df, unit_type, data_var[, _nr, ...])

Container for stratigraphic and lithologic metadata information for the GeoTOP model.

Export#

GeotopUnits.to_qml(path, *[, column, field, ...])

Export metadata as a QGIS polygon vector or paletted raster style.

Generic#

GeotopUnits.check_version_matches(geotop)

Check if the GeoTOP modeldata version matches the metadata version.

GeotopUnits.get_plot_colormap()

Get a dictionary with a plot colormap and value boundaries for use in matplotlib figures.

Selection#

GeotopUnits.get_antropogenic_units()

Select metadata for all anthropogenic units.

GeotopUnits.get_holocene_channel_units()

Select metadata for all Holocene channel units.

GeotopUnits.get_holocene_units([...])

Select metadata for all Holocene units.

GeotopUnits.select_description_contains(...)

Select metadata by a substring for a partial description or descriptions.

GeotopUnits.select_unit_contains(substring)

Select metadata by a substring for a partial unit code or codes.

GeotopUnits.select_unit(units)

Select metadata by unit codes (e.g. "NUNIBA", "zm").

GeotopUnits.select_voxel_nr(values)

Select metadata by voxel numbers (e.g. 1090, 2010).

Attributes#

GeotopUnits.colors_rgb

pandas.DataFrame containing the RGB color values for the units in the metadata.

GeotopUnits.description

pandas.Series containing the unique descriptions in the metadata.

GeotopUnits.geotop_version

GeoTOP version number (e.g. v01r6) of the metadata.

GeotopUnits.unit

pandas.Series containing the unique unit names in the metadata.

GeotopUnits.voxel_nr

pandas.Index containing the unique voxel numbers in the metadata.