Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find metabolism parameters GPP.daily, ER.daily, K600.daily Error #397

Open
AbigailUVM opened this issue Oct 8, 2020 · 0 comments
Open

Comments

@AbigailUVM
Copy link

Thanks for submitting your issue or question. We can address issues fastest if they are:

  • New - search past issues first to see if your question has already been answered. Reopen an old issue if your question was almost but not quite answered.

  • Complete - share all relevant code and console output/errors/warnings, in the order they were run and produced on your computer. Also include the output from a call to devtools::session_info() to tell us about your computer's configuration.

  • Reproducible - include all the data and code necessary for us/others to recreate the problem locally. It's fine to make up data if you can't share yours, as long as the problem still comes through.

  • Minimal - what is the smallest amount of data and code you can use to demonstrate the problem? This is less essential than the others but improves communication and our response time.

Delete these instructions before submitting your issue.


Brief problem description

I am receiving this error message when running my model and am not receiving and model outputs because of it: Error in get_params.metab_model(object, uncertainty = "ci", fixed = "stars", :
can't find metabolism parameters GPP.daily, ER.daily, K600.daily
I am unsure how to resolve this error and have tried multiple different data sets including the dataset attached to the package from Bob Hall. I'm sure that this is an easy fix, but do not know what to change about my code given that I have specified GPP and ER parameters in bayes_specs.

What you saw on your computer

Include all code you ran (a minimal example) and all console output, errors, and warnings. Include a data file if needed.

bayes_kup <- mm_name(type='bayes', pool_K600='none', err_obs_iid=TRUE, err_proc_iid=TRUE)
bayes_kup
bayes_specs <- specs(bayes_kup,day_start=4, day_end=28, GPP_daily_lower=-10, ER_daily_upper=1) 
bayes_specs

#RUN THE MODEL
run1 <- metab(bayes_specs, data=new.clean.bayes, info=kup_in)
run1

Output:

metab_model of type metab_bayes 
  User-supplied metadata:
streamMetabolizer version 0.11.4 
Specifications:
  
Fitting time: NA secs elapsed
Error in get_params.metab_model(object, uncertainty = "ci", fixed = "stars",  : 
  can't find metabolism parameters GPP.daily, ER.daily, K600.daily

Session information

Run the following code line (or sessionInfo() if that doesn't work) and paste in your output.

> devtools::session_info()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant