Skip to contents

Function that calculate delta for all stations and one couple of RCP/Scenario and one period.

Usage

saveDeltaIndicators(
  indicator_name,
  indicator,
  stations = getGRiwrm()$id,
  hist,
  rcp,
  period,
  breaks,
  path,
  cfg = loadConfig()
)

Arguments

indicator_name

character indicator selected

indicator

list with all indicators calculated for each RCP/scenarios, each stations & eache period

stations

vector id of all stations used

hist

matrix historical datas

rcp

character selected rcp

period

character selected period (defined in config.yml)

breaks

vector values to define heat map scale

path

Path to save location

cfg

config file

Value

save delta calculation result as tsv file & a ploted map for Q indicators