From 21fbf4c9c2c2c31b5c2cafb3059b237e981cbda1 Mon Sep 17 00:00:00 2001 From: nperez Date: Thu, 29 Apr 2021 17:11:48 +0200 Subject: [PATCH] Format pdf vignettes fix --- vignettes/AgriculturalIndicators.Rmd | 6 ------ vignettes/EnergyIndicators.Rmd | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/vignettes/AgriculturalIndicators.Rmd b/vignettes/AgriculturalIndicators.Rmd index d72eed0..3d9300d 100644 --- a/vignettes/AgriculturalIndicators.Rmd +++ b/vignettes/AgriculturalIndicators.Rmd @@ -21,13 +21,11 @@ In the MEDGOLD project, 10 indicators which were identified as critical indices The computing functions and the corresponding indicators are listed as follows: ---- 1. **PeriodAccumulation -** Spring Total Precipitation (SprR) and Harvest Total Precipitation (HarvestR) 2. **PeriodMean -** Growing Season Temperature (GST) and Spring Mean Temperature Maximum (SPRTX) 3. **TotalTimeExceedingThreshold -** Number of Heat Stress Days - 35°C (SU35), 36°C (SU36), 40°C (SU40) and Spring Heat Stress Days - 32°C (Spr32) 4. **AccumulationExceedingThreshold -** Growing Degree Days (GDD) 5. **TotalSpellTimeExceedingThreshold -** Warm Spell Duration Index (WSDI) ---- The above functions can take both multidimensional arrays and the s2dv_cube objects (see note below). Taking PeriodAccumulation as example, **CST_**PeriodAccumulation handles the latter and PeriodAccumulation without the prefix can compute multidimensional arrays. @@ -35,11 +33,9 @@ The above functions can take both multidimensional arrays and the s2dv_cube obje There are some supplementary functions which must be called to smoothly run the above functions. ---- 1. **SelectPeriodOnData -** to select the data in the requested period 2. **SelectPeriodOnDates -** to select the time dimension in the requested period 3. **Threshold -** to convert absolute value/variable to its percentile, e.g., Warm Spell Duration Index uses the 90th percentile corresponding to each day instead of a fixed threshold. See how this function is applied in Section 5. ---- When the period selection is required, the `start` and `end` parameters have to be provided to cut out the portion in `time_dim`. Otherwise, the function will take the **entire** `time_dim`. @@ -285,11 +281,9 @@ For the function `TotalTimeExceedingThreshold`, **SU35** (Number of Heat Stress SU35 is defined as the Total count of days when daily maximum temperatures exceed 35°C in the seven months into the future. There are three indicators sharing the similar definition as SU35: SU36, SU40 and Spr32. Their definition are listed as follows. ---- 1. **SU36**: Total count of days when daily maximum temperatures exceed 36°C between June 21st and September 21st 2. **SU40**: Total count of days when daily maximum temperatures exceed 40°C between June 21st and September 21st 3. **Spr32**: Total count of days when daily maximum temperatures exceed 32°C between April 21st and June 21st ---- These indicators can be computed as well by using the function `TotalTimeExceedingThreshold` with different thresholds and periods indicated. diff --git a/vignettes/EnergyIndicators.Rmd b/vignettes/EnergyIndicators.Rmd index 1209c2d..3b3d90c 100644 --- a/vignettes/EnergyIndicators.Rmd +++ b/vignettes/EnergyIndicators.Rmd @@ -18,10 +18,9 @@ The energy sector is affected by the atmospheric ciruclation in many ways. On th Currently, this package provides two indicators for wind power generation: ---- 1. **WindPowerDensity -** Wind power that is available for extraction from the wind flow, per square meter of swept area. 2. **WindCapacityFactor -** Wind power generation of a wind turbine, normalized by the maximum power that the turbine can deliver (rated capacity). ---- + ### 1. Wind Power Density -- GitLab