Skip to main content

Download utility for NASA WorldView

Project description

Download tool for NASA WorldView

Build Status

Installation

> pip install worldview_dl

Usage

You may either download using the command line cli:

usage: cli.py [-h] [--layers LAYERS [LAYERS ...]] [--image_type IMAGE_TYPE]
              [--resolution RESOLUTION] [--end-time END_TIME]
              time bbox

for example

> python -m worldview_dl.cli "2020-01-28 16:20" 10.,-60.,15.,-50. --image_type png

Or with the python package

from worldview_dl import download_image
import datetime
import pytz

t_now = datetime.datetime.now().replace(tzinfo=pytz.utc)
t = t_now - datetime.timedelta(hours=2)

download_image(
    fn="GOES_test.png",
    time=t,
    bbox=[10.,-60.,15.,-50.],
    layers=['GOES-East_ABI_Band2_Red_Visible_1km', 'Reference_Labels'],
    image_format="png",
    resolution=0.01,
)

Project details


Download files

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

Files for worldview-dl, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size worldview_dl-0.2.0.tar.gz (484.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page