Main Content
matlab.io.hdfeos.gd
Low-level access to HDF-EOS grid data
Description
To use these MATLAB® functions, you must be familiar with the HDF-EOS library C
interface. In most cases, the syntax of the MATLAB function is similar to the syntax of the corresponding HDF-EOS
library function. The functions are implemented as the namespace
matlab.io.hdfeos.gd
. To use this namespace,
prefix the function name with a namespace path, or use the import function
to add the namespace to the current import list, prior to calling the
function, for example,
import matlab.io.hdfeos.* gfid = gd.open(filename,'read');
Access
matlab.io.hdfeos.gd.attach | Attach to existing grid |
matlab.io.hdfeos.gd.close | Close HDF-EOS grid file |
matlab.io.hdfeos.gd.detach | Detach from existing grid |
matlab.io.hdfeos.gd.open | Open grid file |
Definition
matlab.io.hdfeos.gd.create | Create new grid structure |
matlab.io.hdfeos.gd.defComp | Set grid field compression |
matlab.io.hdfeos.gd.defDim | Define new dimension within grid |
matlab.io.hdfeos.gd.defField | Define new data field within grid |
matlab.io.hdfeos.gd.defOrigin | Define origin of pixels in grid |
matlab.io.hdfeos.gd.defPixReg | Define pixel registration within grid |
matlab.io.hdfeos.gd.defProj | Define grid projection |
matlab.io.hdfeos.gd.writeBlkSomOffset | Write Block SOM offset |
Basic I/O
matlab.io.hdfeos.gd.getFillValue | Fill value for specified field |
matlab.io.hdfeos.gd.readAttr | Read grid attribute |
matlab.io.hdfeos.gd.readField | Read data from grid field |
matlab.io.hdfeos.gd.setFillValue | Set fill value for specified field |
matlab.io.hdfeos.gd.writeAttr | Write grid attribute |
matlab.io.hdfeos.gd.writeField | Write data to grid field |
Inquiry
matlab.io.hdfeos.gd.compInfo | Compression information for field |
matlab.io.hdfeos.gd.dimInfo | Length of dimension |
matlab.io.hdfeos.gd.fieldInfo | Information about data field |
matlab.io.hdfeos.gd.gridInfo | Position and size of grid |
matlab.io.hdfeos.gd.inqAttrs | Names of grid attributes |
matlab.io.hdfeos.gd.inqDims | Information about dimensions defined in grid |
matlab.io.hdfeos.gd.inqFields | Information about data fields defined in grid |
matlab.io.hdfeos.gd.inqGrid | Names of grids in file |
matlab.io.hdfeos.gd.nEntries | Number of specified objects |
matlab.io.hdfeos.gd.originInfo | Origin code |
matlab.io.hdfeos.gd.pixRegInfo | Pixel registration code |
matlab.io.hdfeos.gd.projInfo | GCTP projection information about grid |
matlab.io.hdfeos.gd.readBlkSomOffset | Read Block SOM offset |
Subsetting
matlab.io.hdfeos.gd.defBoxRegion | Define region of interest by latitude and longitude |
matlab.io.hdfeos.gd.defVrtRegion | Define vertical subset region |
matlab.io.hdfeos.gd.extractRegion | Read region of interest from field |
matlab.io.hdfeos.gd.getPixValues | Read data values for specified pixels |
matlab.io.hdfeos.gd.getPixels | Pixel rows and columns for latitude/longitude pairs |
matlab.io.hdfeos.gd.interpolate | Bilinear interpolation on a grid field |
matlab.io.hdfeos.gd.regionInfo | Information about subsetted region |
Tiling
matlab.io.hdfeos.gd.defTile | Define tiling parameters |
matlab.io.hdfeos.gd.readTile | Read single tile of data from field |
matlab.io.hdfeos.gd.setTileComp | Set tiling and compression for field with fill value |
matlab.io.hdfeos.gd.tileInfo | Tile size of grid field |
matlab.io.hdfeos.gd.writeTile | Write tile to field |
Utility
matlab.io.hdfeos.gd.ij2ll | Convert row and column space to latitude and longitude |
matlab.io.hdfeos.gd.ll2ij | Convert latitude and longitude to row and column space |
matlab.io.hdfeos.gd.sphereCodeToName | Name corresponding to GCTP sphere code |
matlab.io.hdfeos.gd.sphereNameToCode | Numeric GCTP code corresponding to sphere name |