Skip to main content

Download geodata for anywhere in Earth

Project description

GeoGet

Utility functions to download geo data.

Install

pip install geoget

How to use

Go to https://ladsweb.modaps.eosdis.nasa.gov/ and create an account and an authentication token. Then create ~/.ladsweb file with the following format where you should write your email and token (key):

# To create an account and an authentication token visit ladsweb website.
{
    "url"   : "https://ladsweb.modaps.eosdis.nasa.gov",
    "key"   : "",
    "email" : ""
}

The following bash script shows an example of how to make a request:

#!/bin/bash -l 
bbox='-10 36 0 44'
product="NPP_VMAES_L1"
collection="5000"
tstart="2017-10-27 00:00:00"
tend='2017-10-27 23:59:59'
path_save="/srv/geoget/data"
bands="Reflectance_M5 Reflectance_M7 Reflectance_M10 Radiance_M12 Radiance_M15 SolarZenithAngle SatelliteZenithAngle"

geoget_ladsweb $product $collection "$tstart" "$tend" "$bbox" $path_save "$bands" --repName "GEO" --repPixSize "0.01" --daynight "D"

In case you need to stop the request (it may take a while until the files are available) you can later call geoget_order_manager . on path_save directory and all requests in the log file will continue to be processed.

Note: Library under development. Examples above were tested in Ubuntu 16.04 LTS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geoget-0.1.2.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

geoget-0.1.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file geoget-0.1.2.tar.gz.

File metadata

  • Download URL: geoget-0.1.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for geoget-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b2326dbe8ced4e767b72e2a53acfd6d17a911f27bdec975f40b354046bb47caa
MD5 1a343c49dd97dcc6d78ce654993a1682
BLAKE2b-256 b9821bbab6cc5ebe1977b98a37bdc20de2f0f3d7888b2465e7d9426918d82cf7

See more details on using hashes here.

File details

Details for the file geoget-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: geoget-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for geoget-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a3a32b16d4af8bb06b46733b21c04870c784ffe10eae9976e43eed6aea2b8ed
MD5 5ccdff2ec60f99e8d9c330991f6d9865
BLAKE2b-256 e56c2fea10cc61030577e7146e836d89223df817c417b4087f4e725f0caadc9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page