Giter VIP home page Giter VIP logo

vibrio_baltic_sea's Introduction

License: GPL v3

First steps towards a near real-time modelling system of Vibrio vulnificus in the Baltic Sea

This repository contains the code for the manuscript "First steps towards a near real-time modelling system of Vibrio vulnificus in the Baltic Sea", submitted to the International Journal of Environmental Research and Public Health. In this research, we compiled a dataset with more than 600 samples of Vibrio vulnificus and then use data or models and reanalysis to derive the environmental network between several hydrodynamic, meteorological and biogeochemical parameters and V. vulnificus in the south-western Baltic Sea. We also analyse changes of the season length between 1995 and 2021.

Except a manual cleaning of the original Vibrio datasets provided by the health agencies, the data analysis was conducted in Python. The code in this repo can be used to reproduce the results and all figures.

Workflow:

  1. Download and prepare all environmental data
    1. To download the CMEMS data through openDAP run env_data_download/prep_CMEMS_nutrients.py
    2. To download COSMO-REA6 data from the FTP server of the DWD run env_data_download/prep_DWD_COSMO_REA6.py
    3. GETM Data (SST and SSS) is available on the thredds server of the IOW
      1. To validate its SST and SSS products product, run validation_of_inputs/validation_GETM_SST_SSS.py
  2. Prepare data of the Vibrio measurements
    1. to merge intermediate data from MV with data from SH run data_preparation/prep_mv_data_and_merge_w_sh.py
  3. Merge Vibrio data and environmental data and derive the optimal time lag
    1. Apply the flixble moving window of flexible size to calculate means and trends within each window on the GETM data (SST and SSS) and CMEMS nutrients data: run data_preparation/merge_vibrio_env_data.py
    2. To do so for the meteorological data (DWD COSMO REA 6), run data_preparation/merge_vibrio_meteo_data.py
    3. To plot the lagged correlations in correlation matrices, run analysis/plot_lagged_correlations.py. This creates correlation matrices by default in N:/plots/corr_matrices/
    4. Drop stations with unreliable SSS, select optimal time lags based on the correlation matrices, add them into/change them in data_preparation/compile_vibrio_and_env_timelag.py and run this script. Output CSV files will by default be written to N:/data/merged_vibrio_env/
  4. Run the St. Nicolas House Analysis with analysis/run_snha_for_Vibrios.py
  5. Analyse the SST time series to calculate changes of the Vibrio season length by running analysis/Vibrio_season.py
  6. Figures 3, 6, 7 and A2 are plotted from within the functions above. Additional plots were created with code in plots/.

License

This work is licensed under a GNU General Public License version 3 License.

vibrio_baltic_sea's People

Contributors

eikeschuett 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.