Skip to content

Floating Forests

Amy Boyer edited this page Aug 23, 2019 · 14 revisions

The Floating Forests development Pipeline follows (with PipelineStages inlined for clarity; note that I can't promise this is valid JSON):

     {
      "type": "Pipeline",
      "id": "1",
      "attributes": {
        "name": "First Pipeline",
        "workflow_id": null,
        "multiple_subject_sets": true,
        "subject_set_id": null
      },
      "relationships": {
        "pipeline_stages": {
          "data": [
            {
              "type": "PipelineStage",
              "id": "2",
              "attributes": {
                  "sort_order": 1,
                  "output_format": null,
                  "operation": "image_operations.remap_image",
                  "select_images": [
                      "swir-1",
                      "nir",
                      "blue"
                  ],
                  "config": {}
              },
            },
            {
              "type": "PipelineStage",
              "id": "3",
              "attributes": {
                  "sort_order": 2,
                  "output_format": "png",
                  "operation": "image_operations.resize_image",
                  "select_images": [
                      "swir-1",
                      "nir",
                      "blue"
                  ],
                  "config": {
                      "width": 3000,
                      "height": 3000
                  }
              },
            },
            {
              "type": "PipelineStage",
              "id": "4",
              "attributes": {
                  "sort_order": 3,
                  "output_format": "png",
                  "operation": "image_operations.compose_images",
                  "select_images": [
                      "swir-1",
                      "nir",
                      "blue"
                  ],
                  "config": {
                      "red": "swir-1",
                      "blue": "blue",
                      "green": "nir",
                      "filename": "composite"
                  }
              },
            },
            {
              "type": "PipelineStage",
              "id": "6",
              "attributes": {
                  "sort_order": 4,
                  "output_format": "jpg",
                  "operation": "image_operations.tile_image",
                  "select_images": [
                      "composite"
                  ],
                  "config": {
                      "tile_size": 500,
                      "tile_overlap": 50,
                      "output_directory": "tiles"
                  }
              }
            },
            {
              "type": "PipelineStage",
              "id": "8"
            },
            {
              "type": "PipelineStage",
              "id": "5"
            }
          ]
        }
Clone this wiki locally