Travis-CI Build Status AppVeyor Build Status Coverage Status

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

cconvention

The goal of cconvention is to provide access to the CCAMLR convention in spatial form, from scratch.

Installation

You can install cconvention from github with:

# install.packages("devtools")
devtools::install_github("mdsumner/cconvention")

Work in progress

This project aims to collate the agreed boundaries define by CCAMLR.

Either method results in a 1D topology, the connected boundaries in raw geographic space that need to be "baked-in", both by introducing intermediate vertices to carry curvature and to integrate implicit physical boundaries specied in the text, such as "coastline" or "ice shelf".

After baking, we can provide easy to use map structures for analytical work. The main advantage to using this process is to avoid artefacts introduced by inexact geo-spatial operations.

Example

This is a basic example which loads an in-built data set.

library(cconvention)
subarea <- division()

library(sp)
library(rgdal)
p <- spTransform(subarea, "+proj=laea +lon_0=147 +lat_0=-90 +ellps=WGS84 +no_defs")
plot(p, col = "darkgrey")
SOmap::SOmap()
for (i in seq(48.1, 48.6, by = 0.1)) {
  SOplot(division(i))
}


mdsumner/cconvention documentation built on Feb. 24, 2020, 10:50 a.m.