28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

hdfread<br />

2hdfread<br />

Purpose Extract data from an HDF or HDF-EOS file<br />

Syntax data = hdfread(filename, dataset)<br />

data = hdfread(hinfo)<br />

data = hdfread(...,param1,value1,param2,value2,...)<br />

[data,map] = hdfread(...)<br />

Description data = hdfread(filename, dataset) returns all the data in the<br />

specified data set dataset from the HDF or HDF-EOS file filename. To<br />

determine the names of the data sets in an HDF file, use the hdfinfo<br />

function. The information returned by hdfinfo contains structures<br />

describing the data sets contained in the file. You can extract one<br />

of these structures and pass it directly to hdfread. Note hdfread<br />

can be used on Version 4.x HDF files or Version 2.x HDF-EOS files.<br />

Subsetting<br />

Parameters<br />

2-1038<br />

data = hdfread(hinfo) returns all the data in the data set specified in the<br />

structure hinfo. The hinfo structure can be extracted from the data returned<br />

by the hdfinfo function.<br />

data = hdfread(...,param1,value1,param2,value2,...) returns subsets<br />

of the data according to the specified parameter and value pairs. See the tables<br />

below to find the valid parameters and values for different types of data sets.<br />

[data,map] = hdfread(...) returns the image data and the colormap map for<br />

an 8-bit raster image.<br />

The following tables show the subsetting parameters that can be used with the<br />

hdfread function for certain types of HDF data. These data types are<br />

HDF Scientific Data (SD)<br />

HDF Vdata (V)<br />

HDF-EOS Grid Data<br />

HDF-EOS Point Data<br />

HDF-EOS Swath Data<br />

Note the following:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!