This repository aims to compute climatologies from a region given a daily or hourly data set in form of raster and a shapefile where to compute the climatologies (average).
In the current version is tailored to use specific data structure from catalan met office (meteocat) and the data is only available under request.
All the data processing is stored in .tif format in form of monthly means, season and anual means.
The scripts are what follows:
main.R
: main script where all the functions are called and where all the workflow is visibleconfig.R
: list of necessary parameters to run the repositoryclim.R
: function that computes the climatologiescut.R
: funtion that cuts the raster provided a geometrydata_check.R
: checks what files exist or not and provides a list of existing and non existent data organized by months
Rscript main.R start_date final_date
i.e. Rscript main.R 20150101 20151231
whatch out! start_date has to be the first day of the month, final_date has to be the last date of the month
.TFG.pdf
: bachelor thesis, seasonal, anual precipitation climatologies, intensit analysis
Institution: University of Barcelona
.summer_intensity_analysis_2013-2020.pdf
: extra report, summer intensity distribution study
Institution: University of Innsbruck
Info about the packges and versions used in the last successful run can be found in 'packages.log'
Dirty scripts used some time to plot hystograms and rasters. Not operative but can be useful to have some ideas for further plots ;)
oper
branch is the opertive branch. Feel free to start from there. Open a pull request using dev-
prefix in the pull request name.
Author: Francesc Roura Adserias Personal page , 2022