py_eddy_tracker.dataset.grid.UnRegularGridDataset¶
- class py_eddy_tracker.dataset.grid.UnRegularGridDataset(filename, x_name, y_name, centered=None, indexs=None, unset=False, nan_masking=False)[source]¶
Bases:
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 that sets indexes to use for non-coordinate dimensions
unset (bool) – Set to True to create an empty grid object without file
nan_masking (bool) – Set to True to replace data.mask with isnan method result
Methods
add_gridAdd a grid in handler
c_to_boundsCentered coordinates to bounds coordinates
cleancopyDuplicate the variable from grid_in in grid_out
eddy_identificationCompute eddy identification on the specified grid
get_amplitudeget_maskget_uavgCompute geostrophic speed around successive contours Returns the average
gridGive the grid required
grid_tilesGive the grid tiles required, without buffer system
high_filterReturn the high-pass filtered grid, by substracting to the initial grid the low-pass filtered grid (default: order=1)
is_circularCheck grid circularity
Load variable (data)
load_general_featuresLoad attrs to be stored in object
low_filterReturn the low-pass filtered grid (default: order=1)
Not do
populatesetup_coordinatesunitsGet unit from variable
writeWrite dataset output with same format as input
Attributes
EARTH_RADIUSGRAVITYNGive bounds
centeredcontourscoordinatesdimensionsfilenameglobal_attrsindexsis_centeredGive True if pixel is described with its center's position or a corner
nan_maskvariablesvariables_descriptionvarsx_boundsx_cx_dimy_boundsy_cy_dim- property bounds¶
Give bounds
- index_interp¶