RegisUnits#

Constructor#

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

Export#

RegisUnits.to_qml(path[, field])

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

Generic#

RegisUnits.check_version_matches(regis)

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

Selection#

RegisUnits.select_unit(units)

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

RegisUnits.select_unit_contains(substring[, ...])

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

RegisUnits.select_description_contains(substring)

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

Attributes#

RegisUnits.colors_rgb

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

RegisUnits.description

pandas.Series containing the unique descriptions in the metadata.

RegisUnits.regis_version

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

RegisUnits.unit

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