streamMetabolizer uses inverse modeling to estimate aquatic metabolism (photosynthesis and respiration) from time series data on dissolved oxygen, water temperature, depth, and light.
it's obnoxious to always call metab(specs(mm_name(...), ...), data, ...). thanks to geoknife conversation with @jread-usgs just now (https://github.com/USGS-R/geoknife/issues/269), i think i could make just one set of parentheses work reasonably. would look like this:
where engine would get sent to mm_name(), then mm_name() output would get passed to specs(); all the other arguments are largely unique or intentionally redundant.
it could work. it's not immediately essential but could improve the user experience. will ask for input from Bob & Mark & OWIDS team in next few weeks.
yesterday added option to call things like specs('mle', init.GPP.daily = 7) to have it choose the default name for mle. baby step in the direction of a completely flat call.
it's obnoxious to always call metab(specs(mm_name(...), ...), data, ...). thanks to
geoknife
conversation with @jread-usgs just now (https://github.com/USGS-R/geoknife/issues/269), i think i could make just one set of parentheses work reasonably. would look like this:old way (which should & will stick around):
new, complementary way?:
where
engine
would get sent tomm_name()
, thenmm_name()
output would get passed tospecs()
; all the other arguments are largely unique or intentionally redundant.it could work. it's not immediately essential but could improve the user experience. will ask for input from Bob & Mark & OWIDS team in next few weeks.