Skip to content

NTNU-IndEcol/climateData

Repository files navigation

Climate Data Extraction Tool

A Dockerized web application for extracting climate data from NetCDF files based on country boundaries.

Features

  • Extract climate data for European countries
  • Support for multiple variables (t2m, ws10, ws100, ro, tcc, ssrd)
  • Multiple aggregation methods (daymean, daymax, daymin, daysum)
  • Whole country or power sub-region extraction
  • Percentile calculations and masking
  • CSV export with zip compression for sub-regions

Prerequisites

  • Docker
  • Docker Compose

Quick Start

  1. Clone this repository:
git clone <your-repository-url>
cd climate-data-app
  1. Set up data files (see DATA_SETUP.md):
mkdir -p data
mkdir -p download

Place world_power_region.geojson in data/, then create one folder per variable and put one NetCDF file per year inside it. Example:

data/
  world_power_region.geojson
  tcc/
    tcc_1994_dailymean.nc
    tcc_1994_daymax.nc
    tcc_1994_daymin.nc
    tcc_2000_dailymean.nc
    ...
  t2m/
    t2m_1994_dailymean.nc
    ...

daymean files may also be named dailymean; the backend accepts both.

  1. Run with Docker
docker-compose up --build

About

This tool is used to extract climate data in Europe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors