Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notes from session #5

Open
mdsumner opened this issue Mar 3, 2017 · 0 comments
Open

notes from session #5

mdsumner opened this issue Mar 3, 2017 · 0 comments

Comments

@mdsumner
Copy link
Member

mdsumner commented Mar 3, 2017

Pulled from the etherpad

R Graphics and Mapping

samples on a map, bathymetry

map projections sp::spTransform raster::projectRaster
avoid reprojecting rasters and remodelling data, use extract

overlaying satellite data raster::extract(grid, polygon/points)
pkg:Raster

  • super versatile, can handle many different formats

labels
use ggplot2 for better labelling
tip: use base map with labels already included
otherwise rely on manually entering spatial points and custom labels
SCAR gazetteer for placenames in R package:
https://github.com/AustralianAntarcticDataCentre/antanym

custom polygons

  • use qgis

legends

  • ggplot good for legends (sometimes incompatible)

What do you need?

  • http://proj4.org/ proj4 has documentation on projection formation that can be used to transform data
  • Help overlaying spatial data on maps eg. satellite data. +1
  • automatic? Cartographic labels of ocean features eg. Bounty Trough, Tasman Rise etc.
    creating custom polygons
    editting shapfiles ?polylines?
    *shape files in maps
    *visually appealing plots
    *regional SO map, plot sample data over oceanographic/bathymetry data
    *pretty figures also...how to make plots with lots of data points clear
    *Create a legend
    *Fix scales-make them meaningful
  • Make colour bars with labels
  • viridis colour palette; good contrast and colour blind friendly colours
    *Add background colour and pictures to plots
    *raster layers- the basics

  • CCAMLR gis package available with relevant polygons/data layers for Southern Ocean biology; predominantly CCAMLR management areas

Piping:
Avoids nesting within functions...and indecipherable code.
Reorganises code

PLaces to find help/tutorials:
Data Carpentry
DataScienceHobart Github site > ISSUES
Software Carpentry Creating Publication-Quality Graphics
Rpubs http://rpubs.com/cyclemumner/aad-mapping-tips
Rpubs https://rpubs.com/bhaskarvk/leaflet-polarmaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant