geost.bro.regis.RegisUnits#

class geost.bro.regis.RegisUnits(df: 'pd.DataFrame', _unit: 'str' = 'HYD_UNIT_CD', _desc: 'str' = 'DESCRIPTION', _seq: 'str' = 'SEQ_NR', _r: 'str' = 'RED_DEC', _g: 'str' = 'GREEN_DEC', _b: 'str' = 'BLUE_DEC')[source]#
__init__(df: DataFrame, _unit: str = 'HYD_UNIT_CD', _desc: str = 'DESCRIPTION', _seq: str = 'SEQ_NR', _r: str = 'RED_DEC', _g: str = 'GREEN_DEC', _b: str = 'BLUE_DEC') → None#

Methods

__init__(df[, _unit, _desc, _seq, _r, _g, _b])

check_version_matches(regis)

Check if the REGIS II metadata version matches the metadata version.

select_description_contains(substring[, ...])

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

select_unit(units)

Select metadata by unit names (e.g., 'NUhlc', 'NUBXz').

select_unit_contains(substring[, case_sensitive])

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

to_qml(path[, field])

Export the REGIS unit metadata as a QGIS categorized vector style.

Attributes

colors_rgb

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

description

pandas.Series containing the unique descriptions in the metadata.

regis_version

REGIS II version number (e.g. v01r6) of the metadata.

unit

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

df