opendrift_gui

Classes

TextRedirector

ToolTip

OpenDriftGUI

Toplevel widget of Tk which represents mostly the main window

Functions

CreateToolTip(widget, text)

main()

Module Contents

class opendrift_gui.TextRedirector(widget, tag='stdout')
defstdout
widget
tag
write(str)
flush()
class opendrift_gui.ToolTip(widget)

Bases: object

widget
tipwindow = None
id = None
showtip(text)

Display text in tooltip window

hidetip()
opendrift_gui.CreateToolTip(widget, text)
class opendrift_gui.OpenDriftGUI

Bases: tkinter.Tk

Toplevel widget of Tk which represents mostly the main window of an application. It has an associated Tcl interpreter.

Return a new top level widget on screen SCREENNAME. A new Tcl interpreter will be created. BASENAME will be used for the identification of the profile file (see readprofile). It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME is the name of the widget class.

opendrift_models
extra_args
GUI_config
n
seed
confignotebook
config
forcing
top
start_t
end_t
start
end
coastline
duration
output
results
model
modeldrop
help_button
startlabel
latvar
lonvar
radiusvar
lat
lon
radius
conv
now
datevar
dates
date
monthvar
months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',...
month
yearvar
years
year
hourvar
hours
hour
minutevar
minutes
minute
timezonevar
timezone = ['UTC', 'CET']
endlabel
elat
elon
eradius
edatevar
edates
edate
emonthvar
emonth
eyearvar
eyears
eyear
ehourvar
ehours
ehour
eminutevar
eminutes
eminute
check_seed
durationhours
directionvar
direction
text
s
dianadir = '/vol/vvfelles/opendrift/output/'
copy_position(a, b, c)
handle_result(command)
validate_config(value_if_allowed, prior_value, key)

From config menu selection.

set_model(model, rebuild_gui=True)
set_config_checkbox(key, i)
set_config_enum(event, key, i)
show_help()
convert_lonlat()
check_seeding()
run_opendrift()
opendrift_gui.main()