Main Content
matlab.io.hdfeos.gd.pixRegInfo
Namespace: matlab.io.hdfeos.gd
Pixel registration code
Syntax
pixRegCode = pixRegInfo(gridID)
Description
pixRegCode = pixRegInfo(gridID)
retrieve
the pixel registration code for the grid identified by gridID
.
The pixRegCode
output can be one of the following
values.
'center' | Center of pixel cell |
'corner' | Corner of pixel cell |
This function corresponds to the GDpixreginfo
routine
in the HDF-EOS library.
Examples
import matlab.io.hdfeos.* gfid = gd.open('grid.hdf'); gridID = gd.attach(gfid,'PolarGrid'); code = gd.pixRegInfo(gridID); gd.detach(gridID); gd.close(gfid);