tools

User interface tools for Jupyter notebook

Source code

General Attributes and Methods

class IS2view.tools.widgets(**kwargs)[source]
property projection

return string for map projection based on region

property center

return default central point latitude and longitude for map based on region

property zoom

return default zoom level for map based on region

property colormap

return string for Matplotlib colormaps

property vmin

return minimum of normalization range

property vmax

return maximum of normalization range

set_directory_visibility(sender)[source]

updates the visibility of the directory widget

set_format_visibility(sender)[source]

updates the visibility of the data format widget

set_atl14_defaults(*args, **kwargs)[source]

sets the default widget parameters for ATL14 variables

set_atl15_defaults(*args, **kwargs)[source]

sets the default widget parameters for ATL15 variables

set_groups(*args)[source]

sets the list of available groups for a release

set_variables(*args)[source]

sets the list of available variables

set_dynamic(*args, **kwargs)[source]

sets variable normalization range if dynamic

get_variables(d)[source]

Gets the available variables and time steps

Parameters:
dxarray.Dataset

xarray.Dataset object

set_time_steps(*args, epoch=2018.0)[source]

sets available time range

set_lag(sender)[source]

sets available time range for lags

set_time_visibility(sender)[source]

updates the visibility of the time widget

property lag

return the 0-based index for the time lag