NEDAS.grid.grid_1d module
- class NEDAS.grid.grid_1d.Grid1D(x: ndarray, bounds=None, regular=True, cyclic=False, distance_type='cartesian', dst_grid=None)[source]
Bases:
objectGrid class to handle fields defined on a 1D grid
Methods convert, interp and distance has the same input args as their counterparts in the Grid class. This introduces y coordinates in Grid1D class, although y is not defined for 1D grid, this makes the code that calles Grid/Grid1D methods to be easier to maintain.
- mask: ndarray
- x: ndarray
- regular: bool
- cyclic: bool
- nx: int
- dx: float
- Lx: float
- property dst_grid