resqpy.weights_and_measuresΒΆ

Weights and measures valid units and unit conversion functions.

Functions

convert

Convert value between two compatible units.

convert_flow_rates

Converts values in numpy array (or a scalar) from one volume flow rate unit to another, in situ if array.

convert_lengths

Converts values in numpy array (or a scalar) from one length unit to another, in situ if array.

convert_pressures

Converts values in numpy array (or a scalar) from one pressure unit to another, in situ if array.

convert_times

Converts values in numpy array (or a scalar) from one time unit to another, in situ if array.

convert_transmissibilities

Converts values in numpy array (or a scalar) from one transmissibility unit to another, in situ if array.

convert_volumes

Converts values in numpy array (or a scalar) from one volume unit to another, in situ if array.

get_conversion_factors

Return base unit and conversion factors (A, B, C, D) for a given uom.

nexus_uom_for_quantity

Returns RESQML uom string expected by Nexus for given quantity class and unit system.

rq_length_unit

Returns length units string as expected by resqml.

rq_time_unit

Returns time units string as expected by resqml.

rq_uom

Returns RESQML uom string equivalent to units.

rq_uom_list

Returns a list of RESQML uom equivalents for units in list.

valid_property_kinds

Return set of valid property kinds.

valid_quantities

Return set of valid RESQML quantities.

valid_uoms

Return set of valid RESQML units of measure.

resqpy.weights_and_measures.nexus_units

Functions specific to Nexus units of measure.

resqpy.weights_and_measures.weights_and_measures

Units of measure.