Main Content

matlab.io.hdfeos.sw.inqMaps

Namespace: matlab.io.hdfeos.sw

Information about swath geolocation relations

Syntax

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

Description

[map,offset,increment] = inqMaps(swathID) returns the dimension mapping list, the offset of each geolocation relation, and the increment of each geolocation relation. These mappings are not indexed. map is a cell array where each element contains the names of the dimensions for each mapping, separated by a slash. offset and increment contain the offset and increment of each geolocation relation.

This function corresponds to the SWinqmaps routine in the HDF-EOS library.

Examples

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);