finam.data#
Specialized data types for exchanges between models/modules.
Grids#
Grid tools#
|
Check axes to be strictly monotonic, and makes them strictly monotonic increasing. |
|
Check axes to be uniform. |
|
Checks for uniform spacing of values |
Grid abstract base classes#
|
Abstract grid base. |
|
Abstract grid specification. |
Abstract structured grid specification. |
Data tools#
|
Type assertion. |
|
Check if data matches given info. |
|
Check if data is a quantified DataArray. |
|
Return a new data array with units according to the given info, filled with given value. |
|
Return a new data array with the same shape, type and units as a given object. |
|
Get dimensionality of the data. |
|
Get magnitude of given data. |
|
Get units of the data. |
|
Check if the data array has a time axis. |
|
Check if data is a quantified DataArray. |
|
Prepares data in FINAM's internal transmission format. |
|
Quantifies data. |
|
Returns a view of the data with the time dimension squeezed if there is only a single entry |
|
Converts a numpy datetime64 object to a python datetime object |
|
Convert data to given units. |
|
Check if data is a masked array. |
|
Determine whether the data has masked values. |
|
Return input as an array with masked data replaced by a fill value. |
|
Return a masked version of the data. |
|
Return all the non-masked data as a 1-D array respecting the given array order. |
|
Fill a (masked) array following a given mask or shape with the provided data. |
|
Check if the given data covers a domain defined by a mask on the same grid. |