Personal IDL library for M. Galloy

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


top source mg_hdf_getdata

result = mg_hdf_getdata(filename, variable [, bounds=lonarr(3, ndims) or string] [, error=long])

Pulls out a section of a HDF variable.

Return value

data array


filename in required type=string

filename of the HDF file

variable in required type=string

variable name (with path if inside a group)


bounds in optional type=lonarr(3, ndims) or string

gives start value, end value, and stride for each dimension of the variable

error out optional type=long

error value

File attributes

Modification date: Wed Sep 28 16:14:43 2011
Lines: 243
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.