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

Robust predictor data structure #52

Merged
merged 1 commit into from
Mar 6, 2018
Merged

Conversation

sdtaylor
Copy link
Owner

@sdtaylor sdtaylor commented Mar 6, 2018

No description provided.

@sdtaylor sdtaylor force-pushed the robust_predictor_data_structure branch from afc2273 to 562f68d Compare March 6, 2018 21:05
with most models the only predictor variable is temperature,
so that was the sole argument besides observations. Newer
models require things like lat/long, daylength, precip, etc.

This replaces all prior temperature calls with "predictors",
where temperature can be one of many aspects. Required
predictors are defined in the model. See the M1 model
for an example.
Since most models still just use temperature, that default
is defined in the base model with some methods to check for it.
If a model requies something besides temperature it must be
defined within the model.

Added a new model, M1, which uses a new variable, daylength.
Also updated the example data to include lat/long and daylength
@sdtaylor sdtaylor force-pushed the robust_predictor_data_structure branch from 562f68d to b6c125e Compare March 6, 2018 21:06
@sdtaylor sdtaylor merged commit 179c698 into master Mar 6, 2018
@sdtaylor sdtaylor mentioned this pull request Mar 6, 2018
2 tasks
@sdtaylor sdtaylor deleted the robust_predictor_data_structure branch March 16, 2018 19:06
@sdtaylor sdtaylor mentioned this pull request Apr 12, 2018
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

Successfully merging this pull request may close these issues.

1 participant