Main Content

matlab.io.hdfeos.sw.geoMapInfo

命名空间: matlab.io.hdfeos.sw

给定维度的维度映射的类型

语法

mappingType = geoMapInfo(swathID,dimname)

说明

mappingType = geoMapInfo(swathID,dimname) 返回给定维度的维度映射的类型。mappingType 为下列值之一:'indexed''regular''unmapped'

此例程对应于 HDF-EOS 库 C API 中的 SWgeomapinfo 函数。

示例

import matlab.io.hdfeos.*
swfid = sw.open('swath.hdf');
swathID = sw.attach(swfid,'Example Swath');
maptype = sw.geoMapInfo(swathID,'GeoTrack');
sw.detach(swathID);
sw.close(swfid);

另请参阅