Skip to content

Commit

Permalink
explicit tbsegdetail and precipdata load in show_fibmatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
fawda123 committed Sep 28, 2024
1 parent bb14c95 commit ad18a47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/show_fibmatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ show_fibmatmap <- function(fibdata, yrsel, areasel, indic, threshold = NULL,
cols <- c('#2DC938', '#E9C318', '#EE7600', '#CC3231', '#800080')
names(cols) <- c('A', 'B', 'C', 'D', 'E')

data(tbesegdetail)

if(is.null(precipdata))
data(precipdata)

# check if epchc data
isepchc <- exists("epchc_station", fibdata)

Expand Down

0 comments on commit ad18a47

Please sign in to comment.