Introduction
SITS
is a high-level Python package which aims to ease the extraction of Satellite Images Time Series (SITS) referenced in STAC catalogs. For each given point or polygon, it delivers image or csv files, with specified dimensions if necessary (e.g. deep learning patches).
Motivation
This Python package has been developed for those who want to extract satellite information without spending too much time to understand how to handle pyStac api and some other geospatial librairies. Now the tool proposes 2 modules:
The
sits
is the core module for requesting and downloading satellite time-series.
It contains the following classes:
The
sits.Csv2gdf
allows you to convert a csv table with coordinates into a geodataframe object.The
sits.StacAttack
requests STAC catalog to extract the satellite information needed. It also applies binary masks and gap-fill the nodata pixels.The
sits.Labels
creates labels’ image for training/testing.The
sits.Multiproc
enables the launch of SITS.StacAttack in a mutiprocessing mode.
The
export
is a sub-module for loading netcdf file and exporting it as animated gif file.
It contains the following class:
The
export.Sits_ds
allows you to load a netcdf file as an xarray.Dataset and convert it as an animated gif file.
Limitations
The current implementation has been developed and tested in Python 3.
The developments are still in progress.