-
Notifications
You must be signed in to change notification settings - Fork 0
How to access GES DISC Hyrax server with PyDAP
H. Joe Lee edited this page Dec 20, 2016
·
17 revisions
GES DISC runs Hyrax server that requires URS authentication [1]. This document explains how to use PyDAP to access and visualize GES DISC data products.
First, make sure that your pydap is up-to-date.
pip install pydap -U
Second, set up session correctly according to [1].
from pydap.client import open_url
from pydap.cas.urs import setup_session
session = setup_session('username', 'password') # Use yours.
url = 'http://acdisc.gesdisc.eosdis.nasa.govacdis/opendap/HDF-EOS5/Aura_MLS_Level2/ML2BRO.004/2016/MLS-Aura_L2GP-BrO_v04-23-c03_2016d303.he5'
dataset = open_url(url, session=session)