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

Error in get_params.metab_model(object, uncertainty = "ci", fixed = "stars", : can't find metabolism parameters GPP.daily, ER.daily, K600.daily #398

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

Comments

@AbigailUVM
Copy link

Brief problem description

As a bit of a disclaimer, I am relatively new to R and the streamMetabolizer package. I am emailing because I'm receiving this error message when running my model: "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 what this error means about my data/how to resolve it, and have tried multiple different data sets including the dataset attached to the package from Bob Hall, but no models are able to run. All of my data was verified to be in the correct class and format. 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