py_eddy_tracker.dataset.grid.UnRegularGridDataset¶
-
class
py_eddy_tracker.dataset.grid.UnRegularGridDataset(filename, x_name, y_name, centered=None, indexs=None, unset=False)[source]¶ Bases:
py_eddy_tracker.dataset.grid.GridDatasetClass managing unregular grid
- Parameters
filename (str) – Filename to load
x_name (str) – Name of longitude coordinates
y_name (str) – Name of latitude coordinates
centered (bool,None) – Allow to know how coordinates could be used with pixel
indexs (dict) – A dictionary which set indexs to use for non-coordinate dimensions
unset (bool) – Set to True to create an empty grid object without file
Methods
add_gridAdd a grid in handler
c_to_boundsCentred coordinates to bounds coordinates
copyDuplicate the variable from grid_in in grid_out
eddy_identificationCompute eddy identification on the pecified grid
get_amplitudeget_uavgCalculate geostrophic speed around successive contours Returns the average
gridGive the grid required
grid_tilesGive the grid tiles required, without buffer system
high_filterReturn the grid high-pass filtered, by substracting to the grid the low-pass filter (default: order=1)
is_circularCheck grid circularity
Load variable (data)
load_general_featuresLoad attrs to be stored in object
low_filterReturn the grid low-pass filtered (default: order=1)
Not do
setup_coordinatesunitsGet unit from variable
writeWrite dataset output with same format as input
Attributes
EARTH_RADIUSGRAVITYNGive bound
centeredcontourscoordinatesdimensionsfilenameglobal_attrsindexsinterpolatorsis_centeredGive True if pixel is described with its center’s position or a corner
speed_coefvariablesvariables_descriptionvarsx_boundsx_cx_dimy_boundsy_cy_dim-
property
bounds¶ Give bound
-
index_interp¶