Skip to main content

Download geodata for anywhere in Earth

Project description

For help with the library join my discord server: https://discord.gg/vpnTAw4q62

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.14.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

geoget-0.1.14-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geoget-0.1.14.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for geoget-0.1.14.tar.gz
Algorithm Hash digest
SHA256 efc156f2ffd722fb66cb5777fdd3314318cc1c80f8de21c17fb4fe3c094d676c
MD5 84f6bfedf47aa303787422d98e2238b6
BLAKE2b-256 840115a06ddd47f6b4e5215911be9cbe028203fbbf5a7d59d03fd5eacde47c20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geoget-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for geoget-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 a7fcf51b4178c5b1155ba45b835beb9c41486ac669b8712a40334b2f13db0924
MD5 a35baa6de3ca568c82adec6cfca12ba7
BLAKE2b-256 7c306a0a33d2919e9121755ef7d6e651a448a8a4759f17bd1b2da7f12386710e

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