finam.NoGrid#
- class finam.NoGrid(dim=0)[source]#
Bases:
GridBase
Indicator for data without a spatial grid.
Methods
compatible_with
(other[, check_location])Check for compatibility with other Grid.
copy
([deep])Copy of this grid.
from_canonical
(data)Convert canonical data to grid specific form.
get_transform_to
(other)Transformation between compatible grids.
to_canonical
(data)Convert grid specific data to canonical form.
- compatible_with(other, check_location=True)[source]#
Check for compatibility with other Grid.
- Parameters:
other (instance of Grid) – Other grid to compatibility with.
check_location (bool, optional) – Whether to check location for equality, by default True
- Returns:
compatibility
- Return type:
- copy(deep=False)#
Copy of this grid.
- Parameters:
deep (bool, optional) – If false, only a shallow copy is returned to save memory, by default False
- Returns:
The grid copy.
- Return type:
- from_canonical(data)#
Convert canonical data to grid specific form.
- get_transform_to(other)#
Transformation between compatible grids.
- property name#
Grid name.
- to_canonical(data)#
Convert grid specific data to canonical form.