ch.wsl.fireindices.functions

Functions

object Functions

Contains all the core functions for the calculation of the indices, using single values as inputs.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Functions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Angstroem(T13: Double, H13: Double): Double

    Computes Angstroem index value

    Computes Angstroem index value

    returns

    Angstroem index value

  7. def BUI(DMC: Double, DC: Double): Double

    Computes Buildup index (canadian index)

    Computes Buildup index (canadian index)

    DC

    DC index value

    returns

    BUI index value

  8. def Baumgartner(FivePrecDaysPETpen: Double, FivePrecDaysRain: Double): Double

    Computes Baumgartner index

    Computes Baumgartner index

    FivePrecDaysPETpen

    cumulative sum of five previous days PET penmann value (PET values should be calculated at 14:00)

    FivePrecDaysRain

    cumulative sum of five previous days rainfall

    returns

    Baumgartner index value

  9. def BaumgartnerDanger(BaumgartnerIndex: Double, month: Int): Double

    Computes Baumgartner Danger classes (form March to September)

    Computes Baumgartner Danger classes (form March to September)

    BaumgartnerIndex

    Baumgartner Index

    month

    month umber (3-9)

    returns

    Baumgartner Danger classes

  10. def D1000(EMC24: Double, PDur: Double): Double

    Computes weighted 24-hour average moisture condition for 1000-hour timelag model (Brandshaw et al.

    Computes weighted 24-hour average moisture condition for 1000-hour timelag model (Brandshaw et al. 1983)

    EMC24

    weighted 24-hour average Equilibrium moisture content

    PDur

    precipitation duration [hours]

    returns

    1000-hour timelag fuel moisture [%]

  11. def DC(prev: Double, date: Long, P12: Double, T12: Double, snowcover: Int, start: Double = 15.0): Double

    Computes Drought code (canadian index)

    Computes Drought code (canadian index)

    prev

    previous day DC value

    date

    current date

    T12

    temperature at noon (12:00)

    snowcover

    snowcover (0/1)

    start

    start value for initialization

    returns

    DC index value

  12. def DFgriffith(lastRainSum: Double, rainEventAge: Double, KBDISI: Double): Double

    Computes Drought Factor after Griffith 1999 The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm inFinkele 2006).

    Computes Drought Factor after Griffith 1999 The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm inFinkele 2006).

    lastRainSum

    cumulative sum of last rain event

    rainEventAge

    rain event age (number of days since the day with the largest daily rainfall amount within the rain event, Finkele 2006)

    KBDISI

    current KBDISI value [mm]

    returns

    FFDI index value

  13. def DFgriffithAdj(lastRainSum: Double, rainEventAge: Double, KBDISI: Double): Double

    Computes Drought Factor after Griffith 1999 and adjusted (Finkele et al.

    Computes Drought Factor after Griffith 1999 and adjusted (Finkele et al. 2006) The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm inFinkele 2006).

    lastRainSum

    cumulative sum of last rain event

    rainEventAge

    rain event age (number of days since the day with the largest daily rainfall amount within the rain event, Finkele 2006)

    KBDISI

    current KBDISI value [mm]

    returns

    FFDI index value

  14. def DFnoble(lastRainSum: Double, daysSinceRainfall: Double, KBDISI: Double): Double

    Computes Drought Factor after Noble 1980

    Computes Drought Factor after Noble 1980

    lastRainSum

    cumulative sum of last consecutive rainfall

    daysSinceRainfall

    consecutive days without rainfall

    KBDISI

    current KBDISI value [mm]

    returns

    FFDI index value

  15. def DMC(prev: Double, date: Long, P12: Double, T12: Double, H12: Double, snowcover: Int, latitude: Double = Double.NaN, start: Double = 6.0): Double

    Computes duff moisture code (canadian index)

    Computes duff moisture code (canadian index)

    prev

    previous day DMC value

    T12

    temperature at noon (12:00)

    H12

    relative humidity at noon (12:00)

    snowcover

    snowcover (0/1)

    latitude

    latitude of location (if NaN will use only the standard table to get daylength (no latitude influence)

    start

    start value for initialization

    returns

    DMC index value

  16. def DaylightHoursFAO(todayDate: Long, latitude: Double): Double

    Computes DayLightHoursFAO

    Computes DayLightHoursFAO

    todayDate

    Date in millisec

    latitude

    Latitude of location

    returns

    Number of daylight hours FAO

  17. def DaylightHoursNFDRS(todayDate: Long, latitude: Double): Double

    Computes DayLightHoursNFDRS

    Computes DayLightHoursNFDRS

    todayDate

    Date in millisec

    latitude

    Latitude of location

    returns

    Number of daylight hours NFDRS

  18. def DaysSinceRain(prev: Double, RainTreshold: Double, P: Double): Double

    Computes the number of consecutive days without rainfall (or below a threshold)

    Computes the number of consecutive days without rainfall (or below a threshold)

    prev

    previous number of consecutive days without rainfall [-]

    P

    daily rainfall amount [mm]

    returns

    consecutive days without rainfall

  19. def EMC(T: Double, H: Double): Double

    Computes equilibrium moisture content (Simard 1968)

    Computes equilibrium moisture content (Simard 1968)

    T

    Temperature [°C]

    H

    Relative Humidity [%]

    returns

    Equilibrium moisture content

  20. def EMC24(Tmin: Double, Tmax: Double, Hmin: Double, Hmax: Double, N: Double): Double

    Computes weighted 24-hour average EMC (Brandshaw et al.

    Computes weighted 24-hour average EMC (Brandshaw et al. 1983)

    Tmin

    minimum Temperature

    Tmax

    maximum Temperature

    Hmin

    minimum Relative Humidity

    Hmax

    maximum Relative Humidity

    N

    daylength [hours]

    returns

    weighted 24-hour average Equilibrium moisture content

  21. def EMCfa(T: Double, H: Double, Cc: Double): Double

    Computes equilibrium moisture content at the fuel-atmosphere interface (Brandshaw et al.

    Computes equilibrium moisture content at the fuel-atmosphere interface (Brandshaw et al. 1983)

    T

    Temperature

    H

    Relative Humidity

    Cc

    Cloud cover fraction [ratio]

    returns

    Equilibrium moisture content

  22. def Ea(T: Double, H: Double): Double

    Computes actual vapour pressure, according to Allen et al.

    Computes actual vapour pressure, according to Allen et al.(1998)

    T

    temperature [C]

    H

    relative humidity [%]

    returns

    actual vapour pressure [kPa]

  23. def Es(T: Double): Double

    Computes saturation vapour pressure, according to Allen et al.

    Computes saturation vapour pressure, according to Allen et al.(1998), eq.11

    T

    Temperature [C]

    returns

    saturation vapour pressure [kPa]

  24. def FFDI(DF: Double, T15: Double, H15: Double, U15: Double): Double

    Computes MacArthur 5 index (FFDI)

    Computes MacArthur 5 index (FFDI)

    DF

    Drought Factor

    T15

    air temperaure at 15:00

    H15

    relative humidity at 15:00

    U15

    Wind speed at 15:00 [m/s]

    returns

    FFDI index value

  25. def FFMC(prev: Double, P12: Double, T12: Double, H12: Double, U12: Double, snowcover: Int, start: Double = 85.0): Double

    Computes fine fuel moisture code (canadian index)

    Computes fine fuel moisture code (canadian index)

    prev

    previous day FFMC value

    T12

    temperature at noon (12:00)

    H12

    relative humidity at noon (12:00)

    U12

    wind speed at noon (12:00)

    snowcover

    snowcover (0/1)

    start

    start value for initialization

    returns

    FFMC index value

  26. def FFWI(EMC: Double, U: Double): Double

    Computes Fosberg index value

    Computes Fosberg index value

    U

    Wind speed average [m/s]

    returns

    Fosberg index value

  27. def FFWI(T: Double, H: Double, U: Double): Double

    Computes Fosberg index value

    Computes Fosberg index value

    T

    Temperature average [°C]

    H

    Relative humidity [%]

    U

    Wind speed average [m/s]

    returns

    Fosberg index value

  28. def FFWImod(KBDI: Double, FFWI: Double): Double

    Computes the modified Fosberg index value

    Computes the modified Fosberg index value

    KBDI

    KBDI [inch/100]

    FFWI

    Fosberg index value (original)

    returns

    modified Fosberg index value

  29. def FMI(T: Double, H: Double): Double

    Computes FMI index value

    Computes FMI index value

    T

    Temperature average [°C]

    H

    Relative humidity [%]

    returns

    FMI index value

  30. def FWI(BUI: Double, ISI: Double): Double

    Computes Fire weather index in S-scale(canadian index)

    Computes Fire weather index in S-scale(canadian index)

    BUI

    BUI index value

    ISI

    ISI index value

    returns

    FWI index value

  31. def I(Tm: Seq[Double]): Double

    Computes heatIndex I (for PET Thorntwaite)

    Computes heatIndex I (for PET Thorntwaite)

    Tm

    monthly mean temperatures (12 values)

    returns

    heat index

  32. def I87(T: Double, H: Double, U: Double, P: Double, r: Double, rs: Double, PC: Int): Double

    Computes the I87 fire danger index, according to Carrega 1988.

    Computes the I87 fire danger index, according to Carrega 1988.

    Dew has been omitted.

    T

    air temperature

    H

    air humidity [%]

    U

    wind speed [m/s]

    P

    rainfall [mm]

    r

    Orieux soil water reserve [mm]

    rs

    Carrega surface soil water reserve [mm]

    PC

    phenological coefficient

    returns

    I87 index

  33. def IG(T12: Double, Tdew12: Double): Double

    Computes the Ignition index (step for the Portuguese index Ifa).

    Computes the Ignition index (step for the Portuguese index Ifa).

    T12

    air temperature at noon

    Tdew12

    dewpoint temperature at noon

    returns

    numerical risk index value

  34. def ISI(FFMC: Double, U12: Double): Double

    Computes Initial spread index (canadian index)

    Computes Initial spread index (canadian index)

    FFMC

    FFMC index value

    U12

    wind speed at noon (12:00)

    returns

    ISI index value

  35. def Ifa(dates: List[Long], IG: List[Double], P: List[Double], U: List[Double], FireSeasonStart: Long, FireSeasonEnd: Long): List[Double]

    Computes the Ifa index (Portuguese index).

    Computes the Ifa index (Portuguese index).

    IG

    ignition index

    P

    rainfall [mm]

    U

    wind speed [m/s]

    FireSeasonStart

    start of fire season [msec]

    FireSeasonEnd

    end of fire season [msec]

    returns

    Ifa index value

  36. def KBDI(prev: Double, PweekThreshold: Double, AnnualRainAVG: Double, Tmax: Double, RainSum: Double, P: Double, WeeklyRain: Double): Double

    Computes KBDI index value

    Computes KBDI index value

    prev

    previous day KBDI Value

    PweekThreshold

    weekly rain threshold to initialize index

    AnnualRainAVG

    Annual rainfall average [mm]

    Tmax

    Maximal temperature [°C]

    RainSum

    sum of consecutive rainfall [mm]

    P

    Rainfall amount [mm]

    returns

    KBDI index value

  37. def KBDI_SI(prev: Double, PweekThreshold: Double, AnnualRainAVG: Double, Tmax: Double, SumPrevRain: Double, P: Double, WeeklyRain: Double): Double

    Computes KBDISI index value

    Computes KBDISI index value

    prev

    previous day KBDI Value

    PweekThreshold

    weekly rain threshold to initialize index

    AnnualRainAVG

    Annual rainfall average [mm]

    Tmax

    Maximal temperature [°C]

    SumPrevRain

    sum of consecutive rainfall [mm]

    P

    Rainfall amount [mm]

    returns

    KBDISI index value

  38. def M68(pM68: List[Double], currentDate: List[Long], P: List[Double], birchPhase: List[Int], robiniaPhase: List[Int], vegCorrStep3Start: Long, vegCorrStep3End: Long): List[Double]

    Computes M68 Value (precipitation & vegetation corrected with fields for phenological phases)

    Computes M68 Value (precipitation & vegetation corrected with fields for phenological phases)

    pM68

    list of pM68 values

    currentDate

    list of dates (millisec)

    P

    lis of rainfall values

    birchPhase

    list of birch leaves phenological phase (0/1)

    robiniaPhase

    list of robinia blossom phenological phase (0/1)

    vegCorrStep3Start

    first date for vegetation correction (millisec)

    vegCorrStep3End

    second date for vegetation correction (millisec)

    returns

    M68 vegetation correction value

  39. def M68(pM68: List[Double], currentDate: List[Long], P: List[Double], birchPhase: Long, robiniaPhase: Long, vegCorrStep3Start: Long, vegCorrStep3End: Long): List[Double]

    Computes M68 Value (precipitation & vegetation corrected) omitted phenological phases

    Computes M68 Value (precipitation & vegetation corrected) omitted phenological phases

    pM68

    list of pM68 values

    currentDate

    list of dates (millisec)

    P

    lis of rainfall values

    birchPhase

    date start of birch leaves phenological phase (millisec)

    robiniaPhase

    date start of robinia blossom phenological phase (millisec)

    vegCorrStep3Start

    first date for vegetation correction (millisec)

    vegCorrStep3End

    second date for vegetation correction (millisec)

    returns

    M68 vegetation correction value

  40. def MC1(EMCfa: Double): Double

    Computes 1-hour timelag fuel moisture (Brandshaw et al.

    Computes 1-hour timelag fuel moisture (Brandshaw et al. 1983)

    EMCfa

    equilibrium moisture content at the fuel-atmosphere interface

    returns

    1-hour timelag fuel moisture [%]

  41. def MC10(EMCfa: Double): Double

    Computes 10-hour timelag fuel moisture (Brandshaw et al.

    Computes 10-hour timelag fuel moisture (Brandshaw et al. 1983)

    EMCfa

    equilibrium moisture content at the fuel-atmosphere interface

    returns

    10-hour timelag fuel moisture [%]

  42. def MC100(prev: Double, EMC24: Double, PDur: Double): Double

    Computes 100-hour timelag fuel moisture (Brandshaw et al.

    Computes 100-hour timelag fuel moisture (Brandshaw et al. 1983)

    prev

    previous'day value

    EMC24

    weighted 24-hour average Equilibrium moisture content

    PDur

    precipitation duration [hours]

    returns

    100-hour timelag fuel moisture [%]

  43. def MC1000(EMC24: List[Double], PDur: List[Double]): List[Double]

    Computes 1000-hour timelag fuel moisture (Brandshaw et al.

    Computes 1000-hour timelag fuel moisture (Brandshaw et al. 1983)

    EMC24

    weighted 24-hour average Equilibrium moisture content

    PDur

    precipitation duration [hours]

    returns

    1000-hour timelag fuel moisture [%]

  44. def Munger(prev: Double, P: Double): Double

    Computes Munger index value

    Computes Munger index value

    prev

    previous day Munger Value

    P

    daily rainfall amount [mm]

    returns

    Munger index value

  45. def Nesterov(prev: Double, T15: Double, Tdew15: Double, P: Double): Double

    Computes Nesterov index value

    Computes Nesterov index value

    prev

    previous day Nesterov Value

    T15

    temperature at 15:00

    Tdew15

    dewpoint temperature at 15:00

    P

    daily rainfall amount [mm]

    returns

    Nesterov index value

  46. def OrieuxDanger(r: Double, U: Double): Double

    Computes Orieux index (soil water reserve).

    Computes Orieux index (soil water reserve).

    r

    soil water reserve [mm]

    U

    wind speed [m/s]

    returns

    Orieux index (1 usual, 2high, 3 very high fire danger)

  47. def PDur(P: Double, Climate: Int): Double

    Approximates precipitation duration in a day [h]

    Approximates precipitation duration in a day [h]

    P

    rainfall [mm]

    Climate

    climate class (Deeming et al. 1977) [1-4]

    returns

    precipitation duration in a day [h]

  48. def PETpen(netRad: Double, T: Double, U: Double, vpd: Double, altitude: Double): Double

    Computes Potential evapotranspiration (Penman formula), after Shuttleworth (1993)

    Computes Potential evapotranspiration (Penman formula), after Shuttleworth (1993)

    netRad

    net radiation value

    T

    temperature

    U

    wind speed

    vpd

    vapor pressure deficit value

    altitude

    altitude of location

    returns

    potential evapotranspiration value (Penman formula)

  49. def PETthorn(T: Double, daylightHour: Double, I: Double): Double

    Computes potential evapotranspiration after Thorntwaite [mm/day]

    Computes potential evapotranspiration after Thorntwaite [mm/day]

    T

    temperature

    daylightHour

    daylightHour

    I

    heat index

    returns

    potential evapotranspiration after Thorntwaite [mm/day]

  50. def PETthorn_camargo(Tmin: Double, Tmax: Double, daylightHour: Double, I: Double): Double

    Computes potential evapotranspiration after Thorntwaite [mm/day] with Camargo et al.

    Computes potential evapotranspiration after Thorntwaite [mm/day] with Camargo et al. 1999 correction

    Tmin

    minimum daily temperature

    Tmax

    maximum daily temperature

    daylightHour

    daylightHour

    I

    heat index

    returns

    potential evapotranspiration after Thorntwaite [mm/day]

  51. def PETthorn_pereira(Tmin: Double, Tmax: Double, daylightHour: Double, I: Double): Double

    Computes potential evapotranspiration after Thorntwaite [mm/day] with Pereira and Pruitt 2004 correction

    Computes potential evapotranspiration after Thorntwaite [mm/day] with Pereira and Pruitt 2004 correction

    daylightHour

    daylightHour

    I

    heat index

    returns

    potential evapotranspiration after Thorntwaite [mm/day]

  52. def RN(T: Double, Tdew: Double, U: Double, Cc: Double, r: Double, solarDate: Long): Double

    Computes the Numerical Risk index (Sol 1990).

    Computes the Numerical Risk index (Sol 1990).

    r is set = 45 for the non vegetative season (form November to April).

    T

    air temperature

    Tdew

    dewpoint temperature

    U

    wind [m/s]

    Cc

    cloud cover fraction [ratio]

    r

    soil water reserve [mm]

    solarDate

    date [ms] (to check period of the year)

    returns

    numerical risk index value

  53. def Ra(todayDate: Long, latitude: Double): Double

    Computes Extraterrestrial radiation

    Computes Extraterrestrial radiation

    todayDate

    date of current day

    latitude

    latitude of location in decimal degrees

    returns

    extraterrestrial radiation value

  54. def RainSum(prev: Double, P: Double): Double

    Computes amount (sum) of consecutive rainfall.

    Computes amount (sum) of consecutive rainfall.

    prev

    previous day sum of consecutive rainfall [°C]

    P

    Rainfall amount [%]

    returns

    amount of consecutive rainfall

  55. def Rnet(todayDate: Long, H: Double, Tmax: Double, Tmin: Double, latitude: Double, altitude: Double, krs: Double, albedo: Double): Double

    Computes Net radiation

    Computes Net radiation

    todayDate

    date of current day

    H

    relative humidity

    Tmax

    maximal temperature

    Tmin

    minimal temperature

    latitude

    latitude of location

    altitude

    altitude of location

    krs

    krs correction value

    albedo

    albedo correction value

    returns

    net radiation value

  56. def Rnl(todayDate: Long, H: Double, Tmax: Double, Tmin: Double, latitude: Double, altitude: Double, krs: Double): Double

    Computes Net longwave radiation

    Computes Net longwave radiation

    todayDate

    date of current day

    H

    relative humidity

    Tmax

    maximal temperature

    Tmin

    minimal temperature

    latitude

    latitude of location

    altitude

    altitude of location

    krs

    krs correction value

    returns

    net longwave radiation value

  57. def Rns(todayDate: Long, Tmax: Double, Tmin: Double, latitude: Double, krs: Double, albedo: Double): Double

    Computes Net shortwave radiation

    Computes Net shortwave radiation

    todayDate

    date of current day

    Tmax

    maximal temperature

    Tmin

    minimal temperature

    latitude

    latitude of location

    krs

    krs correction value

    albedo

    albedo correction value

    returns

    net shortwave radiation value

  58. def Rs(todayDate: Long, Tmax: Double, Tmin: Double, latitude: Double, krs: Double): Double

    Computes Solar radiation

    Computes Solar radiation

    todayDate

    date of current day

    Tmax

    maximal temperature

    Tmin

    minimal temperature

    latitude

    latitude of location in decimal degrees

    krs

    krs correction value

    returns

    solar radiation value

  59. def Rso(todayDate: Long, latitude: Double, altitude: Double): Double

    Computes Clear-sky solar radiation

    Computes Clear-sky solar radiation

    todayDate

    date of current day

    latitude

    latitude of location

    altitude

    altitude of location

    returns

    clear-sky solar radiation value

  60. def Sharples(T: Double, H: Double, U: Double): Double

    Computes Sharples index value

    Computes Sharples index value

    T

    Temperature average [°C]

    H

    Relative humidity [%]

    U

    Wind speed average [m/s]

    returns

    Sharples index value

  61. def Tdew(T: Double, H: Double): Double

    Computes Dewpoint Temperature, according to Allen et al.

    Computes Dewpoint Temperature, according to Allen et al.(1998)

    The day temperature average is expressed in and the relative humidity is expressed in

    T

    Temperature [°C]

    H

    Relative Humidity [%]

    returns

    Dewpoint Temperature [°C]

  62. def Tef(Tmin: Double, Tmax: Double): Double

    Computes effective temperature (Camargo et al.

    Computes effective temperature (Camargo et al. 1999)

    The day temperature average is expressed in [°C] and the relative humidity is expressed in [%]

    Tmin

    minimum Temperature

    Tmax

    maximum Temperature

    returns

    effective Temperature

  63. def Tef2(Tmin: Double, Tmax: Double, daylightHours: Double): Double

    Computes effective temperature (Pereira and Pruitt 2004)

    Computes effective temperature (Pereira and Pruitt 2004)

    The day temperature average is expressed in [°C] and the relative humidity is expressed in [%]

    daylightHours

    daylightHours

    returns

    modified effective Temperature

  64. def VPD(H: Double, Tmax: Double, Tmin: Double): Double

    Computes vapor pressure deficit using Tmax and Tmin, according to Allen et al.

    Computes vapor pressure deficit using Tmax and Tmin, according to Allen et al.(1998), eq.12

    H

    Relative Humidity

    Tmax

    Maximal Temperature

    Tmin

    Minimal Temperature

    returns

    Vapor Pressure Deficit

  65. def VPD(H: Double, T: Double): Double

    Computes vapor pressure deficit

    Computes vapor pressure deficit

    H

    Relative Humidity [%]

    T

    Temperature [C]

    returns

    Vapor Pressure Deficit [kPa]

  66. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  67. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  69. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  70. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  71. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  72. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  73. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  74. def lastRainSum(prev: Double, P: Double, P_1: Double): Double

    Computes amount (sum) of the last consecutive rainfall.

    Computes amount (sum) of the last consecutive rainfall. Compared to RainSum, it retains the value over the dry periods (P=0)

    prev

    previous day sum of consecutive rainfall [°C]

    P

    Rainfall amount [mm]

    P_1

    previous day's Rainfall amount [mm]

    returns

    amount of last consecutive rainfall [mm]

  75. def lastRainSum_withThreshold(prev: Double, P: Double, P_1: Double, rainfallEventThreshold: Double = 2.00): Double

    Computes amount (sum) of the last significant rainfall event.

    Computes amount (sum) of the last significant rainfall event. The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm in Finkele 2006).

    To be used for the calculation of the DF (Drought Factor) according to Griffith and Finkele.

    prev

    previous day sum of consecutive rainfall [°C]

    P

    Rainfall amount [mm]

    P_1

    previous day's Rainfall amount [mm]

    rainfallEventThreshold

    threshold daily rain to consider a rain evnet

    returns

    amount of last significant rainfall event [mm]

  76. def meanAnnualRain(P: Seq[Double]): Double

    Calculate the mean annual rainfall, not considering missing values

    Calculate the mean annual rainfall, not considering missing values

    P

    sequence with daily rainfalls

    returns

    Mean Annual Rainfall

  77. def meanAnnualRain(inputFile: File): Double

    Calculate the mean annual rainfall

    Calculate the mean annual rainfall

    inputFile

    File with all daily rainfall

    returns

    Mean Annual Rainfall

  78. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  79. final def notify(): Unit

    Definition Classes
    AnyRef
  80. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  81. def pM68(prev: Double, T13: Double, H13: Double, currentDate: Long, P13: Double, P_1: Double, P_2: Double, P_3: Double, snowcover: Int, snowcover_1: Int, snowcover_2: Int, startFireSeason: Long, endFireSeason: Long): Double

    Computes pM68 Value (precipitation corrected with Snowcover field)

    Computes pM68 Value (precipitation corrected with Snowcover field)

    prev

    previous value of pM68

    T13

    Temperature at 13:00

    H13

    Relative humidity at 13:00

    currentDate

    Current Date (millisec)

    P13

    current day ranifall sum at 13:00

    P_1

    previous day rainfall

    P_2

    2 days ago rainfall

    P_3

    3 days ago rainfall

    snowcover

    current day snowcover (0/1)

    snowcover_1

    previous day snowcover (0/1)

    snowcover_2

    2 days ag snowcover (0/1)

    startFireSeason

    Date start of fireseason (millisec)

    endFireSeason

    Date end of fireseason (millisec)

    returns

    pM68 rain/snow correction value

  82. def pM68_vpd(prev: Double, T13: Double, VPD13: Double, currentDate: Long, P13: Double, P13_1: Double, P13_2: Double, P13_3: Double, snowcover: Int, snowcover_1: Int, snowcover_2: Int, startFireSeason: Long, endFireSeason: Long): Double

    Computes pM68 Value (precipitation corrected with Snowcover field)

    Computes pM68 Value (precipitation corrected with Snowcover field)

    prev

    previous value of pM68

    T13

    Temperature at 13:00

    VPD13

    Vapour pressure deficit at 13:00

    currentDate

    Current Date (millisec)

    P13

    current day ranifall sum at 13:00

    snowcover

    current day snowcover (0/1)

    snowcover_1

    previous day snowcover (0/1)

    snowcover_2

    2 days ag snowcover (0/1)

    startFireSeason

    Date start of fireseason (millisec)

    endFireSeason

    Date end of fireseason (millisec)

    returns

    pM68 rain/snow correction value

  83. def pM68dwd(prev: Double, T13: Double, H13: Double, currentDate: Long, P: Double, P_1: Double, P_2: Double, P_3: Double, snowcover: Int, snowcover_1: Int, snowcover_2: Int, startFireSeason: Long, endFireSeason: Long): Double

    Computes pM68dwd Value (precipitation corrected with Snowcover field)

    Computes pM68dwd Value (precipitation corrected with Snowcover field)

    prev

    previous value of pM68

    T13

    Temperature at 13:00

    H13

    Relative humidity at 13:00

    currentDate

    Current Date (millisec)

    P_1

    previous day rainfall

    P_2

    2 days ago rainfall

    P_3

    3 days ago rainfall

    snowcover

    current day snowcover (0/1)

    snowcover_1

    previous day snowcover (0/1)

    snowcover_2

    2 days ag snowcover (0/1)

    startFireSeason

    Date start of fireseason (millisec)

    endFireSeason

    Date end of fireseason (millisec)

    returns

    pM68 rain/snow correction value

  84. def patm(altitude: Double): Double

    Computes atmospheric pressure (in Allen et al.

    Computes atmospheric pressure (in Allen et al.(1998) eq. 7)

    altitude

    altitude of location

    returns

    atmospheric pressure value [kPa]

  85. def r(prev: Double, PweekThreshold: Double, P: Double, PETth: Double, WeeklyRain: Double): Double

    Computes soil water reserve for the Orieux index.

    Computes soil water reserve for the Orieux index. Initialisation condition has been added similar to KBDI index

    prev

    previous'day Orieux index

    PweekThreshold

    weekly rain threshold to initialize index [mm]

    P

    rainfall [mm]

    PETth

    potential evapotranspiration after Thorntwaite

    WeeklyRain

    sum of rain over last 7 days

    returns

    soil water reserve of the Orieux index [mm]

  86. def rainEventAge_withThreshold(prev: Long, prevMaxP: Double, P: Double, P_1: Double, rainfallEventThreshold: Double = 2.00): Long

    Rainfall event age, defined as the number of days since the day with the largest daily rainfall within the rain event (Finkele 2006, ref to Sullivan 2001).

    Rainfall event age, defined as the number of days since the day with the largest daily rainfall within the rain event (Finkele 2006, ref to Sullivan 2001). The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm in Finkele 2006).

    To be used for the calculation of the DF (Drought Factor) according to Griffith and Finkele.

    prev

    previous rainfall event age [days]

    P

    Rainfall amount [mm]

    P_1

    previous day's Rainfall amount [mm]

    rainfallEventThreshold

    threshold daily rain to consider a rain evnet

    returns

    rainfall event age [days]

  87. def rs(prev: Double, P: Double, PETth: Double, RainSum: Double): Double

    Computes the surface soil water reserve, according to Carrega 1988.

    Computes the surface soil water reserve, according to Carrega 1988. The water balance has been used.

    Dew has been omitted.

    prev

    previous'day rs

    P

    rainfall [mm]

    PETth

    potential evapotranspiration after Thorntwaite

    RainSum

    sum of continuous rain

    returns

    Orieux index

  88. def slope_Es_curve(T: Double): Double

    Computes the slope of the saturation vapour pressure curve, according to Allen et al.

    Computes the slope of the saturation vapour pressure curve, according to Allen et al.(1998), eq.13

    T

    Temperature [C]

    returns

    slope of the saturation vapour pressure curve [kPa/C]

  89. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  90. def toString(): String

    Definition Classes
    AnyRef → Any
  91. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped