pacificclimate/climate-explorer-frontend

View on GitHub
public/variable-options.yaml

Summary

Maintainability
Test Coverage
################################################################
# variable-options.yaml - variable-specific configuration file
#
# This file supplies default display options about climate
# variables. Each variable is referred to using the name that
# appears in the netcdf variables listing.
#
# Available options are:
#   - decimalPrecision
#        INTEGER
#        number of digits after the decimal point to display on
#        graphs and map legends (default: 2)
#   - overrideLogarithmicScale
#        BOOLEAN
#        if true, allows clipping this variable to a positive
#        range and displaying with a logarithmic scale on map
#        views, even when the range of the variable contains
#        negative values (default: false)
#   - defaultRasterPalette
#        NCWMS PALETTE (see options here: http://goo.gl/J4Q5PD )
#        the default colour scheme used to show this variable
#        on a map. (default: seq-Greys)
#   - percentageAnomalies
#        BOOLEAN
#        if true, projected anomalies for this variables will
#        be expressed as percentages, not nominal values, in
#        graphs and tables that display anomalies
#        (default: false)
#   - shiftAnnualCycle
#        LIST OF VARIABLE NAMES
#        if this variable is displayed for comparison with one
#        of the variables in the list in an Annual Cycle Graph,
#        their lines will be shifted apart vertically. This helps
#        clarify variables whose values move in parallel over the
#        course of a year, such as tasmax and tasmin.
#        (default: none)
#   - userFriendlyUnits
#        LIST OF UNIT1: UNIT2 PAIRS
#        UNIT2, an equivalent but more user-friendly version of
#        UNIT1, will be substituted for UNIT1 in user-visible
#        displays like graphs and tables.
#        (default: no substitutions)
#   - menuGroup
#        INTEGER
#        variables with the same menuGroup number will be
#        displayed together in the variable dropdown menu
#        to make it easier for the user to find related
#        variables and match their descriptions to the
#        help file.
#        0: model output
#        1: climdex
#        2: degree-days
#        3: return periods
#        (default: MAXINT - uncategorized data is listed last)
#   - seriesLegendString
#        STRING
#        This string appears in the legends of charts and graphs
#        asociated with this variable, such as "2010-2039 STRING".
#        (default: "Mean")
################################################################

#GCM output variables
tasmin:
  decimalPrecision: 1
  shiftAnnualCycle:
    - tasmax
  menuGroup: 0

tasmax:
  decimalPrecision: 1
  shiftAnnualCycle:
    - tasmin
  menuGroup: 0

pr:
  overrideLogarithmicScale: true
  defaultRasterPalette: seq-Greens
  percentageAnomalies: true
  #decimalPrecision: 0
  userFriendlyUnits:
    - kg m-2 d-1: mm/day
    - kg d-1 m-2: mm/day
  menuGroup: 0

prsn:
  overrideLogarithmicScale: true
  percentageAnomalies: true
  menuGroup: 0

#CLIMDEX variables
altcddETCCDI:
  decimalPrecision: 0
  menuGroup: 1

altcsdiETCCDI:
  decimalPrecision: 0
  menuGroup: 1

altcwdETCCDI:
  decimalPrecision: 0
  menuGroup: 1

altwsdiETCCDI:
  decimalPrecision: 0
  menuGroup: 1

cddETCCDI:
  decimalPrecision: 0
  menuGroup: 1

csdiETCCDI:
  decimalPrecision: 0
  menuGroup: 1

cwdETCCDI:
  decimalPrecision: 0
  menuGroup: 1

dtrETCCDI:
  decimalPrecision: 1
  menuGroup: 1

fdETCCDI:
  decimalPrecision: 0
  menuGroup: 1
  seriesLegendString: Mean Count

gslETCCDI:
  decimalPrecision: 0
  menuGroup: 1

idETCCDI:
  decimalPrecision: 0
  menuGroup: 1

prcptotETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

rx1dayETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

rx5dayETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

r1mmETCCDI:
  decimalPrecision: 0
  menuGroup: 1

r10mmETCCDI:
  decimalPrecision: 0
  menuGroup: 1

r20mmETCCDI:
  decimalPrecision: 0
  menuGroup: 1

r95pETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

r99pETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

sdiiETCCDI:
  percentageAnomalies: true
  decimalPrecision: 0
  menuGroup: 1

suETCCDI:
  decimalPrecision: 0
  menuGroup: 1

tn10pETCCDI:
  decimalPrecision: 0
  menuGroup: 1

tn90pETCCDI:
  decimalPrecision: 0
  menuGroup: 1

tnnETCCDI:
  decimalPrecision: 1
  menuGroup: 1

tnxETCCDI:
  decimalPrecision: 1
  menuGroup: 1

trETCCDI:
  decimalPrecision: 1
  menuGroup: 1

tx10pETCCDI:
  decimalPrecision: 0
  menuGroup: 1

tx90pETCCDI:
  decimalPrecision: 0
  menuGroup: 1

txnETCCDI:
  decimalPrecision: 1
  menuGroup: 1

txxETCCDI:
  decimalPrecision: 1
  menuGroup: 1

wsdiETCCDI:
  decimalPrecision: 0
  menuGroup: 1

#degree-day variables
cdd:
  decimalPrecision: 0
  menuGroup: 2
  seriesLegendString: Mean Count

fdd:
  decimalPrecision: 0
  menuGroup: 2
  seriesLegendString: Mean Count

gdd:
  decimalPrecision: 0
  menuGroup: 2
  seriesLegendString: Mean Count

hdd:
  decimalPrecision: 0
  menuGroup: 2
  seriesLegendString: Mean Count

#return period variables
rp20pr:
  decimalPrecision: 0
  percentageAnomalies: true
  menuGroup: 3

rp20tasmax:
  decimalPrecision: 1
  menuGroup: 3

rp20tasmin:
  decimalPrecision: 1
  menuGroup: 3

rp50pr:
  decimalPrecision: 0
  percentageAnomalies: true
  menuGroup: 3

rp50tasmax:
  decimalPrecision: 1
  menuGroup: 3

rp50tasmin:
  decimalPrecision: 1
  menuGroup: 3

rp5pr:
  decimalPrecision: 0
  percentageAnomalies: true
  menuGroup: 3

rp5tasmax:
  decimalPrecision: 1
  menuGroup: 3

rp5tasmin:
  decimalPrecision: 1
  menuGroup: 3