JGCRI / hector

The Hector Simple Climate Model
http://jgcri.github.io/hector/
GNU General Public License v3.0
107 stars 45 forks source link

Automate the input_params and output tables #657

Open kdorheim opened 1 year ago

kdorheim commented 1 year ago

This idea mainly relates to the vignettes/articles/output.Rmd file where the table in the article has to be made manually with the scripts/R_output.R. However, with #656 we should be able to make this table using the fxntable that was created for the getfxn capabilities it would require that we have a script that generates an up-to-date data-raw/input_params.csv.

Possible steps

  1. Add a script that produces data-raw/input_params.csv perhaps scraping from the information from an ini file this would replace the data-raw/dave-input-params.R
  2. Modify the lookup-data.R scrip so that the units column has NAs were not applicable
  3. vignettes/articles/output.Rmd script should use the fxntable subset to not include inputs or functions associated with NA units. Then make the pretty R output table
  4. delete scripts/R_outputs.R
bpbond commented 1 year ago

I assume this is not for v3? Added milestone.