Main Content

matlab.io.hdfeos.gd

低级别访问 HDF-EOS 网格数据

说明

要使用这些 MATLAB® 函数,必须熟悉 HDF-EOS 库 C 接口。大多数情况下,MATLAB 函数的语法与对应的 HDF-EOS 库函数语法类似。这些函数以命名空间 matlab.io.hdfeos.gd 的形式实现。要使用此命名空间,请在函数名称上加上命名空间径前缀,或在调用函数前,使用导入函数将该命名空间添加到当前的导入列表中,例如,

import matlab.io.hdfeos.*
gfid = gd.open(filename,'read');

访问权限

matlab.io.hdfeos.gd.attachAttach to existing grid
matlab.io.hdfeos.gd.closeClose HDF-EOS grid file
matlab.io.hdfeos.gd.detachDetach from existing grid
matlab.io.hdfeos.gd.openOpen grid file

定义

matlab.io.hdfeos.gd.createCreate new grid structure
matlab.io.hdfeos.gd.defCompSet grid field compression
matlab.io.hdfeos.gd.defDimDefine new dimension within grid
matlab.io.hdfeos.gd.defFieldDefine new data field within grid
matlab.io.hdfeos.gd.defOriginDefine origin of pixels in grid
matlab.io.hdfeos.gd.defPixRegDefine pixel registration within grid
matlab.io.hdfeos.gd.defProjDefine grid projection
matlab.io.hdfeos.gd.writeBlkSomOffsetWrite Block SOM offset

基本 I/O

matlab.io.hdfeos.gd.getFillValueFill value for specified field
matlab.io.hdfeos.gd.readAttrRead grid attribute
matlab.io.hdfeos.gd.readFieldRead data from grid field
matlab.io.hdfeos.gd.setFillValueSet fill value for specified field
matlab.io.hdfeos.gd.writeAttrWrite grid attribute
matlab.io.hdfeos.gd.writeFieldWrite data to grid field

查询

matlab.io.hdfeos.gd.compInfoCompression information for field
matlab.io.hdfeos.gd.dimInfoLength of dimension
matlab.io.hdfeos.gd.fieldInfoInformation about data field
matlab.io.hdfeos.gd.gridInfoPosition and size of grid
matlab.io.hdfeos.gd.inqAttrsNames of grid attributes
matlab.io.hdfeos.gd.inqDimsInformation about dimensions defined in grid
matlab.io.hdfeos.gd.inqFieldsInformation about data fields defined in grid
matlab.io.hdfeos.gd.inqGridNames of grids in file
matlab.io.hdfeos.gd.nEntriesNumber of specified objects
matlab.io.hdfeos.gd.originInfoOrigin code
matlab.io.hdfeos.gd.pixRegInfoPixel registration code
matlab.io.hdfeos.gd.projInfoGCTP projection information about grid
matlab.io.hdfeos.gd.readBlkSomOffsetRead Block SOM offset

子集设置

matlab.io.hdfeos.gd.defBoxRegionDefine region of interest by latitude and longitude
matlab.io.hdfeos.gd.defVrtRegionDefine vertical subset region
matlab.io.hdfeos.gd.extractRegionRead region of interest from field
matlab.io.hdfeos.gd.getPixValuesRead data values for specified pixels
matlab.io.hdfeos.gd.getPixelsPixel rows and columns for latitude/longitude pairs
matlab.io.hdfeos.gd.interpolateBilinear interpolation on a grid field
matlab.io.hdfeos.gd.regionInfoInformation about subsetted region

平铺

matlab.io.hdfeos.gd.defTileDefine tiling parameters
matlab.io.hdfeos.gd.readTileRead single tile of data from field
matlab.io.hdfeos.gd.setTileCompSet tiling and compression for field with fill value
matlab.io.hdfeos.gd.tileInfoTile size of grid field
matlab.io.hdfeos.gd.writeTileWrite tile to field

实用工具

matlab.io.hdfeos.gd.ij2llConvert row and column space to latitude and longitude
matlab.io.hdfeos.gd.ll2ijConvert latitude and longitude to row and column space
matlab.io.hdfeos.gd.sphereCodeToNameName corresponding to GCTP sphere code
matlab.io.hdfeos.gd.sphereNameToCodeNumeric GCTP code corresponding to sphere name