pyinterp.reduced_gaussian.Series

Contents

pyinterp.reduced_gaussian.Series#

class pyinterp.reduced_gaussian.Series(mesh)[source]#

Bases: Series

A time series of grids on one mesh.

The dates may be numpy.datetime64 values, handled internally at nanosecond resolution, or integers in a unit of your choice; a series holds one kind or the other. Each step may hold its own zone: see time_zones().

Parameters:

mesh (Mesh) – The mesh shared by every step.

Initialize the series.

Attributes

dates

Dates of the steps, sorted, as given to append().

mesh

(self) -> pyinterp.core.reduced_gaussian.Mesh

times

Dates of the steps, sorted.

Public Methods

append(time, grid)

Add a step.

drop_before(time)

Remove the steps strictly before a date.

Protected Methods

_check_kind(values)

_dates_of(time)