Reference Guide > H Routines > HDFGETRANGE Function
  

HDFGETRANGE Function
Gets the maximum and minimum range for the current HDF Scientific Data Set.
Usage
status = HDFGETRANGE (maxvalue, minvalue)
Output Parameters
maxvalue—The maximum data value for the HDF Scientific Data Set.
minvalue—The minimum data value for the HDF Scientific Data Set.
Return Value
status—The status of the function call, where:
*SUCCEED (0)—Indicates success.
*FAIL (–1)—Indicates failure.
Keywords
Help—If present and nonzero, lists the usage for this routine.
Usage—If present and nonzero, lists the usage for this routine. (Same as the Help keyword.)
Discussion
The maximum and minimum data values for the current Scientific Data Set are obtained.
The data type of maxvalue and minvalue is determined by the numeric type returned by HDFGETNT.
Example
hdf_init
@hdf_common
status = HDFGETRANGE(max, min)
IF (status EQ FAIL) THEN $
   MESSAGE, 'HDFGETRANGE failed.'
See Also
HDFGETNT, HDFGETSDS
Also refer to the following routine in the HDF Reference Manual:
DFSDGETRANGE
For more information on using the HDF interface and the calling sequence for the entire suite of HDF base functions, refer to PV-WAVE HDF Interface.
For a complete list of the HDF convenience routines, refer to Functional Summary of Routines.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.