Code Monkey home page Code Monkey logo

atlantis_goa_sdm_sdmtmb_bc's Introduction

Spatial distributions for Canada with sdmTMB

This code produces distribution maps of GOA species from DFO synoptic bottom trawl surveys and the sdmTMB package (Anderson et al. 2022), to inform Atlantis GOA initial conditions and seasonal distributions (i.e., S1-S4 parameters).

This is the code that deals with British Columbia.

This code performs 3 tasks:

  1. Starting from DFO bottom trawl data and length-weight relationships, it calculates the CPUE of juveniles and adults at each haul location. This is done in catch_to_CPUE_DFO/catch_to_cpue_DFO.Rmd.
  2. Loads CPUE data into a knitter file, which subsets to the species of interest. This is done in DFO_sdmTMB_knitter.R.
  3. Runs the sdmTMB routine: fits the model, produces figures, output tables and validation metrics by species and stage. This is done in DFO_sdmTMB_template.Rmd.

Utility scripts include DFO_species.R, which maps species names from the DFO data to the Atlantis GOA functional groups. See scripts for details on data sources and methods.

References

Anderson, S.C., E.J. Ward, P.A. English, L.A.K. Barnett. 2022. sdmTMB: an R package for fast, flexible, and user-friendly generalized linear mixed effects models with spatial and spatiotemporal random fields. bioRxiv 2022.03.24.485545; doi: https://doi.org/10.1101/2022.03.24.485545

atlantis_goa_sdm_sdmtmb_bc's People

Contributors

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