Skip to content

Commit

Permalink
Changes in yml early warnings
Browse files Browse the repository at this point in the history
Chages in the yml file for the early warnings pipeline
  • Loading branch information
mamolinab committed Jan 29, 2024
1 parent f980597 commit 78e6870
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions scripts/00_Early_Warnings_2/Early_Warnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,43 @@ inputs:
type: text
example: "scripts/00_Early_Warnings/input/dir_stack"
fun_summary:
label: fun_summary
description: 'Estadistica resumen de cada capa de la coleccion. https://rdrr.io/cran/terra/man/global.html'
type: options
label: summary function
description: 'Corresponds to the statistic by which you want to reduce the data collection. https://rdrr.io/cran/terra/man/global.html'
type: text
options:
- mean
- sum
- mode
example: mean
projection_factor:
label: projection_factor
description: 'Valor por el que se multiplican la cantidad maxima de periodos, para estimar hasta que periodo proyectar. Ej. si tienes 20 periodos, y el valor de proyeccion es 2, entonces se proyectara hasta 40 periodos'
label: projection factor
description: 'It corresponds to the number of additional periods for which you want to make the projection. If, for example, you wanted to project 100 periods and the collection has 60 periods, the value that must be set would be 40, so that there are 100 periods in total'
type: int
example: 2
example: 40
threshold:
label: threshold
description: 'Umbral en el que se detecta una alerta temprana. Si NULL cuando no se tiene claro, entonces se estima a partir de threshold_trend'
description: 'Value of the variable at which an early warning is detected. If NULL when not clear, then estimated from threshold_trend'
type: text
example: NULL
threshold_trend:
label: threshold_trend
description: "Funcion para estimar el Umbral de deteccion de alerta temprana. x corresponden a los datos observados, y la funcion sobre x a como se estima el umbral. Por ejemplo, para temperatura se toma la media de los 20 primeros periodos x[1:20] sumado a 1.5 x[1:20]+1.5"
label: threshold trend
description: "Function that determines the threshold value to detect early warning. In the case of temperature, the average of the first 20 periods is taken and 1.5 is added according to the literature. In the case of forest, 30% of the forest is found in year 1 of the collection is taken. When the projected values exceed this value, the alert is identified."
type: text
example: "mean(x[1:20])+1.5"
outputs:
grafica1_trend:
label: grafica1_trend
description: grafica1_trend
trend_figure:
label: trend figure
description: 'It corresponds to the trend graph of the variable of interest. This shows the variable summarized by the selected function for the area of interest and the threshold value.''
type: image/jpg
result_table:
label: result_table
description: result_table
label: result table
description: 'corresponds to the table that has the results of the analysis. This contains the collection periods, the value of the function that is chosen for the variable, the predicted values, the threshold value and the difference between the observed and predicted values.'
type: text/csv
threshold:
label: threshold
description: threshold
type: text
trend_raster:
label: trend_raster
description: trend_raster
label: trend raster
description: 'It corresponds to a raster layer in which each of the cells contains the trend value for all analysis periods.'
type: text

0 comments on commit 78e6870

Please sign in to comment.