Sentinel 2 example

ecology-remote-sensing/sentinel-2-example

Author(s)
Marie Josse
version Version
1
last_modification Last updated
Apr 13, 2023
license License
CC-BY-4.0
galaxy-tags Tags

Features

Tutorial
hands_on Sentinel 2 biodiversity

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00060
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on (Dev) WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nSENTINEL2A_20230214-105638-781_L2A_T31UET_D.zip"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["Preprocess sentinel 2 data"];
  0 -->|output| 1;
  2["Compute spectral indices"];
  1 -->|output_refl| 2;
  3["Compute biodiversity indices"];
  1 -->|output_refl| 3;
  4["Map diversity"];
  1 -->|output_refl| 4;

Inputs

Input Label
Input dataset SENTINEL2A_20230214-105638-781_L2A_T31UET_D.zip

Outputs

From Output Label
toolshed.g2.bx.psu.edu/repos/ecology/srs_preprocess_s2/srs_preprocess_s2/0.0.1 Preprocess sentinel 2 data
toolshed.g2.bx.psu.edu/repos/ecology/srs_spectral_indices/srs_spectral_indices/0.0.1 Compute spectral indices
toolshed.g2.bx.psu.edu/repos/ecology/srs_global_indices/srs_global_indices/0.0.1 Compute biodiversity indices
toolshed.g2.bx.psu.edu/repos/ecology/srs_diversity_maps/srs_diversity_maps/0.0.1 Map diversity

Tools

Tool Links
toolshed.g2.bx.psu.edu/repos/ecology/srs_diversity_maps/srs_diversity_maps/0.0.1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/ecology/srs_global_indices/srs_global_indices/0.0.1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/ecology/srs_preprocess_s2/srs_preprocess_s2/0.0.1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/ecology/srs_spectral_indices/srs_spectral_indices/0.0.1 View in ToolShed

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands-on: Importing a workflow
  • Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
  • Click on galaxy-upload Import at the top-right of the screen
  • Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  • Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
1 9ec32f916 2023-04-11 10:06:07 Add workflow

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/ecology/tutorials/remote-sensing/workflows/Sentinel-2-example.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows