1
From Ecological Models to Modelling Platforms: Bridging Science, Scientific Programming, and Web Application Development Dimitre D. Dimitrov 1 (corresponding author: [email protected]) and Peter M. Lafleur 2 1 NorQuest College, 10215 108 St NW, Edmonton, AB, Canada, T5J 1L6 2 School of the Environment, Trent University, 1600 West Bank Drive, Peterborough, ON, Canada, K9L 0G2 DIMONA simulates climate-driven, environmentally constrained coupled ecohydrological and biogeochemical processes, including plant C fixation, photosynthate allocation, nutrient (N, P) uptake and assimilation, plant growth, litterfall and mortality, ecosystem productivity and biomass stocks, at various spatial and temporal scales. The model output is constrained by site observations, landscape aggregations, and big data on the internet. DIMONA allows to test different equations for the same hydrological and plant processes. Simulations at hourly and less than hourly (munities) time steps enable modelling of the explicit diurnal cycle of photosynthesis. A novel hydrological module for organic soils has been recently developed for DIMONA to simplify the dynamic modelling of soil water contents (θ) at any depth from observed water table (WT) depth, and reversely, for modelling of dynamic WT depth from measured θ (Dimitrov and Lafleur 2020). Test Sites. Mer Bleue bog, located near Ottawa, (Ontario, Canada), is covered by moss and small shrubs, with peat depth of 4-5 m (Lafleur et al. 2005a,b, 2003, Frolking et al. 2002). The other site is located at 39N 122W, nearby Sacramento (California, USA), with hypothetical cover of ericaceous shrubs. Fig. 3. DIMONA online modelling platform, real-time simulations with personal account Weather data collection every minute from OpenWeatherMap API website for parameterization of the real-time simulations Soil data collection from REST Soilgrid API website for parameterization of the real-time simulations Soil data collection from Agro Dashboard API website for parameterization of the real-time simulations Running real-time simulations Fig. 2. DIMONA online modelling platform, process-based modelling with personal account User’s Personal Folders Main Site Parameters Parameters for Plant Water Relations and Reconstructing Peat Hydrology Parameters for 3D Model Runs Parameters for Soil Hydrology The recent decades have witnessed a boom of environmental measurements and huge data collections on the Internet as part of large-scale research networks (Schimel et al. 2019, Reichstein et al. 2019, Farley et al. 2018). Although ecological models play a critical role in studying and simulating the key processes and integrated ecosystem responses (Hanson and Walker 2020, Medlyn et al. 2015, Fisher et al. 2014), they are lagging in their ability to fully benefit from available diverse, large data compendiums (Fer et al. 2020, Rineau et al. 2019, Dietze et al. 2018). On the other hand, the rapid development of new information technologies for internet programming provides an opportunity to overcome this situation by shifting to more comprehensive multifunctional modelling platforms by bridging advanced scientific theories, quantitative modelling, and web application development. Introduction Objectives and Hypotheses Methods To serve the above need, we introduce the online modelling platform DIMONA (Dynamic Integrated Model for Organism– eNvironment Analysis) that nests coupled ecohydrological and biogeochemical modules (that could also be used as separate models) and searching algorithms to explore any coordinates in the world for weather, soil, and hydrology records (Figs. 1, 2, 3, 7). Our main objective is to demonstrate how such a new-generation online modelling platform as DIMONA can be used for multiple research purposes, including modelling, data collection, and advanced real-time simulations of current plant and ecosystem productivities coupled to hydrology, soil properties and nutrients. The Modelling Platform. The scientific code of DIMONA is written in C++ programming language and can be run on a desktop as well. The web application code for the front-end (the website interface in the browser) is written in HTML5, CSS3, and JavaScript/jQuery. The web application code for the back-end (the server and the database, currently Apache) is written in PHP7 and MySQL for signup, login and identification, and run setup including managing personal user accounts and folders, storing and sharing users’ files, model input and output, running C++ model executables. DIMONA is used for multiple purposes here, i.e. data exploring (no personal account needed) (Fig. 1), classic process-based modelling (personal account needed) (Figs. 2, 4, 5, 6), and/or real-time simulations with or without data collection (personal account needed) (Figs. 3, 7). Fig. 1. DIMONA online modelling platform, key features to explore data without personal account DIMONA can be used to explore data around the world by unregistered users Results and Discussion DIMONA captured well the low water-holding capacity of peat at 20 and 30 cm in hummocks, and at 3 and 15 cm in hollows of Mer Bleue bog. DIMONA modelled well the dynamics of WT in the zone of intense WT fluctuations at 40 cm The Model Experiment. To demonstrate the potential of DIMONA for classic process-based modelling (Fig. 2) at hourly and daily time steps, we compared: (i) simulated θ at various depths with the measured θ (TDR); (ii) simulated WT depth with the observed piezometric one; and (iii) simulated ecosystem GPP and NPP with observations at Mer Bleue bog. To demonstrate the potential of DIMONA for advanced real time simulations at a minute time step, we modelled the photosynthesis of hypothetical ericaceous shrubs nearby Sacramento, every minute over a 20-minute time period at sunrise on February 23, 2021, under ambient and unlimiting soil hydrology. The simulations were driven by current weather data at the site reported by OpenWeatherMap API website, and collected and utilized by DIMONA every 60 sec, and parameterized by soil properties reported at the same site by REST Soilgrid and Agro Dashboard API websites, and collected by DIMONA (Fig. 3, 7). and deep drying at 50 cm depth at Mer Bleue bog (Fig. 4). Also, DIMONA managed to simulate the dynamics of WT depth from the available TDR measured θ at various depths in hummocks and hollows during 1998 – 2004 period at Mer Bleue bog (Fig. 5). Fig. 5. Simulated WT depth below the hummock surface from θ at various depths at Mer Bleue. WT obs = 0.56 Wt sim - 2.1 R 2 = 0.80 Hummock, 20 cm Hummock, 30 cm Hummock, 40 cm Hummock, 50 cm Hollow, 3 cm Hollow, 15 cm WT depth [cm] (negative means below the soil surface) TDR measured θ [m 3 m -3 ] Modelled θ [m 3 m -3 ] Simulations are made by PHM model (Dimitrov and Lafleur 2020) that is now embedded in DIMONA platform Fig. 4. Simulated θ at various depths and microtopographic positions at Mer Bleue bog. θ obs = 0.80 θ sim + 0.19, R 2 = 0.66 θ obs = 0.81 θ sim + 0.03, R 2 = 0.66 θ obs = 1.04 θ sim + 0.01, R 2 = 0.34 θ obs = 0.78 θ sim + 0.17, R 2 = 0.75 θ obs = 0.71 θ sim + 0.04, R 2 = 0.51 θ obs = 0.97 θ sim + 0.02, R 2 = 0.46 Acknowledgements The field study at Mer Bleue, part of Fluxnet Canada / Canadian Carbon Program, was financed by BIOCAP Canada Foundation, CFCAS, Government of Canada, NSERC and Universite Laval. References: OpenWeatherMap API website, https://openweathermap.org/ Agro Dashboard API website, https://wp.agromonitoring.com/dashboard/login REST Soilgrids API website, https://rest.soilgrids.org/ Geography Map of Ireland, https://www.maps.ie/ Dietze, M. C., et al. 2018. Iterative near-term ecological forecasting: Needs, opportunities, and challenges. Proceedings of the National Academy of Sciences of the United States of America, 115, 1424–1432. https://doi. org/10.1073/pnas.1710231115 Dimitre D. Dimitrov & Peter M. Lafleur. 2021. Revisiting water retention curves for simple hydrological modelling of peat, Hydrological Sciences Journal, 66:2, 252-267, DOI: 10.1080/02626667.2020.1853132 Farley, S. S., et al. 2018. Situating ecology as a big-data science: Current advances, challenges, and solutions. BioScience, 68, 563–576. https://doi.org/10.1093/biosci/ biy068 Fer et al., 2020. Beyond ecosystem modeling: A roadmap to community cyberinfrastructure for ecological data-model integration. Global Change Biology. DOI: 10.1111/gcb.15409 Fisher, J. B., et al., 2014. Modeling the terrestrial biosphere. Annual Review of Environment and Resources, 39, 91–123. https://doi.org/10.1146/annurev-environ012913-093456 Frolking, S., et al., 2002. Modelling the seasonal to annual carbon balance of Mer Bleue bog, Ontario, Canada. Global Biogeochemical Cycles, 16 (3), 1030. doi:10.1029/2001GB001457 Hanson, P. J., & Walker, A. P. 2020. Advancing global change biology through experimental manipulations: Where have we been and where might we go? Global Change Biology, 26, 287–299. https://doi. org/10.1111/gcb.14894 Lafleur, P.M., et al. 2005a. Ecosystem respiration in a cool temperate bog depends on peat temperature but not on water table, Ecosystems 8: 619-629. Lafleur, P.M., et al. 2005b. Annual and seasonal variability in evapotranspiration and water table at a shrub-covered bog in southern Ontario, Canada. Hydrological Processes 19, 3533-3555. Lafleur, P.M., et al. 2003. :// doi.org/10.1038/s41558-019-0609-3 Schimel, D., et al. 2019. Flux towers in the sky: Global ecology from space. New Phytologist, 224, 570–584. https://doi.orInterannual variability in the peatland-atmosphere carbon dioxide exchange at an ombrotrophic bog, Global Biochemical Cycles, 17: pp. 5-1 to 5-14. Medlyn, B. E., et al. 2015. Using ecosystem experiments to improve vegetation models. Nature Climate Change, 5, 528–534. https://doi.org/10.1038/nclimate2621 Reichstein, M., et al. 2019. Deep learning and process understanding for data-driven Earth system science. Nature, 566, 195–204. https://doi.org/10.1038/s41586-019-0912-1 Rineau, F., et al. 2019. Towards more predictive and interdisciplinary climate change ecosystem experiments. Nature Climate Change, 9, 809–816. httpsg/10.1111/nph.15934 Consistent with observations, soil water status affected plant and ecosystem gross primary productivity (GPP) and net primary productivity (NPP) in the model; NPP = GPP – Ra (autotrophic respiration). Compared to the wet years 2000, 2003, 2004 progressive summer droughts in dry 2001 and 2002 resulted in lower moss productivities due to lower moss water status, while the vascular productivities remained relatively unaffected with remaining soil moisture in deeper peat layers that provided the necessary plant water status in the field and in the model (Fig. 6). Conclusion Bridging science, scientific and internet programming brings a new perspective to future development of the ecological modelling. In the morning of Feb 23, 2021, DIMONA reproduced the shrub photosynthesis nearby Sacramento every minute over a 20-minute period (Fig. 7). Low air temperature (T air ) and incoming shortwave radiation (R s ) this time of the year reported by OpenWeatherMap API website, resulted in low photosynthesis rates of both shrubs under ambient and unlimiting soil hydrology, parameterized by REST Soilgrid and Agro Dashboard API websites (Figs. 3, 7). However, the rapidly increasing T air and R s , at sunrise and the corresponding photosynthesis rates were captured by DIMONA at a minute time step, as well as the ~ two-fold lower photosynthesis under ambient hydrology compared to the one under unlimiting hydrology (Fig. 7). Fig. 7. Simulated photosynthesis [μmol CO 2 m -2 s -1 ] every minute over 20 minutes, Sacramento. Fig. 6. Simulated hourly and daily course of GPP and NPP vs observed GPP at Mer Bleue bog. 2000 DOY 213 227 hourly fluxes in [μmol CO 2 m -2 s -1 ] 2000 2004 daily fluxes in [g C m -2 d -1 ] 2001 2002 2003 summer drought summer drought GPPobs = 1.07 GPPsim + 1.38 R 2 = 0.68 GPPobs = 0.99 GPPsim + 1.25 R 2 = 0.71 GPPobs = 1.00 GPPsim + 1.32 R 2 = 0.65 GPPobs = 1.01 GPPsim + 1.43 R 2 = 0.69 GPPobs = 0.70 GPPsim + 0.09 R 2 = 0.84 air Temperature shortwave Radiation Photosynthesis unlimiting hydrology Photosynthesis ambient hydrology User’s Personal Account

