UCSBCarpentry / geospatialRUCSBAtlas

A repo to keep track of a set of examples for an R for GeoSpatial workshop. AKA the Ratlas. No rats involved.
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Update episode 4 to switch to the terra package as needed #23

Closed brunj7 closed 1 day ago

brunj7 commented 5 months ago

Went through the code and made the updates: https://github.com/UCSBCarpentry/geospatialRUCSBAtlas/pull/24

Not sure if we want to add the code to write the raster or leave it to the participants to do it

kristi-sara commented 5 months ago

juliens pr merged. Seeing theres a question about writing the raster or leaving it, I'll leave this issue open for now.

brunj7 commented 3 months ago

decided to add writing the raster to the disk

brunj7 commented 3 months ago

Working on this I realized the resolution and extent of bathy and DEM were not matching. I updated the episode 3 projection to use DEM as reference 023c54a.

It seems sea level is at 5m in the DEM not 4. need to talk to @jonjab about this.

brunj7 commented 1 day ago

The merge of the dem and bathy has been done. Note: we might have to revisit how to best handle the lower part of the DEM (for now has been set to NA to help with the overlap merging along the coast)