Main Content

matlab.io.hdfeos.sw

对 HDF-EOS 分段文件的低级别访问

说明

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

import matlab.io.hdfeos.*
fileId = sw.open(filename);

访问权限

matlab.io.hdfeos.sw.attachAttach to swath data set
matlab.io.hdfeos.sw.closeClose swath file
matlab.io.hdfeos.sw.createCreate new swath structure
matlab.io.hdfeos.sw.detachDetach from swath
matlab.io.hdfeos.sw.openOpen swath file

定义

matlab.io.hdfeos.sw.defCompSet grid field compression
matlab.io.hdfeos.sw.defDataFieldDefine new data field within swath
matlab.io.hdfeos.sw.defDimDefine new dimension within swath
matlab.io.hdfeos.sw.defDimMapDefine mapping between geolocation and data dimensions
matlab.io.hdfeos.sw.defGeoFieldDefine new data field within swath

基本 I/O

matlab.io.hdfeos.sw.getFillValueFill value for specified field
matlab.io.hdfeos.sw.readAttrRead swath attribute
matlab.io.hdfeos.sw.readFieldRead data from swath field
matlab.io.hdfeos.sw.setFillValueSet fill value for the specified field
matlab.io.hdfeos.sw.writeAttrWrite swath attribute
matlab.io.hdfeos.sw.writeFieldWrite data to swath field

查询

matlab.io.hdfeos.sw.compInfoCompression information for field
matlab.io.hdfeos.sw.dimInfoSize of dimension
matlab.io.hdfeos.sw.fieldInfoInformation about swath field
matlab.io.hdfeos.sw.geoMapInfoType of dimension mapping for named dimension
matlab.io.hdfeos.sw.idxMapInfoIndexed array of geolocation mapping
matlab.io.hdfeos.sw.inqAttrsNames of swath attributes
matlab.io.hdfeos.sw.inqDataFieldsInformation about geolocation fields
matlab.io.hdfeos.sw.inqDimsInformation about dimensions defined in swath
matlab.io.hdfeos.sw.inqGeoFieldsInformation about geolocation fields
matlab.io.hdfeos.sw.inqIdxMapsInformation about swath indexed geolocation mapping
matlab.io.hdfeos.sw.inqMapsInformation about swath geolocation relations
matlab.io.hdfeos.sw.inqSwathNames of swaths in file
matlab.io.hdfeos.sw.mapInfoOffset and increment of specific geolocation mapping
matlab.io.hdfeos.sw.nEntriesNumber of entries for specific type

子集设置

matlab.io.hdfeos.sw.defBoxRegionDefine latitude-longitude region for swath
matlab.io.hdfeos.sw.defTimePeriodDefine time period of interest
matlab.io.hdfeos.sw.defVrtRegionSubset on monotonic field or dimension
matlab.io.hdfeos.sw.extractPeriodRead data from subsetted time period
matlab.io.hdfeos.sw.extractRegionRead subsetted region
matlab.io.hdfeos.sw.periodInfoInformation about subsetted period
matlab.io.hdfeos.sw.regionInfoInformation about subsetted region