if (FALSE) # R check
data(prcpFit)
modelParameters(prcpFit, date = "20030113")
data(prcpGrid)
prcpGridData <- ensembleData(forecasts = prcpGrid[,1:9],
latitude = prcpGrid[,"latitude"],
longitude = prcpGrid[,"longitude"],
forecsatHour = 48,
initializationTime = "00")
# probability of precipitation
1 - cdf( prcpFit, prcpGridData, value = 0)
# probability of precipitation above 0.25 in
1 - cdf( prcpFit, prcpGridData, date = "20030115", value = 25)
Run the code above in your browser using DataLab