Skip to main content

generic classes and functions to query, access and process multi-spectral and SAR satellite images

Project description

UKIS UKIS-pysat

ukis-pysat codecov Upload Python Package PyPI version Documentation Status GitHub license Code Style DOI

The UKIS-pysat package provides generic classes and functions to access and process multi-spectral and SAR satellite images.

file

Work with you local satellite data files and read information out of file names and metadata files. Currently, focusing on Sentinel-1.

raster

Reading satellite data and performing simple, but cumbersome tasks. This is just a layer on top of rasterio for stuff we often need. It can very well be that using rasterio directly is often the better choice.

Read the documentation for more details: https://ukis-pysat.readthedocs.io.

Example

Here's an example about some basic features, it might also help to read through the tests. ###Sentinel Dataset

# import all the required libraries
from ukis_pysat.file import get_sentinel_scene_from_dir
from ukis_pysat.raster import Image


# get sentinel scene from directory
with get_sentinel_scene_from_dir("/users/username/tmp") as (full_path, ident):
    with Image(full_path.join("pre_nrcs.tif")) as img:
        # scale the image array, having one band
        img.arr = img.arr * 0.3

For working with the Landsat we need an item id for downloading the product Check Pystac documentation for more functionality on STAC.

Installation

The easiest way to install ukis-pysat is through pip. Be aware, that Rasterio requires GDAL >= 1.11, < 3.1.

Most users will want to do this:

pip install ukis-pysat[complete]  # install everything

There's also some lighter versions with less dependencies:

pip install ukis-pysat  # only install core dependencies (ukis_pysat.file can be used)

pip install ukis-pysat[data]  # also install dependencies for ukis_pysat.data

pip install ukis-pysat[raster]  # also install dependencies for ukis_pysat.raster

Some helper functions might need additional dependencies like pandas, dask[array] or utm. If this is the case you will receive an ImportError.

Dependencies

For the latest list of dependencies check the requirements.

Contributors

The UKIS team creates and adapts libraries which simplify the usage of satellite data. Our team includes (in alphabetical order):

  • Boehnke, Christian
  • Fichtner, Florian
  • Mandery, Nico
  • Martinis, Sandro
  • Riedlinger, Torsten
  • Wieland, Marc

German Aerospace Center (DLR)

Licenses

This software is licensed under the Apache 2.0 License.

Copyright (c) 2020 German Aerospace Center (DLR) * German Remote Sensing Data Center * Department: Geo-Risks and Civil Security

Changelog

See changelog.

Contributing

The UKIS team welcomes contributions from the community. For more detailed information, see our guide on contributing if you're interested in getting involved.

What is UKIS?

The DLR project Environmental and Crisis Information System (the German abbreviation is UKIS, standing for Umwelt- und Kriseninformationssysteme aims at harmonizing the development of information systems at the German Remote Sensing Data Center (DFD) and setting up a framework of modularized and generalized software components.

UKIS is intended to ease and standardize the process of setting up specific information systems and thus bridging the gap from EO product generation and information fusion to the delivery of products and information to end users.

Furthermore, the intention is to save and broaden know-how that was and is invested and earned in the development of information systems and components in several ongoing and future DFD projects.

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

ukis-pysat-1.5.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

ukis_pysat-1.5.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file ukis-pysat-1.5.1.tar.gz.

File metadata

  • Download URL: ukis-pysat-1.5.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ukis-pysat-1.5.1.tar.gz
Algorithm Hash digest
SHA256 e6fcb28ba35a4d7aecbec23428082da433ac1243e34c2d1067f7515ff8d2b4fa
MD5 a66c90dbeb1d9d638d5e83480d6c77ae
BLAKE2b-256 040524452608fa6603ca7820dc5d759884e8eb66dafcd6c232e4705012c14f25

See more details on using hashes here.

File details

Details for the file ukis_pysat-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: ukis_pysat-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ukis_pysat-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59ffc4eadbe3c3a46d7c041616185d3d0277f41fa0d8af673c2227ab826e6ad0
MD5 ca1bd2f92e4c67827f6afc57c666f628
BLAKE2b-256 6c77273eae818080f4cd80044837371f80c9d8a42c4f92cc8701eee7ebd4bf0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page