From Ecological Models to Modelling Platforms: Bridging

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: From Ecological Models to Modelling Platforms: Bridging

From Ecological Models to Modelling Platforms: Bridging Science, Scientific Programming, and Web Application DevelopmentDimitre D. Dimitrov1 (corresponding author: [email protected]) and Peter M. Lafleur2

1NorQuest College, 10215 108 St NW, Edmonton, AB, Canada, T5J 1L6 2School of the Environment, Trent University, 1600 West Bank Drive, Peterborough, ON, Canada, K9L 0G2

DIMONA simulates climate-driven, environmentally constrained

coupled ecohydrological and biogeochemical processes, including

plant C fixation, photosynthate allocation, nutrient (N, P) uptake

and assimilation, plant growth, litterfall and mortality, ecosystem

productivity and biomass stocks, at various spatial and temporal

scales. The model output is constrained by site observations,

landscape aggregations, and big data on the internet. DIMONA

allows to test different equations for the same hydrological and

plant processes. Simulations at hourly and less than hourly

(munities) time steps enable modelling of the explicit diurnal

cycle of photosynthesis. A novel hydrological module for organic

soils has been recently developed for DIMONA to simplify the

dynamic modelling of soil water contents (θ) at any depth from

observed water table (WT) depth, and reversely, for modelling of

