maward-sci / c_scenarios

1 stars 0 forks source link

Refactor/bau mgmt #12

Closed cdibble closed 1 year ago

cdibble commented 1 year ago
  1. Updates for the BAU vs. MGMT design.
  2. Fixes a bug where when n_sim>1 the biomass computations with delta Area were wrong.
  3. Adds several new parameters to respective dataframes and takes totally naive guesses at them to get things working

This works insofar as you can run

df <- create_seagrass_exp(
  n_sim = 20,
  methane=methane,
  nitrous_oxide=nitrous_oxide,
  biomass=biomass,
  soil=soil
  )

And it will spit everything out. Haven't dealt with anything downstream of there (likely going to need updates to reflect new column names and schema).

Please take a look though and let me know if this all looks good to you. It's pretty big so might take some time to review. You can pull this branch and play with the code as much as you like.