Sobolt's client for in1.
Project description
in1 client library
This is the Python client library for the in1 service. It allows super-resolving Sentinel-2 raster straight from Python.
Installation
Use a Python package manager to install in1.
pip install in1
Usage client library
Consult the online documentation for details.
import in1
lores = "/path/to/lores.tif"
in1_api_key = "<IN1_API_KEY>"
hires, profile, metrics = in1.sisr(lores, api_key=in1_api_key)
in1.write(hires, "/path/to/outdir/hires.tif", profile)
Usage in1 executable
The Python client library also installs an in1 executable that allows super-resolving directly from the terminal. Consult the online documentation for how to use optional flags.
in1 upsample --source path/to/source.tif --result path/to/result.tif --api <IN1_API_KEY>
License
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
in1-0.10.1.tar.gz
(9.4 kB
view hashes)