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 支持 HDF-EOS2 版本 3。

访问权限

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