Satellie extraction and cutter
Project description
Introduction
This repo can be used to automate extraction/cutting of satellite data from the netherlands space office (NSO). Also the NVDI can be calculated on the cut.
Getting Started
- Get a NSO account and fill the .key file with username/password.
- First select a region with want to have and make a geojson for it.
- Make a instance of nso_geojsonregion with instance of the geojson region you have, where you want to store the cropped files and the NSO account based on step 0.
- Retrieve download links for the specific region you want to have.
- Download the found links.
Installation.
Install the setup file with pip install setup.py.
Or run the rebuild.bat file.
If you are a windows user you have to install the depencies yourself via wheels.
Instead install these wheels with pip install XXX.XX.XX.whl.
Go to https://www.lfd.uci.edu/~gohlke/pythonlibs/ for the wheels of these depencies:
Depencencies are : "Fiona>=1.8.13", "GDAL>=3.0.4", "geopandas>=0.7.0","rasterio>=1.1.3","Shapely>=1.7.0"
Example code.
# This the way the import nso.
import satellite_images_nso.api.nso_georegion as nso
path_geojson = "C:/repos/satellite_images/nso/data/solleveld_sweco.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,"C:/repos/Output/",\
YOUR_USER_NAME_HERE,\
YOUR_PASSWORD_HERE)
Author
Michael de Winter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file satellite_images_nso-1.0.0.tar.gz
.
File metadata
- Download URL: satellite_images_nso-1.0.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfc0f3d2531cee52fa2c5f7dfc339df40d70daad1e0bd31e970ff3cc78c28e7 |
|
MD5 | 501c77ee88a27541729f5ff9d8281ae8 |
|
BLAKE2b-256 | e8ade030824bb898d45ec43cb983e4c5ec163e76ee6d938173e7474af8ed2f96 |
File details
Details for the file satellite_images_nso-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: satellite_images_nso-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a2557f4d4b86b096abe9390581e8849e4a2d69f67dbafd9f3e31e54926353d |
|
MD5 | b986334c85dd9ff9e40f59dff5cc0a75 |
|
BLAKE2b-256 | dfcd824dce3ea044e49a4146bc9a804edc5b5da79c2d6d97c235d29d4a5db448 |