Page 1 of 1

[RELEASE] Podaacpy 2.2.0

PostPosted: Wed Nov 07, 2018 7:19 pm
by lmcgibbn
Hi Folks,

We are happy to announce release and immediate availability of Podaacpy [0] 2.2.0. Please cross post this to any list who would be interested in using PO.DAAC data via a common, user friendly Python API.

What is Podaacpy?
A python utility library for interacting with NASA JPL's PO.DAAC. Full documentation can be found at [1]. The 2.2.0 release includes full Python API support for PO.DAAC Drive -
Additionally, this release is a follow-up to the recent NASA Earthdata podcast "Goodbye FTP, New Ways to Access NASA's Physical Oceanography Data at PO.DAAC" which featured Podaacpy. The podcast can be found at

How can I install Podaacpy?
Podaacpy is available through Pip and Conda package managers, more information can be found at [2]. Between Pypi and Conda, Podaacpy has been downloaded around 100K times.

Please report any issues to the Podaacpy issue tracker at [3].

Podaacpy is licensed permissively under the Apache License v2.0, more information can be found at [4].


[3] ... evelopment

Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Sat Dec 01, 2018 7:50 am
by waanko
I want to extract wave, current and wind (10 meters) from Jason1-2 satellites images.
How can I do this?

Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Mon Dec 03, 2018 7:27 pm
by lmcgibbn
Hi waanko,
I'm working with the Data Engineering team to identify dataset(s) which include the parameters you need. Once I find the dataset(s), I'll write some example Python code for you.
Thanks for your patience.

Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Wed Feb 06, 2019 5:12 am
by ocecept
I trying to download MUR data doing a subset for an area and time.

I was able to find the granules, paths, etc using:

result=p.granule_search(dataset_id='PODAAC-GHGMR-4FJ04', bbox='0,0,180,90',start_time='2013-01-01T01:30:00Z',end_time=

I can not find how to download the data. The examples of Podaacpy do not show how to do it.

I tried p.granule_subset but I do not know how to enter the information from p.granule_search in p.granule_subset.

Can you show us an example of how to download a subset?

Best regards;


Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Wed Feb 06, 2019 9:22 am
by lmcgibbn
Hi Carlos,
As you can see from your code so far, the response indicates quite a few hits
Code: Select all

There a few ways you can work with the granules you find

Download full Granules with Drive
Code: Select all
#First lets import the libraries we require
from pprint import pprint
from podaac import podaac as podaac
from podaac import podaac_utils as utils
from podaac import drive as drive

#Then we can create instances of the classes we will use
p = podaac.Podaac()
u = utils.PodaacUtils()
#make sure you encode your details in podaac.ini or passed explicitly, an example can be seen at
d = drive.Drive('podaac.ini', None, None)

#Here's the actual granule names

#Now we simply need to reproduce the Drive URL's for the above granules.
granules = d.mine_drive_urls_from_granule_search(granule_search_response=(str(result)))

#Let's retrieve these granules from PO.DAAC Drive.
#Note that the download_granules function actually decompresses
#and removes the compressed archive files locally for us.
d.download_granules(granule_collection=granules, path='.')

Please let me know if this works for you... happy to help more. Thank you

Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Wed Feb 06, 2019 11:47 am
by ocecept
Hi Lewis;

Thanks for your replay. I was able to download the data. My problem was in the podaac.ini file. I was using the wrong user and password.

After I accessed I was able to retrieve the encrypted password.

Using the right podaac.ini I was able to download the MUR data for the entire globe.

Is it possible to subset the MUR L4 data for an specific area?

i looked in all examples in but cold not find how to do it.

Many thanks


Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Wed Feb 06, 2019 1:05 pm
by lmcgibbn
Hi Carlos,
Right now unfortunately PO.DAAC provides no way to subset level 4 data via a dedicated Webservice (such as L2SS for level 2 or LAS for level 3).
You may wish to try this via OPeNDAP or THREDDS...
An example for THREDDS can be found at
Hope this helps.

Re: [RELEASE] Podaacpy 2.2.0

PostPosted: Mon Feb 11, 2019 8:31 am
by yiboj
Hi Carlos,

PODAAC Forum has a post on how to subset and download the Level 3/4 dataset granules including MUR dataset. Please check the following link: