matlab.io.hdfeos.sw.attach
R2026b네임스페이스: 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);