ocean-tracking-network / 2021-03-30-glatos-workshop

0 stars 0 forks source link

TODOs from workshop #26

Open naomitress opened 3 years ago

naomitress commented 3 years ago
CaitlinBate commented 3 years ago

add FACT lesson link and SPG youtube vids link to list here https://ocean-tracking-network.github.io/2021-03-30-glatos-workshop/14-other-curriculums/index.html.

in the ACT one - make sure you mention the glatos one too :) keep it updated

naomitress commented 3 years ago

GDAL test

install.packages('rgdal')
library(rgdal)
proj <- CRS("+init=epsg:4326")
#expected output is no error message 
#and a new item in your environment 'proj' with the class 'formal class CRS'
CaitlinBate commented 3 years ago

unique location is project+station;

mutate(station_uniq = paste0(glatos_project_receiver, station, sep=':')) or some such thing.

CaitlinBate commented 3 years ago

text to add to GlatosCode.R:

"Kessel" method is a special case of "time_interval" where time_interval_size = "1 day"

CaitlinBate commented 3 years ago

pandoc error folks: installr::install.pandoc()

maybe also install.packages('rmarkdown') and install.packages('knitr', dependencies = TRUE)

basically, figure out how to get the thing to Knit for attendees!

CaitlinBate commented 3 years ago

TODO: windows path too long in gis_spdpylr code. need to filter on separate line

spdff <- spdf %>% filter(animal_id == 153) mapview(spdff)

could be an issue with using an RMD... file names are too long to write

same on line 86 - filter first then pass to mapview

For line 86 this worked for me: spdf_time <- spdf %>% filter(detection_timestamp_utc > as.POSIXct("2012-05-01") & detection_timestamp_utc < as.POSIXct("2012-06-01"))

spdf_time <- spdf_time %>% mutate(detection_timestamp_utc = ymd_hms(detection_timestamp_utc))

mapview(spdf_time)

CaitlinBate commented 3 years ago

show how to export mapview maps

naomitress commented 3 years ago

changes all made so far in https://github.com/ocean-tracking-network/2021-04-13-act-workshop need to ensure they get in this branch too

jackVanish commented 3 years ago

There's a remaining question to do with how we implement mapview. Since we're not teaching mapview at the upcoming (April 14 2021) workshop, I'm gonna leave it till after then in favour of getting the rest of the workshop spun up.