predictiveecology / canclimatedata Goto Github PK
View Code? Open in Web Editor NEWPrepare Canadian historic and projected climate data for use with LandR.CS and fireSense
Prepare Canadian historic and projected climate data for use with LandR.CS and fireSense
E.g., move the creation of the climateVariables
object to .inputObjects
as a default, and add this object as a module input. Also ensure this is well documented (with #9).
climateVariables <- list(
historic_CMI_normal = list(
vars = "historic_CMI_normal",
fun = quote(calcCMInormal),
.dots = list(historic_period = historic_prd, historic_years = historic_yrs)
),
historic_MDC = list(
vars = c(sprintf("historic_PPT%02d", 4:9), sprintf("historic_Tmax%02d", 4:9)),
fun = quote(calcMDC),
.dots = list(historic_years = historic_yrs)
),
projected_ATA = list(
vars = c("future_MAT", "historic_MAT_normal"),
fun = quote(calcATA),
.dots = list(historic_period = historic_prd, future_years = projected_yrs)
),
projected_CMI = list(
vars = "future_CMI",
fun = quote(calcAsIs),
.dots = list(future_years = projected_yrs)
),
projected_MDC = list(
vars = c(sprintf("future_PPT%02d", 4:9), sprintf("future_Tmax%02d", 4:9)),
fun = quote(calcMDC),
.dots = list(future_years = projected_yrs)
)
)
no longer being used
LandR.CS
is being updated to take in climate data using the list structure used by fireSense
, to allow the user to pass arbitrary climate variables.
The module currently does this:
## objects for LandR.CS:
sim$ATAstack <- climateRasters$projected_ATA
sim$CMIstack <- climateRasters$projected_CMI
sim$CMInormal <- climateRasters$historic_CMI_normal
## objects for fireSense:
sim$historicalClimateRasters <- list(MDC = climateRasters$historic_MDC)
sim$projectedClimateRasters <- list(MDC = climateRasters$projected_MDC)
and should be updated to put projected_ATA
and projected_CMI
into projectedClimateRasters
, and historic_CMI_normal
into historicalClimateRasters
.
climateData
package documentiation;main
- development
branch conflicts;terra
/sf
;studyAreaName
and use geographic lookup (see #3)currently only CanESM5 SSP 370 is available for use with the module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.