dynamic WT depth from measured θ (Dimitrov and Lafleur 2020).

Test Sites. Mer Bleue bog, located nearOttawa, (Ontario, Canada), is coveredby moss and small shrubs, with peatdepth of 4-5 m (Lafleur et al. 2005a,b,2003, Frolking et al. 2002). The othersite is located at 39N 122W, nearbySacramento (California, USA), withhypothetical cover of ericaceous shrubs.

Fig. 3. DIMONA online modelling platform, real-time simulations with personal account

Weather data collection every

minute from OpenWeatherMap

API website for

parameterization of the real-time

simulations

Soil data

collection from

REST Soilgrid

API website

for

parameterization

of the real-time

simulations

Soil data collection from

Agro Dashboard

API website

for parameterization of the

real-time simulations

Running real-time

simulations

Fig. 2. DIMONA online modelling platform, process-based modelling with personal account

User’s Personal

Folders

Main Site Parameters

Parameters for Plant

Water Relations and

Reconstructing Peat

HydrologyParameters for

3D Model Runs

Parameters for

Soil Hydrology

The recent decades have witnessed a boom of environmentalmeasurements and huge data collections on the Internet as part oflarge-scale research networks (Schimel et al. 2019, Reichstein et al.2019, Farley et al. 2018). Although ecological models play a criticalrole in studying and simulating the key processes and integratedecosystem responses (Hanson and Walker 2020, Medlyn et al.2015, Fisher et al. 2014), they are lagging in their ability to fullybenefit from available diverse, large data compendiums (Fer et al.2020, Rineau et al. 2019, Dietze et al. 2018). On the other hand,the rapid development of new information technologies forinternet programming provides an opportunity to overcome thissituation by shifting to more comprehensive multifunctionalmodelling platforms by bridging advanced scientific theories,quantitative modelling, and web application development.

