Closed walkerjeffd closed 9 years ago
Sorry, I was away at a conference. I am working on these. I will have the package at least in very alpha form by the end of the week, maybe even this afternoon.
The vignette might be more of a challenge because part of this is the data prep, which Kyle has been doing and that is in a state of flux (transition from hand GIS and Rmd to arcpython, R, and java?). The conteStreamTemperature_northeast repo will have the most complete example. I can work on a vignette with a subset of the data starting from the processed data.
I assume the examples of the model output can be generated in the vignette unless there is a better way to get them to you.
I've cleaned up the conteStreamTemperature_northeast
scripts a bit. They are in numbered order that they need to be run starting with 2 (because 1 will be Kyle's data prep script). It works through 4-northeast-analysis.Rmd
. Each one outputs an .RData file into dataOut/
so you don't actually need to run the earlier ones if nothing has changed. These all use function from conteStreamTemperature
and all work right now. The .Rmd files beginning with 5-
are not filled out yet. Instead modPredictions.R
can be run after 4-northeast-analysis.Rmd
. This file will be split into the .Rmd files and into functions within the package later but it may take a little while. This modPredictions.R
file will make most of the example (non-map) outputs that we'd be interested in displaying. I can send you examples if you don't want to run it to produce all the 1000s of figures. Right now they are stored on my local machine and ignored by git.
The very alpha version of the package is working. The vignette for the package is a ways off because it would be incredibly long right now (i.e. equal to the 4-5 .Rmd and R files in the northeast analysis). I will continue moving a lot of what is in those scripts to functions in the package so the scripts can be short enough for a reasonable set of vignettes.
I just added the data prep script as #1. I didn't see the changes you mentioned here though. Have you not pushed it yet or am I in the wrong directory?
I also deleted some old results in the dataOut folder that were from the old model. We can probably get rid of a lot more stuff. As time permits I'll go through and cut old scripts that don't make sense to keep in this repo.
Sorry, hadn't pushed. Updated now.
So Ben has lit a bit of a fire under Chris and I to have the web system up and running by the end of the month with the stream temperature model integrated at least some degree. So a list of things that would help us build the interface and connections to between the web application and the R model:
When do you think each of these could be ready?