Git Product home page Git Product logo

emodnet-biology-fish-benthos-traits's Introduction

Product created by Olivier Beauchard, DIVA interpolations by Charles Troupin

This is the Github repository of the EMODnet Biology products described here:

http://www.emodnet-biology.eu/distribution-fish-living-modes-european-seas

http://www.emodnet-biology.eu/distribution-benthic-macroinvertebrate-living-modes-european-seas

For all the products, the same approach is adopted and described in a jupyter-notebook with the corresponding Julia code. We used following DIVAnd version:

Alexander Barth. (2018, September 3). gher-ulg/DIVAnd.jl: v2.1.0 (Version v2.1.0). Zenodo. http://doi.org/10.5281/zenodo.1407912

DOI

Data reading

All data is available on https://dox.ulg.ac.be/index.php/s/EvIwSvTwhtJ6Tmu /benthos_fish_data/.

The text files are read using the readdlm function (reading of files where columns are separated by a delimiter, a comma in this case). In most of the notebooks, the reading functions (as well as the plotting and writing functions) are defined in the corresponding src file.

For example, in the notebook make_fish_product.ipnb, the functions are defined in src/make_fishs_products.jl.

Interpolation

Creation of the land-sea mask

The mask is based on the GEBCO bathymetry with a lower resolution than the original, 30-minute resolution product, as such a fine topography is not necessary for the present applications.

Parameter choice

Some tests and sensitivity analysis have been performed to find the optimal values of the two main analysis parameters:

  1. correlation length and
  2. the signal-to-noise ratio.

As the operations to estimate these parameters are rather costly, we decided to fix these values.

Data transformation

When the dataset consists of counts of different species, a transformation f(x) = log_10(x + 1.) was applied to the observations. The inverse transformation is then applied to the resulting gridded field obtained in the next step.

Spatial interpolation

DIVAnd is applied to the transformed data. When necessary, the relative abundance of different species is computed.

Error field estimation

The goal of this step is to obtain a field that represents the confidence one can have in the results. In general this field depends on the data coverage, and it can be used to mask the interpolated field when the error is above a given threshold.

Plotting

Some basic functions were designed for each application, showing the data positions and values (scatter plot) or the interpolated fields, along with the land-sea mask constructed in a previous stage of the analysis.

NetCDF file writing

The interpolated and error fields are stored in netCDF files. The name of the file is the same as the data file employed as an input for the interpolation, except that the file extension is changed to ".nc".

Whenever possible, the chosen approach was to write all the information in a single file: for instance, for the fish temporal product (3-year periods for the data), a time dimension was added to the file to that all the periods are available in the same netCDF. For the traits, a dimension names and a variable names storing the trait names are added.

emodnet-biology-fish-benthos-traits's People

Contributors

ctroupin avatar lennertschepers avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sklayn

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.