Analysis6 min readStep-by-Step Guide

Spatial Subset Analysis

Complete step-by-step workflow for spatial climate data extraction using rectangles, polygons, admin borders, and file uploads.

Overview & Context

Spatial Subset Analysis allows you to isolate a custom geographic region, compute spatial statistics across all contained grid cells, and export the clipped raster data. You can define regions of interest using bounding rectangles, custom freehand polygons, official administrative boundaries, or uploaded vector files (GeoJSON, KML, Shapefile).

Step-by-Step Instructions

Step 1

Open Analysis Menu & Launch Spatial Subset Workflow

From the Map Explorer floating toolbar on the upper left, click the "Analysis" button. In the dropdown menu, click "Spatial Subset Analysis", then select "Spatial Subset Workflow".

ActionClick Analysis → Spatial Subset Analysis → Spatial Subset Workflow.
Step 1a: Click "Analysis" in the toolbar and select "Spatial Subset Analysis".
Enlarge
1/2
Step 1a: Click "Analysis" in the toolbar and select "Spatial Subset Analysis".
Step 1b: In the drill-down menu, click "Spatial Subset Workflow" to launch the wizard.
Enlarge
2/2
Step 1b: In the drill-down menu, click "Spatial Subset Workflow" to launch the wizard.
Step 2

Define Area of Interest (Spatial Region Mode)

The Spatial Subset Wizard opens at Step 1: "Location". You can define your area of interest using four flexible methods:

  • Rectangle: Drag an interactive bounding box across any region on the globe
  • Custom Polygon: Click multiple points to trace custom river basins, watersheds, or irregular zones
  • Admin Boundaries: Click on official national borders to select exact country boundaries
  • Upload File: Upload your own .geojson, .kml, or zipped .shp vector geometry
ActionChoose your desired region definition tool (Rectangle, Polygon, Admin Boundaries, or Upload File).
Step 2: Choosing an area definition method in the "Define Spatial Region" step.
Enlarge
Step 2: Choosing an area definition method in the "Define Spatial Region" step.
Step 3

Drawing Mode Option A: Rectangle (Bounding Box)

Selecting "Rectangle" enters drawing mode with a bottom notification bar. Click and drag across any area of the map to create a rectangular bounding box. The area is highlighted with a blue dashed border and its coordinate extents are captured automatically.

ActionClick and drag on the map to draw a rectangle bounding box.
Option A: Active rectangle drawing mode outlining a bounding region across Central Europe.
Enlarge
Option A: Active rectangle drawing mode outlining a bounding region across Central Europe.
Step 4

Drawing Mode Option B: Custom Polygon

Selecting "Polygon" enables multi-vertex boundary creation. Click anywhere on the map to place vertices outlining an irregular watershed, climate sub-region, or mountain range. The bottom controller displays the point count (e.g. "5 points placed"). Click "✓ Finish" or double-click to close the polygon loop.

ActionClick on the map to add vertices, then click "✓ Finish" to complete.
Option B: Custom polygon drawing mode with live vertex counters and Finish / Clear actions.
Enlarge
Option B: Custom polygon drawing mode with live vertex counters and Finish / Clear actions.
Step 5

Selection Mode Option C: Administrative Boundaries

Selecting "Admin Boundaries" enables vector boundary detection. Move your cursor across the globe to highlight national or regional administrative borders. Click on any country (for example, Austria) to select its exact territorial polygon.

ActionClick on any country on the map to select its administrative boundary.
Option C: Selecting official country borders (e.g. Austria) with interactive vector highlight.
Enlarge
Option C: Selecting official country borders (e.g. Austria) with interactive vector highlight.
Step 6

Selection Mode Option D: Upload Custom Boundary File

Selecting "Upload File" reveals a drag-and-drop zone. You can upload any standard vector boundary file: GeoJSON (.geojson, .json), Keyhole Markup Language (.kml), or a zipped Shapefile (.zip). The platform automatically extracts the vector geometry, projects it to WGS84, and previews it on the map.

ActionDrop a boundary file or click to browse (.geojson, .kml, or .zip).
Option D: Upload File mode with drag-and-drop zone supporting GeoJSON, KML, and zipped Shapefile formats.
Enlarge
Option D: Upload File mode with drag-and-drop zone supporting GeoJSON, KML, and zipped Shapefile formats.
Step 7

Configure Time Period (Point in Time or Time Range)

With your region confirmed (e.g. "Admin Subset — Admin Region: Austria"), click "Continue to Next Step". In Step 2: "Period", choose between a single "Point in Time" or a multi-day "Time Range". Use the calendar picker to select your date (e.g. June 10, 2021) and verify the resolution.

ActionSelect dates on calendar and click "Continue to Analyze".
Step 2 Period: Verifying the selected region (Austria) and picking the calendar date (Jun 10, 2021).
Enlarge
Step 2 Period: Verifying the selected region (Austria) and picking the calendar date (Jun 10, 2021).
Step 8

Review Selections & Run Spatial Analysis

At Step 3: "Analyze", review the summary cards confirming: Region (Austria), Period (2021-06-10 → 2021-06-10), and Dataset (ERA5 Land Average temperature). Click the dark navy button "Run Spatial Analysis" to trigger the backend WCS/GeoTIFF raster extraction pipeline.

ActionReview extraction parameters and click "Run Spatial Analysis".
Step 3 Analyze: Reviewing extraction parameters before launching the WCS/GeoTIFF raster pipeline.
Enlarge
Step 3 Analyze: Reviewing extraction parameters before launching the WCS/GeoTIFF raster pipeline.
Result & Interpretation

Spatial Analysis Complete & Clipped Area Preview

The extraction pipeline renders the clipped climate raster directly over the selected boundary on an interactive dark canvas preview, accompanied by summary metrics and immediate download options.

Result: Spatial Analysis Complete screen showing the clipped Austria temperature raster, parameter summary, and GeoTIFF download buttons.
Enlarge
Result: Spatial Analysis Complete screen showing the clipped Austria temperature raster, parameter summary, and GeoTIFF download buttons.

What You Should See:

  • Clipped climate raster rendered with high precision over the selected region (e.g. Austria)
  • Summary chips detailing Region (Austria), Date (2021-06-10), Dataset (ERA5_LAND_DAILY.TASMEAN), and Unit (°C)
  • Direct download of scientific floating-point raster via "Raw Data (.tif)"
  • Direct download of cartographically rendered colormap raster via "Styled Map (.tif)"
  • Quick parameter re-adjustment via "← Adjust Parameters" button

Best Practices & Notes

  • Use the "↑ Reopen" button in the drawing prompt bar if you need to switch drawing modes or reset your selection.
  • Custom polygons can contain dozens of vertices for complex natural river basin delineations.
  • GeoTIFF rasters (.tif) can be imported directly into QGIS, ArcGIS, or GDAL with embedded EPSG:4326 georeferencing.
  • Use "Raw Data (.tif)" if you intend to perform further quantitative modeling, or "Styled Map (.tif)" for immediate cartographic visualization.

Ready to test this in ClimateHub?

Launch the Map Explorer to test this workflow with live global ERA5-Land climate data.

Launch Map Explorer