Skip to main content

Python RESTful client for NASA’s MODIS Adaptive Processing System (MODAPS) data archive at the Level-1 and Atmosphere Archive & Distribution System (LAADS) Distributed Active Archive Center (DAAC).

MIT License.

Installation

pip install modapsclient

pygaarst.modapsclient

This is a REST-full web service client that implements the NASA LAADSWEB data API (see https://ladsweb.modaps.eosdis.nasa.gov/tools-and-services/lws-classic/quick-start.php)

class ModapsClient(object)

Usage:

from pygaarst import modapsclient as m
a = m.ModapsClient()
b = a.[methodname](args)

Implements the methods from http://ladsweb.nascom.nasa.gov/data/api.html , except for (currently) those related to OpenSearch (which don’t appear to be working reliably server-side) and ordering (TBD). Implemented methods are marked with an x.

implemented

methodname

x

getAllOrders

x

getBands

x

getBrowse

x

getCollections

x

getDataLayers

x

getDateCoverage

x

getFileOnlineStatuses

x

getFileProperties

x

getFileUrls

x

getMaxSearchResults

getOpenSearch

getOrderStatus

getOrderUrl

getOSDD

x

getPostProcessingTypes

x

listCollections (deprecated)

x

listMapProjections

x

listProductGroups

x

listProducts

x

listProductsByInstrument

x

listReprojectionParameters

x

listSatelliteInstruments

orderFiles

orderFilesProcessed (deprecated)

releaseOrder

searchDatasets

x

searchForFiles

x

searchForFilesByName

Caveats and limitations

This API is listed as “classic” by NASA EOSDIS, so it’s unlikely it’ll receive much attention in the future. Hardly anyone will use the “order” feature as the files are usually available on the public file server. For these two reasons, the unimplemented functionality is also unlikely to ever be implemented.

>From experience, products listed via listProducts are not necessarily in actual fact available in the NASA EOSDIS LAADS archive. In this case, you may receive an error when searching for files.

The MODAPS web service has the tendency to return a 500 Internal Server Error for any error, including unsupported values for query string variables.

Further docuementation

See the ipynb/ folder for Jupyter Notebooks.

TODO

Add OPeNDAP client functionality.

Metadata

Release files for modapsclient 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modapsclient 0.1.1
File Size Uploaded
modapsclient-0.1.1.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for modapsclient 0.1.1
File Interpreter ABI Platform
modapsclient-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 21.1 kB

Release files / modapsclient-0.1.1.tar.gz

Download URL modapsclient-0.1.1.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ca17830ec337f5b77418977efc3cc3cea9df7f3c977bed7806e16a168cfbe804
BLAKE2b-256 checksum
How to use checksums
dd3cb238e2bef8c673247005ac7989917be5491e63e7ee93fabe825ac6766a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / modapsclient-0.1.1-py2.py3-none-any.whl

Download URL modapsclient-0.1.1-py2.py3-none-any.whl
Size 9.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
dae23b9d739333095646d03e7e4cc66e8cfbf0503749fd74e99a68572eaaf421
BLAKE2b-256 checksum
How to use checksums
898db096d398df77ccccd61672963502573d49fe6c56f9a163c1e2d17b4c638f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page