Introduction

Objectives and Hypotheses

Methods

To serve the above need, we introduce the online modellingplatform DIMONA (Dynamic Integrated Model for Organism–eNvironment Analysis) that nests coupled ecohydrological andbiogeochemical modules (that could also be used as separatemodels) and searching algorithms to explore any coordinates inthe world for weather, soil, and hydrology records (Figs. 1, 2, 3, 7).Our main objective is to demonstrate how such a new-generationonline modelling platform as DIMONA can be used for multipleresearch purposes, including modelling, data collection, andadvanced real-time simulations of current plant and ecosystemproductivities coupled to hydrology, soil properties and nutrients.

The Modelling Platform. The scientific code of DIMONA is written

in C++ programming language and can be run on a desktop as well.

The web application code for the front-end (the website interface

in the browser) is written in HTML5, CSS3, and JavaScript/jQuery.

The web application code for the back-end (the server and the

database, currently Apache) is written in PHP7 and MySQL for

signup, login and identification, and run setup including managing

personal user accounts and folders, storing and sharing users’ files,

model input and output, running C++ model executables. DIMONA

is used for multiple purposes here, i.e. data exploring (no personal

account needed) (Fig. 1), classic process-based modelling (personal

account needed) (Figs. 2, 4, 5, 6), and/or real-time simulations with

or without data collection (personal account needed) (Figs. 3, 7).

Fig. 1. DIMONA online modelling platform, key features to explore data without personal account

DIMONA can be

used to explore data

around the world by

unregistered users

Results and Discussion

DIMONA captured well the lowwater-holding capacity of peat at20 and 30 cm in hummocks, andat 3 and 15 cm in hollows of MerBleue bog. DIMONA modelledwell the dynamics of WT in thezone of intense WT fluctuations at40 cm

The Model Experiment. To demonstrate the potential of DIMONA

for classic process-based modelling (Fig. 2) at hourly and daily time

steps, we compared: (i) simulated θ at various depths with the

measured θ (TDR); (ii) simulated WT depth with the observed

piezometric one; and (iii) simulated ecosystem GPP and NPP with

observations at Mer Bleue bog. To demonstrate the potential of

DIMONA for advanced real time simulations at a minute time step,

we modelled the photosynthesis of hypothetical ericaceous shrubs

nearby Sacramento, every minute over a 20-minute time period at

sunrise on February 23, 2021, under ambient and unlimiting soil

hydrology. The simulations were driven by current weather data at

the site reported by OpenWeatherMap API website, and collected

and utilized by DIMONA every 60 sec, and parameterized by soil

properties reported at the same site by REST Soilgrid and Agro

Dashboard API websites, and collected by DIMONA (Fig. 3, 7).

and deep drying at 50 cm depth at Mer Bleue bog (Fig. 4).

Also, DIMONA managed to simulate the dynamics of WT depthfrom the available TDR measured θ at various depths in hummocksand hollows during 1998 – 2004 period at Mer Bleue bog (Fig. 5).

Fig. 5. Simulated WT depth below the hummock surface from θ at various depths at Mer Bleue.

WTobs = 0.56 Wtsim - 2.1

R2 = 0.80

Hummock, 20 cm

Hummock,

30 cm

Hummock, 40 cm

Hummock, 50 cm

Hollow,

3 cm

Hollow, 15 cm

WT depth [cm] (negative means below the soil surface)

● TDR measured θ [m3 m-3] Modelled θ [m3 m-3]

Simulations are made by PHM model

(Dimitrov and Lafleur 2020) that is now embedded in DIMONA platform

Fig. 4. Simulated θ at various depths and microtopographic positions at Mer Bleue bog.

θobs = 0.80 θsim + 0.19, R2 = 0.66

θobs = 0.81 θsim + 0.03, R2 = 0.66

θobs = 1.04 θsim + 0.01, R2 = 0.34

θobs = 0.78 θsim + 0.17, R2 = 0.75

θobs = 0.71 θsim + 0.04, R2 = 0.51

θobs = 0.97 θsim + 0.02, R2 = 0.46

AcknowledgementsThe field study at Mer Bleue, part of Fluxnet Canada / Canadian Carbon Program, was financedby BIOCAP Canada Foundation, CFCAS, Government of Canada, NSERC and Universite Laval.

References:OpenWeatherMap API website, https://openweathermap.org/

Agro Dashboard API website, https://wp.agromonitoring.com/dashboard/login

REST Soilgrids API website, https://rest.soilgrids.org/

Geography Map of Ireland, https://www.maps.ie/

Dietze, M. C., et al. 2018. Iterative near-term ecological forecasting: Needs, opportunities, and challenges. Proceedings of the National Academy of Sciences of the United States of America, 115, 1424–1432. https://doi. org/10.1073/pnas.1710231115

Dimitre D. Dimitrov & Peter M. Lafleur. 2021. Revisiting water retention curves for simple hydrological modelling of peat, Hydrological Sciences Journal, 66:2, 252-267, DOI: 10.1080/02626667.2020.1853132

Farley, S. S., et al. 2018. Situating ecology as a big-data science: Current advances, challenges, and solutions. BioScience, 68, 563–576. https://doi.org/10.1093/biosci/ biy068

Fer et al., 2020. Beyond ecosystem modeling: A roadmap to community cyberinfrastructure for ecological data-model integration. Global Change Biology. DOI: 10.1111/gcb.15409

