Skip to content

brazil-data-cube/wtss-qgis

Repository files navigation

Python QGIS Plugin for Web Time Series Service

Software License Software Life Cycle Join the chat Join us at Discord

About

This is an implementation of the Web Time Series Service specification.

Web Time Series Service (WTSS) is a lightweight web service for handling time series data from remote sensing imagery. Given a location and a time interval you can retrieve the according time series as a JSON array of numbers.

The service called WTSS that has been developed by CGOBT (Coordenação Geral de Observação da Terra)/INPE aims to facilitate access to the satellite image time series (Queiroz et al., 2015; Vinhas et al., 2016). This service has been used in research projects, such as e-Sensing (FAPESP - grant 2014 / 08398-6), in the Amazon Biome Monitoring Program (PAMZ +) for data validation, in research projects of students from the graduate studies in Applied Computing, Remote Sensing and Earth System Science.

In WTSS a coverage is a three dimensional array associate to spatial and temporal reference systems.

WTSS is based on three operations:

  • list_coverages: this operation allows clients to retrieve the capabilities provided by any server that implements WTSS. Or simply put, it returns a list of coverage names available in a server instance. The server response is a JavaScript Object Notation (JSON) document. The names returned by this operation can be used in subsequent operations.
  • describe_coverage: this operation returns the metadata for a given coverage identifi ed by its name. It includes its range in the spatial and temporal dimensions;
  • time_series: this operation requests the time series of values of a coverage attribute at a given location.

The WTSS performs image recovery using the RasterIO data abstraction library. When a customer submits a request for a time series, the WTSS checks the cache, implemented through REDIS, if the series data is already properly structured and available. If the data is not in the cache, WTSS performs the recovery through the RasterIO library, storing the obtained data in the cache, before sending it to the client. This component was duly reviewed and tested with data from data cubes generated in the BDC project, such as the CBERS-4 cube based on the AWFI sensor. The acronym REDIS stands for REmote DIctionary Server (remote dictionary server), as mentioned earlier, this tool was used for the temporary storage of product information identified by the WTSS. This strategy allows an increase in the response speed between one search and another within the application, this service works in conjunction with the application establishing a client and server connection.

This implementation relies on the SpatioTemporal Asset Catalog specification. All the the coverages provided by the service are queried in STAC catalogs. Then the GDAL library is used to extract the time series for the specified location.

For more information on WTSS, see:

The following image presents an overview of the plugin:

WTSS-QGIS

Installation

See INSTALL.rst.

Unit Tests

See TESTS.rst.

References

  • VINHAS, L. ; QUEIROZ, G. R. ; FERREIRA, K. R. ; C MARA, G. Web Services for Big Earth Observation Data. RBC. REVISTA BRASILEIRA DE CARTOGRAFIA (ONLINE), v. 69, p. 6, 2016.
  • QUEIROZ, G. R.; FERREIRA, K. R.; VINHAS, L.; CAMARA, G.; COSTA, R. W.; Souza, R. C. M.; Maus,V. W.; Sanchez, A. WTSS: um serviço web para extração de séries temporais de imagens de sensoriamento remoto. In: Proceedings of the XVII Brazilian Symposium on Remote Sensing, pages 7553–7560. 2015.

License

Copyright (C) 2020 INPE.

Python QGIS Plugin for Web Time Series Service is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details.