Data Expeditions: Estimating home ranges using track data in QGIS and RStudio

Project Summary

We introduced students to spatial analysis in QGIS and R using location data from two whale species tagged with satellite transmitters. Students were given satellite tracks from five Cuvier’s beaked whales (Ziphius cavirostris) and five short-finned pilot whales (Globicephala macrorhynchus) tagged off the North Carolina coast. Students then used RStudio to calculate two metrics of these species' spatial ranges: home range (where a species spends 95% of its time) and core range (where a species spends 50% of its time). Next, students used QGIS to visualize the data, producing maps that displayed the whales' tracks and their ranges.

Themes and Categories
Year
2018

Graduate Students: Amanda Lohmann, Ph.D., Student in Ecology, and Ann-Marie Jacoby, Ph.D., Student in Marine Science and Conservation

Faculty: Dr. Andrew Read

Course: "Marine Mammals" (BIOLOGY 376LA; 2018)

Data Description

The dataset consists of series of location points recorded from satellite tags on five short-finned pilot whales and five Cuvier's beaked whales. The whales were tagged off Cape Hatteras, NC between 2014 and 2016 as part of a joint effort between Duke University and the US Navy Marine Species Monitoring Program (Deep Divers and Satellite Tagging Records).

Class Summary

We gave a brief overview of the ARGOS satellite system and issues involved in cleaning up the error-prone data that is recorded by ARGOS satellite tags. We introduced the concept of geographic information system (GIS) software used for geospatial analysis. We discussed the need to project three-dimensional spatial data from the Earth's surface onto two-dimensional planes for analysis in GIS software and explained the importance of consistently using the same projection within a single project.

We then presented the whale track data and explained the concept of home ranges and core ranges. Next, we gave students the instructions sheet, which walked them through calculating home range and core range for both species of whale. The assignment asked students to: use the open-source QGIS program to load satellite-recorded whale locations; project the 3D latitude-longitude coordinates onto a 2D plane; export the projected coordinates into a file that could be loaded with the R programming language; use R to calculate the home range and core range of each species using a method known as kernel density estimation (KDE); transfer the resulting polygons back into QGIS; and create clear, easy-to-read maps in QGIS displaying the whales' tracks and their ranges.

Assignment

  1. Create two maps in QGIS one for short-finned pilot whales (Globicephala macrorhynchus) and one for Cuvier’s beaked whales (Ziphius cavirostris) displaying the track points, core range, and home range for all animals using kernel density estimations in R.
  2. Descriptively compare pilot whale and Cuvier’s beaked whale home ranges by completing the following:
    1. Describe the two species' home ranges and core ranges.
    2. Compare the two species' home ranges (similarities and differences), and
    3. Give possible reasons as of to why there are similarities and differences between the two species' home ranges. Think about their physiology, diet, behavior, etc., as well as the continental shelf and Gulf Stream.

We expect a paragraph but no more than one page. Please cite the sources you use.

Course Materials

  1. Thorne LH, Foley HJ, Baird RW, Webster DL, Swaim ZT, Read AJ (2017) Movement and foraging behavior of short-finned pilot whales in the Mid-Atlantic Bight: importance of bathymetric features and implications for management. Mar Ecol Prog Ser 584:245-257. https://doi.org/10.3354/meps12371 
  2. Stanistreet, JE, Nowacek DP, Baumann-Pickering S, Bell JT, Cholewiak DM, Hildebrand JA, Hodge LEW, Moors-Murphy HB, Van Parijs SM, Read AJ.  2017. Using passive acoustic monitoring to document the distribution of beaked whale species in the western North Atlantic Ocean. Canadian Journal of Fisheries and Aquatic Sciences.

Visualizations

Pilot Whale Tracks

Pilot whale home range and core range

Beaked whale home range and core range

Related Projects

We led a 75-minute class session for the Marine Mammals course at the Duke University Marine Lab that introduced students to strengths and challenges of using aerial imagery to survey wildlife populations, and the growing use of machine learning to address these "big data" tasks.

Most phenomena that data scientists seek to analyze are either spatially or temporally correlated. Examples of spatial and temporal correlation include political elections, contaminant transfer, disease spread, housing market, and the weather. A question of interest is how to incorporate the spatial correlation information into modeling such phenomena.

 

In this project, we focus on the impact of environmental attributes (such as greenness, tree cover, temperature, etc.) along with other socio-demographics and home characteristics on housing prices by developing a model that takes into account the spatial autocorrelation of the response variable. To this aim, we introduce a test to diagnose spatial autocorrelation and explain how to integrate spatial autocorrelation into a regression model

 

 

In this data exploration, students are provided with data collected from remote sensing, census, and Zillow sources. Students are tasked with conducting a regression analysis of real-estate estimates against environmental amenities and other control variables which may or may not include the spatial autocorrelation information.

 

Over the course of two, one and a half hour sessions we led students in the Duke Marine Lab Marine Ecology class (Biology 273LA) on a data expedition using the statistical programming environment R. We gave an introduction to big data, the role of big data in ecology, important things to consider when working with data (quality control, metadata, etc.), dealing with big data in R, what the Tidyverse is, and how to organize tidy data (see class PowerPoint). We then led a hands-on coding workshop where we explored an open-access citizen science dataset of aquatic plants along U.S. east coast (see dataset details below).