Spatial Subset Analysis
Complete step-by-step workflow for spatial climate data extraction using rectangles, polygons, admin borders, and file uploads.
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
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".


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

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.

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.

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.

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.

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.

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.

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.

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.