TFG

Barcelona Metropolitan Area (AMB) Vegetation Analysis

Spatiotemporal analysis of vegetation dynamics in the Barcelona Metropolitan Area using Landsat data from 1985-2025.

Project Structure

TFG/
├── data/
│   ├── raw/                 # Landsat annual composites
│   ├── processed/           # Processed NDVI and multidimensional raster data
│   └── boundaries/          # AMB and municipal boundaries
├── config/                  # Configuration files
├── scripts/
│   ├── analysis/            # Change point detection, segmentation
│   ├── processing/          # Data preparation and normalization
│   └── visualization/       # 3D and dashboard visualizations
├── outputs/                 # Analysis results, maps, dashboards
└── logs/                    # Log files and summary statistics

Setup

Create and activate the conda environment:

conda env create -f environment.yml
conda activate tfg

Data Requirements

Data Acquisition

The Google Earth Engine script for data acquisition is located in scripts/processing/landsat_data_acquisition.js:

  1. Copy the script to GEE Code Editor
  2. Run to export annual composites to Google Drive
  3. Download files and place in data/raw/
  4. Files should be named: 1984.tif, 1985.tif, …, 2025.tif

Basic Usage

  1. Place Landsat data in data/raw/
  2. Add boundary files to data/boundaries/
  3. Configure parameters in config/config.yaml
  4. Run analysis and visualization scripts from scripts/

Documentation


Bachelor’s thesis project on vegetation change detection using space-time cube methodology.