Code Monkey home page Code Monkey logo

swdt's Introduction

General

The Sentinel-1 Water Dynamics Toolkit (SWDT) is a Shiny application for processing Senintel-1 image time series to water dynamic maps. Currently the application includes prepared Sentinel-1 GRD images of the Fuente de Piedra Lagoon in Spain from January to December 2017.

The development of SWDT is supported by the Remote Sensing Section of the Department of Geography at Friedrich-Schiller University Jena.

Installation

You can download the whole application with demo data from Github and restore the missing packages with packrat.

Data

Adding your own data involves several steps at the moment.

  • Pre-processing of Sentinel-1 GRD images with the pyroSAR python library
  • Projection to EPSG 3857 and same extent
  • Supplying an area of interest as a shapefile in EPSG 3857
  • Converting of the pre-processed Sentinel-1 images to png files (utilities/tif_to_png.R)

After the data is pre-processed you have to add the following lines to the config.xml file into the config tags.

<aoi>
  <name>Fuente</name>
  <images>./data/fuente</images>
  <shape>./data/fuente</shape>
  <thumbs>/thumb/fuente</thumbs>
</aoi>
  • <name> Name of area of interest
  • <images> Path to directory with Sentinel-1 raster files
  • <shape> Path to aoi shapefile
  • <thumbs> Path to directory with Sentinel-1 png files

<images> and <shape> can be an absolute paths or a path relative to the shiny app root. <thumbs> must be a folder in the ./www folder of the shiny app.

Features

  • Instant results in full-screen leaflet maps
  • Parallel processing of minimum and maximum backscatter of Senintel-1 time series with tsar package
  • Set classification parameters interactively with histograms
  • Already calculated time series are cached and stored in a sqlite database

Technical features

SWDT can give you some inspiration for your own shiny application.

Reactivity and modules

  • Pass information between multiple shiny modules with reactive lists
  • Add features to a plot by clicking inside
  • Complex reactivity between multiple input widgets on the same reactive value

Shiny

  • Filter DT tables with input widgets
  • Use modals and progression bars
  • Disable navigation bar elements and buttons

Styling

  • Customize ggplot2 with showtext fonts to create a consistent layout
  • CSS modifications to customize the appearance of DTOutput
  • Right floating text in navigation bar

Leaflet for R

  • Add Leaflet.OpacityControls plugin to Leaflet for R
  • Add referenced png images to map
  • Change the label of categorical legend entries

swdt's People

Contributors

be-marc avatar johntruckenbrodt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.