Skip to content

How to access GES DISC Hyrax server with PyDAP

H. Joe Lee edited this page Dec 20, 2016 · 17 revisions

Introduction

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 [2].

from pydap.client import open_url
from pydap.cas.urs import setup_session
session = setup_session('username', 'password') # Use yours here.
url = 'https://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)

References

  1. https://disc.gsfc.nasa.gov/registration/registration-for-data-access#python
  2. http://www.pydap.org/en/latest/client.html#urs-nasa-earthdata

Clone this wiki locally