Main Content

Low-level access to HDF-EOS grid data


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 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,

gfid =,'read');

Access to existing grid HDF-EOS grid file from existing grid grid file

Definition new grid structure grid field compression new dimension within grid new data field within grid origin of pixels in grid pixel registration within grid grid projection Block SOM offset

Basic I/O value for specified field grid attribute data from grid field fill value for specified field grid attribute data to grid field

Inquiry information for field of dimension about data field and size of grid of grid attributes about dimensions defined in grid about data fields defined in grid of grids in file of specified objects code registration code projection information about grid Block SOM offset

Subsetting region of interest by latitude and longitude vertical subset region region of interest from field data values for specified pixels rows and columns for latitude/longitude pairs interpolation on a grid field about subsetted region

Tiling tiling parameters single tile of data from field tiling and compression for field with fill value size of grid field tile to field

Utility row and column space to latitude and longitude latitude and longitude to row and column space corresponding to GCTP sphere code GCTP code corresponding to sphere name