Fisher, J. B., et al., 2014. Modeling the terrestrial biosphere. Annual Review of Environment and Resources, 39, 91–123. https://doi.org/10.1146/annurev-environ012913-093456

Frolking, S., et al., 2002. Modelling the seasonal to annual carbon balance of Mer Bleue bog, Ontario, Canada. Global Biogeochemical Cycles, 16 (3), 1030. doi:10.1029/2001GB001457

Hanson, P. J., & Walker, A. P. 2020. Advancing global change biology through experimental manipulations: Where have we been and where might we go? Global Change Biology, 26, 287–299. https://doi. org/10.1111/gcb.14894

Lafleur, P.M., et al. 2005a. Ecosystem respiration in a cool temperate bog depends on peat temperature but not on water table, Ecosystems 8: 619-629.

Lafleur, P.M., et al. 2005b. Annual and seasonal variability in evapotranspiration and water table at a shrub-covered bog in southern Ontario, Canada. Hydrological Processes 19, 3533-3555.

Lafleur, P.M., et al. 2003. :// doi.org/10.1038/s41558-019-0609-3

Schimel, D., et al. 2019. Flux towers in the sky: Global ecology from space. New Phytologist, 224, 570–584. https://doi.orInterannual variability in the peatland-atmosphere carbon dioxide exchange at an ombrotrophic bog, Global Biochemical Cycles, 17: pp. 5-1 to 5-14.

Medlyn, B. E., et al. 2015. Using ecosystem experiments to improve vegetation models. Nature Climate Change, 5, 528–534. https://doi.org/10.1038/nclimate2621

Reichstein, M., et al. 2019. Deep learning and process understanding for data-driven Earth system science. Nature, 566, 195–204. https://doi.org/10.1038/s41586-019-0912-1

Rineau, F., et al. 2019. Towards more predictive and interdisciplinary climate change ecosystem experiments. Nature Climate Change, 9, 809–816. httpsg/10.1111/nph.15934

Consistent with observations, soil water status affected plant andecosystem gross primary productivity (GPP) and net primaryproductivity (NPP) in the model; NPP = GPP – Ra (autotrophicrespiration). Compared to the wet years 2000, 2003, 2004progressive summer droughts in dry 2001 and 2002 resulted inlower moss productivities due to lower moss water status, whilethe vascular productivities remained relatively unaffected withremaining soil moisture in deeper peat layers that provided thenecessary plant water status in the field and in the model (Fig. 6).

ConclusionBridging science, scientific and internet programming brings a newperspective to future development of the ecological modelling.

In the morning of Feb 23, 2021, DIMONA reproduced the shrubphotosynthesis nearby Sacramento every minute over a 20-minuteperiod (Fig. 7). Low air temperature (Tair) and incoming shortwaveradiation (Rs) this time of the year reported by OpenWeatherMapAPI website, resulted in low photosynthesis rates of both shrubsunder ambient and unlimiting soil hydrology, parameterized byREST Soilgrid and Agro Dashboard API websites (Figs. 3, 7). However,the rapidly increasing Tair and Rs, at sunrise and the correspondingphotosynthesis rates were captured by DIMONA at a minute timestep, as well as the ~ two-fold lower photosynthesis under ambienthydrology compared to the one under unlimiting hydrology (Fig. 7).

Fig. 7. Simulated photosynthesis [μmol CO2 m-2 s-1] every minute over 20 minutes, Sacramento.

Fig. 6. Simulated hourly and daily course of GPP and NPP vs observed GPP at Mer Bleue bog.

2000

DOY 213 – 227 hourly fluxes in [μmol CO2 m-2 s-1]

2000 – 2004 daily fluxes in [g C m-2 d-1]

2001

2002 2003

summer drought

summer drought

GPPobs = 1.07 GPPsim + 1.38 R2 = 0.68 GPPobs = 0.99 GPPsim + 1.25 R2 = 0.71

GPPobs = 1.00 GPPsim + 1.32 R2 = 0.65 GPPobs = 1.01 GPPsim + 1.43 R2 = 0.69

GPPobs = 0.70 GPPsim + 0.09 R2 = 0.84

air Temperatureshortwave Radiation

Photosynthesisunlimiting hydrology

Photosynthesisambient hydrology

User’s Personal

Account