MATLAB code for wildfire-induced changes in surface radiative balance

This repository contains the MATLAB code used for selected data processing, analysis, and figure generation 

The code is organized into three main folders:

1. data_fetch

This folder contains the scripts used for data extraction, preprocessing, and calculation of the main variables used in the study, including:

Surface albedo

Land surface temperature

Leaf area index

Surface radiation components

The scripts are used to extract the required variables from the original datasets and to perform the intermediate calculations needed for the subsequent analyses.

2. analyse
This folder contains the scripts used for the main statistical and diagnostic analyses presented in the study.

These scripts process the prepared datasets and are used to quantify wildfire-induced changes in surface properties and radiative balance across different ecosystems.


3. fig

This folder contains the scripts used to generate the maps and other figures presented in the manuscript and supplementary materials.

Software requirements

The code was developed and tested using MATLAB.

MATLAB:
https://www.mathworks.com/

Some scripts may require additional MATLAB toolboxes depending on the specific analysis or plotting routine used.

Input data

The input datasets used in this study are not included in this repository.

The scripts require the corresponding remote-sensing and/or reanalysis datasets described in the manuscript. Users should obtain these datasets from their original data providers and adjust the input file paths in the scripts accordingly.

Please refer to the Data Availability Statement in the associated manuscript for information on the datasets used in this study.
