resqpy.time_seriesΒΆ

Time series classes and functions.

Classes

AnyTimeSeries

Abstract class for a RESQML Time Series; use resqpy TimeSeries or GeologicTimeSeries.

GeologicTimeSeries

Class for RESQML Time Series using only year offsets (for geological time frames).

TimeDuration

A thin wrapper around python's datetime timedelta objects (not a RESQML class).

TimeSeries

Class for RESQML Time Series without year offsets.

Functions

any_time_series

Returns a resqpy TimeSeries or GeologicTimeSeries object for an existing RESQML time series with a given uuid.

check_timestamp

Check format of timestamp and raise ValueError if badly formed.

cleaned_timestamp

Return a cleaned version of the timestamp.

colloquial_date

Returns date string in format DD/MM/YYYY (or MM/DD/YYYY if usa_date_format is True).

geologic_time_str

Returns a string representing a geological time for a large int representing number of years before present.

merge_timeseries_from_uuid

Create a TimeSeries object from an iterable object of existing timeseries UUIDs of timeseries.

selected_time_series

Returns a new TimeSeries or GeologicTimeSeries object with timestamps selected from the full series by a list of indices.

simplified_timestamp

Return a more readable version of the timestamp.

time_series_from_list

Create a TimeSeries object from a list of timestamps (model and node set to None).

time_series_from_nexus_summary

Create a TimeSeries object based on time steps reported in a Nexus summary file (.sum).

timeframe_for_time_series_uuid

Returns string 'human' or 'geologic' indicating timeframe of the RESQML time series with a given uuid.