GithubHelp home page GithubHelp logo

spaceml-org / gibs-downloader Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 8.0 5.29 MB

GIBS Downloader is a command-line tool which facilitates the downloading of NASA satellite imagery and offers different functionalities in order to prepare the images for training in a machine learning pipeline.

Home Page: http://spaceml.org/repo/project/605b7b751644770011e850c3/false/

License: Apache License 2.0

Python 40.32% Jupyter Notebook 59.68%
gdal gibs-downloader tile

gibs-downloader's People

Contributors

fernandolis10 avatar koul avatar nsandadi avatar sidgan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gibs-downloader's Issues

Simplify Installation

Either package entire tool as a Conda package, or create a requirements.py or requirements.sh that checks for conda or miniconda and installs gdal and all other dependencies in one go

FAQ Questions: Number of pixels for entire earth, how many tiles will be generated, and edge cases

  1. In the question "I want to download imagery of the entire Earth. What do I need to know?" worth mentioning the size of pixels for entire earth. and how long should one expect it would take for tiling it.
  2. Give a FAQ question on how many tiles would be generated based on a particular tile resolution. Example formula - https://docs.google.com/spreadsheets/d/1wFwk9MnAQOMlmMvZudQOzyYTlYTuvmTH7s2GKvxnDP8/edit?usp=sharing
  3. Give a FAQ question on what happens if the tile is slightly over the edges of the image, how are these edge cases handled. Is it generated or ignored?

Add error handling for faulty downloads

For all commands that depend on the original image being downloaded properly (e.g. tiling, writing to tfrecords, generating video), implement some sort of check that the original images we are using are what we expect them to be. Things to consider:

  • check that image size is as expected
  • check that pixel values are as expected (not completely missing from image)

Alternatively, instead of implementing the check while tilling or writing to tfrecords AFTER the images are downloaded, catch any errors from the call to gdal_translate which may signal that the data being downloaded is faulty WHILE it is downloading.

Unexpected errors/warnings that have sometimes occurred in downloading:

  • ERROR 1: GDALWMS: Unable to download block 96, 0. URL: Failed to connect to gibs.earthdata.nasa.gov port 443: Timed out. HTTP status code: 0, error: Failed to connect to gibs.earthdata.nasa.gov port 443: Timed out.
  • Warning 1: libjpeg: Premature end of JPEG file (this warning can be turned as an error by setting GDAL_ERROR_ON_LIBJPEG_WARNING to TRUE)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.