Giter Club home page Giter Club logo

3d_lake_nutrient_flux_network_modelling's Introduction

3D Lake Nutrient Flux Network Modelling

This repository contains the code for the paper "Exploring Nonlinear Responses of Lake Nutrients and Algal Blooms to Restoration Measures: A Three-Dimensional Flux Network Modelling Approach".

EFDC model

The parameter configurations of the EFDC model can be found in the SI.

Meta file

All directories and coefficients should be assigned in the python script file meta.py.

Calculation of the TN, TP and Chla

Run the Python script water_quality_cal.py to calculate the TN, TP and Chla. Set the scenarios to compute values for certain scenarios. The default is to calculate all the scenarios.

Calculation of the nutrient storages and fluxes

Run the Python script flux_cal.py to calculate the nutrient storages and fluxes. Set the scenarios to compute values for certain scenarios. The default is to calculate all the scenarios.

Building the nutrient networks

Run the Python script flux_network_extract.py to build the nutrient networks based on nutrient storages and fluxes. Set the parameter frequency can control the network aggregation periods. Available values: "m" for monthly average and "d" for daily average.

ENA analysis

Ecological network analysis (ENA) is a widely used method in the food web assessments. Here, it was used to provide systematic information on N and P cycling in lake ecosystems. Set the correct directory of the network files and then run the R script flow_analysis.R to get the values of indicators and visualization results.

Visualization

Files to create the figures in the main text:

  • water_quality_calibration_maintext.py: Fig. 2;
  • flux_stack_maintext.py: Fig. 3;
  • water_quality_scenario_maintext_si.py: Figs. 4a, 4b, 5a, and 5b;
  • flux_network_maintext.py: Figs. 4c, 4d, 5c, and 5d;
  • nonlinearity_maintext.py: Fig. 7.

Files to create the figures in the SI:

  • water_quality_calibration_si.py: Fig. S1-S7;
  • water_quality_calibration_area.py Fig. S8;
  • water_quality_scenario_maintext_si.py: Figs. S9 and S10;
  • flux_network_si.py: Figs. S11-S17.

3d_lake_nutrient_flux_network_modelling's People

Contributors

yimsun97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.