-
Notifications
You must be signed in to change notification settings - Fork 8
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
Additional metadata in attribute definition #17
Comments
looks good to me. I think we'd just want a concrete list of the allowable variable_types. I think I'd add: driver, parameter, random_effect, observation, observation_error, process_error (obviously we'd update this list if we update the uncertainty list), and diagnostic (since @rqthomas mentioned this was useful in his files). Two (related) questions I'd have:
|
One case to consider is a flux (so it isn't a state) that is assimilated (so it isn't a diagnostic). This would fall through the classification cracks. Also, is there an easier regex to parse. I just use a colon ":" to separate the variable_type from the actual long name. However, what you present is cleaner to read and if the average user isn't going to have to right complex regex statements then I am fine with your proposal. |
Yup, this can be implemented as a factor, and we can throw errors if the result has any
I'm inclined to think they're the same, but I'm open to counterexamples.
I think we should define our types to avoid this if at all possible (i.e., if this is possible, then we haven't defined our types well). From an implementation standpoint, there's no reason we couldn't implement multiple types with either
Even though it breaks ontogenies, I'd probably be OK calling that a "state".
I picked this regex specifically for its parseability. As long as we define just a few simple rules— the
Yeah, definitely not. The regex will be hard-coded in a |
Per the discussion today, were we looking for something like this? The general idea is that
attributeDefinition
has the format[variable_type]{Variable definition...}
.Created on 2020-09-15 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: