
- •In the structure returned from imfinfo function.
- •In addition to these png parameters, you can use any
- •Images), 'rle' (run-length encoding of 1-bit
- •Interleave: The format in which the data is stored. This can be
- •Cdf file handling
- •Image An array of structures containing information
- •IdxMapInfo a structure with 'Map' and 'Size' describing the
- •Vdata | 'Fields'
- •Values for 'Interpolate' are: lon, lat
- •It is written in the file. Each dimension in the file's datasets
- •Hdf version 5 data objects
- •Cdf library interface
- •Inquire - return basic characteristics of cdf
- •InquireVar - return information about cdf variable
- •Hdf version 4 library interface
- •Identifier.
- •Values for funcstr. For example, hdfdf24('lastref') corresponds to the
- •Values for funcstr. For example, hdfdfr8('setpalette',map) corresponds
- •Identifier.
- •In cases where the hdf c library accepts null for certain inputs, an
- •Identical to maxcache, but is -1 if the operation fails.
- •Xdimsize,ydimsize,upleft,lowright)
- •Vector of up to 13 elements containing projection-specific
- •Vector containing the number of values to read along each
- •Is a vector containing the dimension sizes of the subsetted region.
- •Index (zero-based) of the desired level. Fieldlist is a string
- •Vert_field,range)
- •Is an array containing the rank (number of dimensions) for each
- •Is an array of compression parameters. Status is -1 and other
- •Hdf version 5 library interface
- •Iterate - Calls a user function for each attribute
- •Vlen_get_buf_size - Determines storage requirements for vl data
- •Is_hdf5 - Determines if a file is in the hdf5 format
- •Is_simple - Determines if dataspace is simple
- •LibTiff library interface
- •InkSet - Set of inks used in a separated image
- •NetCdf library interface
- •In most cases, the syntax of the matlab function is similar to the
Is an array of compression parameters. Status is -1 and other
outputs are [] if the operation fails.
SWinqswath
[NSWATH,SWATHLIST] = HDFSW('inqswath',FILENAME)
Retrieves number and names of swaths defined in HDF-EOS file.
FILENAME is a string containing the file name. NSWATH is the number
of swath data sets found in the file. SWATHLIST is a string
containing a comma-separated list of swath names. If the routine
fails, NSWATH is -1 and SWATHLIST is [].
SWregionindex
[REGIONID, GEODIM, IDXRANGE] = HDFSW('regionindex',...
SWATHID, CORNERLON, CORNERLAT, MODE);
Defines a longitude-latitude box region for a swath. The
difference between this routine and SWdefboxregion is the
geolocation track dimension name and the range of that dimension
are returned in addition to a regionID. See the help for
SWdefboxregion for a description of valid inputs.
SWupdateidxmap
[INDEXOUT, INDICES, IDXSZ] = HDFSW('updateidxmap',SWATHID,...
REGIONID,INDEXIN);
Retrieves an indexed array of specified geolocation mapping for a
specified region. REGIONID is the swath region identifier.
INDEXIN is the array containing the indices of the data dimension
to which each geolocation element corresponds. INDEXOUT is an
array containing the indices of the data dimension to which each
geolocation corresponds in the subsetted region. INDICES is an
array containing the indices for the start and stop of the region.
IDXSZ is the size of the INDICES array or -1 for failure.
SWgeomapinfo
REGMAP = HDFSW('geomapinfo',SWATHID, GEODIM)
Retrieves type of dimension mapping for the dimension with the
name GEODIM. The return value REGMAP will be: 0 for no mapping 1
for regular mapping, 2 for indexed mapping, 3 for both regular and
indexed, or -1 for failure.
Subset Functions
----------------
SWdefboxregion
REGIONID = HDFSW('defboxregion',SWATH_ID,CORNERLON,...
CORNERLAT,MODE)
Defines a longitude-latitude box region for a swath. CORNERLON and
CORNERLAT are two-element arrays containing the longitude and
latitude in decimal degrees of the box corners. MODE is the cross
track inclusion mode, and can be 'HDFE_MIDPOINT', 'HDFE_ENDPOINT',
or 'HDFE_ANYPOINT'. REGIONID is the swath region identifier if the
routine succeeds or -1 if it fails.
SWregioninfo
[NTYPE,RANK,DIMS,SIZE,STATUS] = HDFSW('regioninfo',...
SWATH_ID,REGIONID,FIELDNAME)
Retrieves information about the subsetted region. REGIONID is the
swath region identifier. FIELDNAME is a string containing the name
of the field to subset. NTYPE is a string containing the HDF
number type of the field. RANK is the RANK of the field. DIMS is
an array giving the dimensions of the subset region. SIZE is the
size in bytes of the subset region.
SWextractregion
[DATA,STATUS] = HDFSW('extractregion',SWATH_ID,...
REGIONID,FIELDNAME,EXTERNAL_MODE)
Extracts (reads) from subsetted region. REGIONID is the swath
region identifier. FIELDNAME is a string containing the name of
the field to subset. EXTERNAL_MODE is a string containing the
external geolocation mode, which can be 'external' (data and
geolocation fields can be in different swaths), or 'internal' (data
and geolocation fields must be in the same swath structure). DATA
is the data contained in the subsetted region.
SWdeftimeperiod
PERIODID = HDFSW('deftimeperiod',SWATH_ID,STARTTIME,...
STOPTIME,MODE)
Defines a time period for a swath. STARTTIME and STOPTIME are the
start and stop time of the period. MODE is the Cross Track
inclusion mode, and can be 'midpoint', 'endpoint', or 'anypoint'.
PERIODID is the time period identifier. If the routine fails,
PERIODID is -1.
SWperiodinfo
[NTYPE,RANK,DIMS,SIZE,STATUS] = HDFSW('periodinfo',...
SWATH_ID,PERIODID,FIELDNAME)
Retrieves information about the subsetted period. PERIODID is the
period identifier, and FIELDNAME is a string containing the name of
the field to subset. NTYPE is a string containing the HDF number
type of the field. RANK is the rank of the field. DIMS is an
array containing the dimensions of the subsetted period. SIZE is
the size in bytes of the subset period. STATUS is -1 and other
outputs are [] if the operation fails.
SWextractperiod
[DATA,STATUS] = HDFSW('extractperiod',SWATH_ID,...
PERIODID,FIELDNAME,EXTERNAL_MODE)
Extracts (reads) from subsetted time period. PERIODID is the
period identifier. FIELDNAME is a string containing the name of
the field to subset. EXTERNAL_MODE is the external geolocation
mode, which can be 'external' (data and geolocation fields can be
in different swaths), or 'internal' (data and geolocation fields
must be in the same swath structure). DATA is the data contained
in the subsetted time period.
SWdefvrtregion
ID2 = HDFSW('defvrtregion',SWATH_ID,ID,VERTOBJ,RANGE)
Subsets on a monotonic field or contiguous elements of a dimension.
ID is the region or period identifier from a previous subset call,
or -1 if this is the first call. VERTOBJ is a string containing the
name of the dimension or field to subset by. RANGE is a two
element vector containing the range to subset on. ID2 is the new
region or period identifier if the routine succeeds, or -1 if it
fails.
SWdupregion
ID2 = HDFSW('dupregion',ID)
Duplicates a region or period. ID is the region or period
identifier. ID2 is the new region or period identifier. If the
routine fails, ID2 is -1.
Please read the file hdf4copyright.txt for more information.
See also hdf, hdfpt, hdfgd.