Main Content

matlab.io.hdfeos.sw.inqMaps

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

有关分段地理位置关系的信息

语法

[map,offset,increment] = inqMaps(swathID)

说明

[map,offset,increment] = inqMaps(swathID) 返回维度映射列表,每个地理位置关系的偏移以及每个地理位置关系的增量。这些映射不会进行索引。map 是一个元胞数组,其中每个元素都包含每个映射的维度名称(以斜杠分隔)。offsetincrement 包含每个地理位置关系的偏移和增量。

此函数对应于 HDF-EOS 库中的 SWinqmaps 例程。

示例

import matlab.io.hdfeos.*
swfid = sw.open('swath.hdf');
swathID = sw.attach(swfid,'Example Swath');
[dimmap,offset,increment] = sw.inqMaps(swathID);
sw.detach(swathID);
sw.close(swfid);