Main Content

matlab.io.hdfeos.sw.attach

名前空間: matlab.io.hdfeos.sw

swath データセットへの接続

構文

swathID = attach(swfID,swathname)

説明

swathID = attach(swfID,swathname) は、swfID で指定されたファイルの swathname で指定された swath に接続します。swathID 出力は指定された swath の識別子です。

この関数は、HDF-EOS ライブラリ C API の関数 SWattach に相当します。

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

参考