GithubHelp home page GithubHelp logo

danieloverdevestpzh / satellite_images_nso_docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from provincie-zuid-holland/satellite_images_nso_docker

0.0 0.0 0.0 7 KB

Environment to run `satellite_images_nso` python package in (based on GDAL).

License: MIT License

Dockerfile 13.54% Shell 25.74% Python 60.72%

satellite_images_nso_docker's Introduction

satellite_images_nso_docker

Environment to run satellite_images_nso python package in (based on GDAL).

TL;DR - Interactive bash

docker run -it --entrypoint bash dockerhubpzh/satellite_images_nso_docker
python
YOUR_USER_NAME_HERE = ""
YOUR_PASSWORD_HERE = ""
import satellite_images_nso.api.nso_georegion as nso
path_geojson = "/src/examples/example.geojson"
# The first parameter is the path to the geojson, the second the map where the cropped satellite data will be installed
georegion = nso.nso_georegion(path_geojson,"/src/output/",\
                              YOUR_USER_NAME_HERE,\
                             YOUR_PASSWORD_HERE)

# This method fetches all the download links to all the satelliet images which contain region in the geojson.
links = georegion.retrieve_download_links()
print(links)

TL;DR - Daily job to fetch new images

  1. Copy .env.example and save as .env.
  2. Fill in credentials in .env
  3. docker run --env-file .env --mount type=bind,src=${PWD}/data,dst=/data satellite-images-nso

DockerHub

https://hub.docker.com/r/dockerhubpzh/satellite_images_nso_docker

satellite_images_nso_docker's People

Contributors

danieloverdevestpzh avatar

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.