resqpy.weights_and_measuresΒΆ

Units of measure.

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_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.

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.