Open naomitress opened 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
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'
unique location is project+station;
mutate(station_uniq = paste0(glatos_project_receiver, station, sep=':')) or some such thing.
text to add to GlatosCode.R:
"Kessel" method is a special case of "time_interval" where time_interval_size = "1 day"
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!
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)
show how to export mapview maps
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
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.
unique location is project+station;
andmutate(station_uniq = paste0(glatos_project_receiver, station, sep=':'))
or some such thing. @SoftwareMonk