Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

nasa/podaacpy

Repository files navigation

podaacpy

podaacpy has been retired please use https://github.com/podaac/data-subscriber

DOI license PyPI documentation Travis Coveralls Requirements Status Anaconda-Server Version Anaconda-Server Downloads

DeepSource

image7

A python utility library for interacting with NASA JPL's PO.DAAC

Software DOI

If you are using Podaacpy in your research, please consider citing the software DOI . This DOI represents all versions, and will always resolve to the latest one. If you wish to reference actual versions, then please find the appropriate DOI's over at Zenodo.

What is PO.DAAC?

The Physical Oceanography Distributed Active Archive Center (PO.DAAC) is an element of the
Earth Observing System Data and Information System (EOSDIS).
The EOSDIS provides science data to a wide community of users for NASA's Science Mission Directorate.

What does podaacpy offer?

The library provides a Python toolkit for interacting with all PO.DAAC Web Services v3.2.2 APIs, namely

  • PO.DAAC Web Services: services include

  • Dataset Metadata - retrieves the metadata of a dataset

  • Granule Metadata - retrieves the metadata of a granule

  • Search Dataset - searches PO.DAAC's dataset catalog, over Level 2, Level 3, and Level 4 datasets

  • Search Granule - does granule searching on PO.DAAC level 2 swath datasets (individual orbits of a satellite), and level 3 & 4 gridded datasets (time averaged to span the globe)

  • Image Granule - renders granules in the PO.DAAC's catalog to images such as jpeg and/or png

  • Extract Granule - subsets a granule in PO.DAAC catalog and produces either netcdf3 or hdf4 files

  • Metadata Compliance Checker: an online tool and web
    service designed to check and validate the contents of netCDF and HDF granules for the
    Climate and Forecast (CF) and Attribute Convention for Dataset Discovery (ACDD) metadata conventions.
  • Level 2 Subsetting: allows users to subset and download popular PO.DAAC level 2 (swath) datasets.
  • PO.DAAC Drive: an HTTP based data access service. PO.DAAC Drive replicates much of the functionality of FTP while addressing many of its issues.

Additionally, Podaacpy provides the following ocean-related data services

Installation

From the cheeseshop

pip3 install podaacpy

or from conda

conda install -c conda-forge podaacpy

or from source

git clone https://github.com/nasa/podaacpy.git && cd podaacpy
python3 setup.py install

Quickstart

Check out the examples directory for our Jupyter notebook examples.

Tests

podaacpy uses the popular nose testing suite for unit tests.
You can run the podaacpy tests simply by running
nosetests

Additonally, click on the build sticker at the top of this readme to be directed to the most recent build on travis-ci.

Documentation

You can view the documentation online at

http://podaacpy.readthedocs.org/en/latest/

Alternatively, you can build the documentation manually as follows

cd docs && make html

Documentation is then available in docs/build/html/

Community, Support and Development

Please open a ticket in the issue tracker.
Please use labels to
classify your issue.

License

podaacpy is licensed permissively under the Apache License v2.0.
A copy of that license is distributed with this software.

Copyright and Export Classification

Copyright 2016-2019, by the California Institute of Technology. ALL RIGHTS RESERVED.
United States Government Sponsorship acknowledged. Any commercial use must be
negotiated with the Office of Technology Transfer at the California Institute
of Technology.
This software may be subject to U.S. export control laws. By accepting this software,
the user agrees to comply with all applicable U.S. export laws and regulations.
User has the responsibility to obtain export licenses, or other export authority
as may be required before exporting such information to foreign countries or
providing access to foreign persons.