idllib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

netcdf/

mg_nc_browser.pro

file i/o, netcdf, sdf

includes main-level program

Widget program to browse the contents of a netCDF file and load the contents of variables into IDL variables a the main-level. Similar to H5_BROWSER.

Class description for mg_nc_browser

Properties

filenames init
tlb init

Routines

mg_nc_browser_handleevents, event

Thin procedural wrapper to call ::handleEvents event handler.

mg_nc_browser_cleanup, tlb

Thin procedural wrapper to call ::_cleanupWidgets cleanup routine.

mg_nc_browser::setTitle, filename

Set the window title based on the current filename.

mg_nc_browser::loadFiles, filenames

Load netCDF files corresponding to filenames.

mg_nc_browser::_openFiles

Bring up pick file dialog to choose a file and load it.

mg_nc_browser::handleEvents, event

Handle all events from the widget program.

mg_nc_browser::_cleanupWidgets

Handle cleanup when the widget program is destroyed.

mg_nc_browser::_createWidgets

Create the widget hierarchy.

mg_nc_browser::_realizeWidgets

Draw the widget hierarchy.

mg_nc_browser::_startXManager

Start XMANAGER.

mg_nc_browser::cleanup

Free resources

result = mg_nc_browser::init( [filenames=string] [, tlb=long])

Browse the contents of an netCDF file with a GUI browser program.

mg_nc_browser__define

Define instance variables.

result = mg_nc_browser( [pfilenames] [, filenames=string])

Create the browser.

Routine details

top source mg_nc_browser_handleevents

mg_nc_browser_handleevents, event

Thin procedural wrapper to call ::handleEvents event handler.

Parameters

event in required type=structure

event structure for event handler to handle

top source mg_nc_browser_cleanup

mg_nc_browser_cleanup, tlb

Thin procedural wrapper to call ::_cleanupWidgets cleanup routine.

Parameters

tlb in required type=long

top-level base widget identifier

top source mg_nc_browser::setTitle

mg_nc_browser::setTitle, filename

Set the window title based on the current filename. Set the filename to the empty string if there is no title to display.

Parameters

filename in required type=string

filename to display in title

top source mg_nc_browser::loadFiles

mg_nc_browser::loadFiles, filenames

Load netCDF files corresponding to filenames.

Parameters

filenames

top source mg_nc_browser::_openFiles

mg_nc_browser::_openFiles

Bring up pick file dialog to choose a file and load it.

top source mg_nc_browser::handleEvents

mg_nc_browser::handleEvents, event

Handle all events from the widget program.

Parameters

event in required type=structure

event structure for event handler to handle

top source mg_nc_browser::_cleanupWidgets

mg_nc_browser::_cleanupWidgets

Handle cleanup when the widget program is destroyed.

top source mg_nc_browser::_createWidgets

mg_nc_browser::_createWidgets

Create the widget hierarchy.

top source mg_nc_browser::_realizeWidgets

mg_nc_browser::_realizeWidgets

Draw the widget hierarchy.

top source mg_nc_browser::_startXManager

mg_nc_browser::_startXManager

Start XMANAGER.

top source mg_nc_browser::cleanup

mg_nc_browser::cleanup

Free resources

top source mg_nc_browser::init

result = mg_nc_browser::init( [filenames=string] [, tlb=long])

Browse the contents of an netCDF file with a GUI browser program.

Return value

1 for successful initialization, 0 for failure

Keywords

filenames in optional type=string

filenames of netCDF files to view

tlb out optional type=long

widget identifier for the top-level base

top source mg_nc_browser__define

mg_nc_browser__define

Define instance variables.

top source mg_nc_browser

result = mg_nc_browser( [pfilenames] [, filenames=string])

Create the browser.

Return value

widget identifier for the browser

Parameters

pfilenames in optional type=string

filenames of netCDF files to view

Keywords

filenames in optional type=string

filenames of netCDF files to view

File attributes

Modification date: Mon Jul 11 14:40:10 2011
Lines: 299
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.