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.GridDataset
Class 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_grid
Add a grid in handler
c_to_bounds
Centred coordinates to bounds coordinates
copy
Duplicate the variable from grid_in in grid_out
eddy_identification
Compute eddy identification on the specified grid
get_amplitude
get_uavg
Calculate geostrophic speed around successive contours Returns the average
grid
Give the grid required
grid_tiles
Give the grid tiles required, without buffer system
high_filter
Return the grid high-pass filtered, by substracting to the grid the low-pass filter (default: order=1)
is_circular
Check grid circularity
Load variable (data)
load_general_features
Load attrs to be stored in object
low_filter
Return the grid low-pass filtered (default: order=1)
Not do
setup_coordinates
units
Get unit from variable
write
Write dataset output with same format as input
Attributes
EARTH_RADIUS
GRAVITY
N
Give bound
centered
contours
coordinates
dimensions
filename
global_attrs
indexs
is_centered
Give True if pixel is described with its center’s position or a corner
variables
variables_description
vars
x_bounds
x_c
x_dim
y_bounds
y_c
y_dim
-
property
bounds
¶ Give bound
-
index_interp
¶