Chapter 6 TurtleWatch

notebook filename | 07_turtlewatch_xtracto.Rmd
history | converted to R notebook from R_Turtlewatch_rXtracto.R

6.2 Select the Satellite Data

  • Use the MUR SST dataset (ID jplMURSST41mday)
  • Gather information about the dataset (metadata) using rerddap
  • Displays the information

6.3 Get Satellite Data

  • Select an area off the coast of California: longitude range of -130 to -115 east and latitude range of 25 to 40 north
  • Set the time range to days withing one month: tcoord=c(‘2018-06-06’,‘2018-06-08’)). The values do have to be different.
## Registered S3 method overwritten by 'httr':
##   method           from  
##   print.cache_info hoardr

6.4 Make a quick plot using plotBBox

## grid object contains more than 1e+05 pixels
## increase `maxpixels` for a finer resolution

6.5 Define the Thermal niche of Loggerhead Turtles

__ Set the thermal range to 17.5-18.5 degrees C, as determined by the TurtleWatch program.__

Create another variable for habitat temperature

Set the habitat temperature to equatl NA

## grid object contains more than 1e+05 pixels
## increase `maxpixels` for a finer resolution

It would be nicer to color in the turtle habitat area (the NA values) with a different color. If you want to customize the graphs its better to use ggplot that the plotBBox that comes with rerrdapXtracto package. Here we will use ggplot to plot the data. But first the data is reformatted for use in ggplot.

Restructure the data