fix bug in write.configs.SIPNET that wasn't writing inputs
added ciEnvelope to the visualization namespace
workflow.treering: added obs, IC, and priors
modified plot2AGB to save & return the AGB and NPP MCMC objects (rather than just the mean and sd); added plot2AGB to the data.land NAMESPACE
misc small bug fixes in data assimilation
sda.enkf: complete rewrite of assimilation code to start from a different place (proposed IC & param sample rather than output of initial ensemble run); writes ensemble and run to database, writes run README & uses updated job.sh. Because job.sh checks for existing runs code has to go in and move sipnet.out. In the current version not all state variables are being set and the units on all variables have not yet been checked. Added some noise to the snow state variable to prevent numerical singularies if all states = 0. Tried to implement the EAKF as an alternative updated but currently the updated mean is correct but the variance is too large -- haven't tracked down the bug yet. At the current moment the code INSIDE this function appears to work but the function itself will not work since I haven't cleaned up the old code or flushed out the basic visualizations.
sda.enkf: added Roxygen tags; added a check that parameters are a matrix not a vector; removed old code; updated visualizations
workflow.treerings: added status flags; removed old code; moved IC and parameter code to separate functions
added two new functions to assim.sequential. The first, sample.parameters, samples parameters from the posterior and returns a n.ensemble by n.param matrix. The second, sample.IC.SIPNET, samples AGB from the state estimate and samples all other initial conditions from specified priors. The latter function probably need to either be generalized (e.g. putting state priors in database) or moved to the model specific modules at some point.