JGCRI / hectordata

Prepare and format the inputs for hector.
Other
0 stars 1 forks source link

Feedback on Hectordata beta version #13

Closed kdorheim closed 2 years ago

kdorheim commented 3 years ago

@bpbond could you take a look at this package and let me know what you think? So far I have only added the ssp scenarios to the package and figured we could add other scenarios as needed.

Things that would be helpful to get your input on:

bpbond commented 3 years ago

Hi @kdorheim -

Sorry for my slow response here. Wow, this is looking good!

Great work :)

kdorheim commented 3 years ago

Hi Ben! thanks for taking a look at it!

My understanding was that the here function builds file path names (much like the function file.path does) but does so based on the current root project directory, so it doesn't necessarily have to already exist to work. Including the code to make the directory might be overly cautious 🤷‍♀️

And re cloning the repo building it locally. That would be great feedback & I hope it is at that stage for testing. I wanted to have github actions set up for that but I've been struggling to get the proper environment set up. Before cloning the repo what I would really be interested in is if the following works.

remotes::install_github("jgcri/hectordata")

library(hectordata)
library(hector)

ini <- system.file("input/hector_ssp434.ini", package = "hectordata")
core <- newcore(ini)
run(core)