How to access OPeNDAP data behind https requiring authentication?

조회 수: 8 (최근 30일)
Nicholas Wolff
Nicholas Wolff 2018년 5월 23일
NASA / USGS have placed their OPeNDAP servers behind https which now requires authentication. I have a NASA Earthdata account (username and password) which allows me to access OPeNDAP via a browser (e.g. https://opendap.cr.usgs.gov/opendap/hyrax/MOD11C3.006/MOD11C3.006.ncml). However, I can not figure out how to get Matlab to access these data using: data_url='https://opendap.cr.usgs.gov/opendap/hyrax/MOD11C3.006/MOD11C3.006.ncml'; ncid=netcdf.open(data_url)
I get an authentication error. How can I authenticate my Matlab access?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by