XArray Methods#
DEM Functions#
|
Load DEM from a raster file and prepare it for use with gsolve. |
|
Prepare a DataArray or DataSet for use with gsolve terrain correction methods. |
|
Check |
|
Create an empty DataArray with specified dimensions. |
Xarray Accessor Class and Methods#
|
A class to providing accessor methods for |
X coordinates as a numpy array. |
|
Y coordinates as a numpy array. |
|
x dimension name. |
|
y dimension name. |
|
Node separation in x direction. |
|
Node separation in y direction. |
|
Return array extent as an ndarray of form (xmin, ymin, xmax, ymax). |
|
Return coordinates of cell edges. |
|
Convert cartesian coordinates |
|
|
Test that caller and |
|
Clip calling DataArray to the dimensions of |
|
Return a copy of this array clipped to the extent of points + max_dist. |
Generate a mask array where "land" areas are True and "sea" areas are False. |
|
|
Generate a boolean distance mask from a specified point. |
|
Mask calling DataArray and set masked elements to |
Generate a bathymetry density grid from a boolean mask grid or DEM. |
|
Generate a terrain density grid. |
|
Return an array with all elevations > sea level set to sea level. |
|
Return an array with all elevations < sea level set to sea level. |