akrenner / NOAA-LCI

Mostly R code to process and visualize oceanographic, meteorological, biological, and ecological data from Kachemak Bay and Cook Inlet.
0 stars 1 forks source link

Migrate from gdal to sf, raster to terra/stars #6

Open akrenner opened 2 years ago

akrenner commented 2 years ago

Files affected: CTDwall-setup.R many others.

akrenner commented 2 years ago

also: CTDwall.R (lookup raster values at point locations) -- goes along with CTDwall-setup.R

akrenner commented 2 years ago

I've done my part in CTDwall-setup.R and CTDwall.R, commited in 711a044bb3b070ad0ae3b1a06437070ab3c77cfe But still dependent marmap, which depends on sp and raster. Wait for a new marmap version for now.
--- make marmap superfluous by using local bathymetry sources instead.

akrenner commented 2 years ago

dataSetup.R also has this issue -- could simplify a fair bit here by picking sf vs sp, stars vs raster. Migrate bathymetry code from CTDwallSetup.R into here.

akrenner commented 1 year ago

see branch "sp2sf" on using renv::dependencies(c("maptools", "rgdal", "rgeos"))

akrenner commented 4 months ago

Removed all dependencies on maptools. Outstanding code to be ported: 2017 contract, all the bird and synthesis code.