2 research outputs found

    Principles of resilient coding for plant ecophysiologists

    Get PDF
    Plant ecophysiology is founded on a rich body of physical and chemical theory, but it is challenging to connect theory with data in unambiguous, analytically rigorous and reproducible ways. Custom scripts written in computer programming languages (coding) enable plant ecophysiologists to model plant processes and fit models to data reproducibly using advanced statistical techniques. Since many ecophysiologists lack formal programming education, we have yet to adopt a unified set of coding principles and standards that could make coding easier to learn, use and modify. We identify eight principles to help in plant ecophysiologists without much programming experience to write resilient code: (i) standardized nomenclature, (ii) consistency in style, (iii) increased modularity/extensibility for easier editing and understanding, (iv) code scalability for application to large data sets, (v) documented contingencies for code maintenance, (vi) documentation to facilitate user understanding; (vii) extensive tutorials and (viii) unit testing and benchmarking. We illustrate these principles using a new R package, {photosynthesis}, which provides a set of analytical and simulation tools for plant ecophysiology. Our goal with these principles is to advance scientific discovery in plant ecophysiology by making it easier to use code for simulation and data analysis, reproduce results and rapidly incorporate new biological understanding and analytical tools

    Real-time measurement of metabolic rate during freezing and thawing of the wood frog, Rana sylvatica: Implications for overwinter energy use

    Get PDF
    Ectotherms overwintering in temperate ecosystems must survive low temperatures while conserving energy to fuel post-winter reproduction. Freeze-tolerant wood frogs, Rana sylvatica, have an active response to the initiation of ice formation that includes mobilising glucose from glycogen and circulating it around the body to act as a cryoprotectant. We used flow-through respirometry to measure CO2 production (VCO2) in real time during cooling, freezing and thawing. CO2 production increases sharply at three points during freeze-thaw: at +1°C during cooling prior to ice formation (total of 104±17 μl CO2 frog-1 event-1), at the initiation of freezing (565±85 μl CO 2 frog-1 freezing event-1) and after the frog has thawed (564±75 μl CO2 frog-1 freezing event-1). We interpret these increases in metabolic rate to represent the energetic costs of preparation for freezing, the response to freezing and the re-establishment of homeostasis and repair of damage after thawing, respectively. We assumed that frogs metabolise lipid when unfrozen and that carbohydrate fuels metabolism during cooling, freezing and thawing, and when frozen. We then used microclimate temperature data to predict overwinter energetics of wood frogs. Based on the freezing and melting points we measured, frogs in the field were predicted to experience as many as 23 freeze-thaw cycles in the winter of our microclimate recordings. Overwinter carbohydrate consumption appears to be driven by the frequency of freeze-thaw events, and changes in overwinter climate that affect the frequency of freeze-thaw will influence carbohydrate consumption, but changes that affect mean temperatures and the frequency of winter warm spells will modify lipid consumption
    corecore