From f1748da8a66b6c90c0ee12236395e8a775c5d61b Mon Sep 17 00:00:00 2001 From: Jon Jablonski Date: Mon, 25 Nov 2024 16:03:39 -0800 Subject: [PATCH 1/4] clarifying language about vertical vs horizontal resolution and the metadata. --- episodes/01-raster-structure.Rmd | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/episodes/01-raster-structure.Rmd b/episodes/01-raster-structure.Rmd index 517959ef..df98ba42 100644 --- a/episodes/01-raster-structure.Rmd +++ b/episodes/01-raster-structure.Rmd @@ -210,9 +210,15 @@ plot(DSM_HARV) This map shows the elevation of our study site in Harvard Forest. From the legend, we can see that the maximum elevation is ~400, but we can't tell whether -this is 400 feet or 400 meters because the legend doesn't show us the units. We -can look at the metadata of our object to see what the units are. Much of the -metadata that we're interested in is part of the CRS. We introduced the +this is 400 feet or 400 meters because the legend doesn't show us the units. + +Unfortunately, nothing in the technical metadata (that which is built into +the file format) tells us what the _vertical_ resolution is. For now you will +have to trust us that it is meters. + +However, we can look at the metadata of our object to see what the horizontal +units are: in other words how many meters from the origin are the +x and y points. That metadata, is part of the CRS. We introduced the concept of a CRS in [an earlier lesson](https://datacarpentry.org/organization-geospatial/03-crs). @@ -232,7 +238,7 @@ crs(DSM_HARV, proj = TRUE) ## Challenge -What units are our data in? +What units are our horizontal data in? ::::::::::::::: solution From 6449064c51f7220af971d819c59d750eaed50742 Mon Sep 17 00:00:00 2001 From: Jon Jablonski Date: Mon, 2 Dec 2024 10:36:44 -0800 Subject: [PATCH 2/4] adjusted timings. enhanced and updated instructor notes with episode numbers and current titles. --- ...8-vector-plot-shapefiles-custom-legend.Rmd | 4 +-- .../09-vector-when-data-dont-line-up-crs.Rmd | 2 +- instructors/instructor-notes.md | 29 ++++++++++--------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/episodes/08-vector-plot-shapefiles-custom-legend.Rmd b/episodes/08-vector-plot-shapefiles-custom-legend.Rmd index bf7b2fb1..dc519ba3 100644 --- a/episodes/08-vector-plot-shapefiles-custom-legend.Rmd +++ b/episodes/08-vector-plot-shapefiles-custom-legend.Rmd @@ -1,7 +1,7 @@ --- title: Plot Multiple Vector Layers -teaching: 40 -exercises: 20 +teaching: 30 +exercises: 15 source: Rmd --- diff --git a/episodes/09-vector-when-data-dont-line-up-crs.Rmd b/episodes/09-vector-when-data-dont-line-up-crs.Rmd index 41b34743..b9cc1191 100644 --- a/episodes/09-vector-when-data-dont-line-up-crs.Rmd +++ b/episodes/09-vector-when-data-dont-line-up-crs.Rmd @@ -1,6 +1,6 @@ --- title: Handling Spatial Projection & CRS -teaching: 40 +teaching: 30 exercises: 20 source: Rmd --- diff --git a/instructors/instructor-notes.md b/instructors/instructor-notes.md index ea090462..7852e8b4 100644 --- a/instructors/instructor-notes.md +++ b/instructors/instructor-notes.md @@ -30,7 +30,7 @@ from this data. at the end of the first day, they will need to either save the workspace or reload the data and packages. Because of this, it is essential that learners save their code to a script throughout the lesson. -#### [Intro to Raster Data in R](01-raster-structure.md) +#### [1 Intro to Raster Data in R](01-raster-structure.md) - Be sure to introduce the datasets that will be used in this lesson. There are many data files. It may be helpful to draw a diagram on the board showing the types of data that will be plotted and analyzed @@ -48,7 +48,7 @@ from this data. - Be sure to draw a distinction between the DTM and the DSM files, as these two datasets will be used throughout the lesson. -#### [Plot Raster Data in R](02-raster-plot.md) +#### [2 Plot Raster Data in R](02-raster-plot.md) - `geom_bar()` is a new geom for the learners. They were introduced to `geom_col()` in the [Introduction to R for Geospatial Data](https://datacarpentry.org/r-intro-geospatial/) lesson. - `dplyr` syntax should be familiar to your learners from the [Introduction to R for Geospatial Data](https://datacarpentry.org/r-intro-geospatial/) lesson. @@ -56,20 +56,20 @@ from this data. - Starting in this episode and continuing throughout the lesson, the `ggplot` calls can be very long. Be sure to explicitly describe each step of the function call and what it is doing for the overall plot. -#### [Reproject Raster Data in R](03-raster-reproject-in-r.md) +#### [3 Reproject Raster Data in R](03-raster-reproject-in-r.md) - No notes yet. Please add your tips and comments! -#### [Raster Calculations in R](04-raster-calculations-in-r.md) +#### [4 Raster Calculations in R](04-raster-calculations-in-r.md) - The `overlay()` function syntax is fairly complex compared to other function calls the learners have seen. Be sure to explain it in detail. -#### [Work With Multi-Band Rasters in R](05-raster-multi-band-in-r.md) +#### [5 Work With Multi-Band Rasters in R](05-raster-multi-band-in-r.md) - No notes yet. Please add your tips and comments! -#### [Open and Plot Shapefiles in R](06-vector-open-shapefile-in-r.md) +#### [6 Open and Plot Shapefiles in R](06-vector-open-shapefile-in-r.md) - Learners may have heard of the `sp` package. If it comes up, explain that `sf` is a more modern update of `sp`. @@ -89,40 +89,40 @@ polygon edge not found > {: .error} > ``` -#### [Explore and Plot by Shapefile Attributes](07-vector-shapefile-attributes-in-r.md) +#### [7 Explore and Plot by Shapefile Attributes](07-vector-shapefile-attributes-in-r.md) - No notes yet. Please add your tips and comments! -#### [Plot Multiple Shapefiles in R](08-vector-plot-shapefiles-custom-legend.md) +#### [8 Plot Multiple Vector Layers](08-vector-plot-shapefiles-custom-legend.md) - No notes yet. Please add your tips and comments! -#### [Handling Spatial Projection \& CRS in R](09-vector-when-data-dont-line-up-crs.md) +#### [9 Handling Spatial Projection \& CRS in R](09-vector-when-data-dont-line-up-crs.md) - Note that, although `ggplot` automatically reprojects vector data when plotting multiple shapefiles with different projections together, it is still important to be aware of the CRSs of your data and to keep track of how they are being transformed. -#### [Convert from .csv to a Shapefile in R](10-vector-csv-to-shapefile-in-r.md) +#### [10 Convert from .csv to a Vector Layer](10-vector-csv-to-shapefile-in-r.md) - No notes yet. Please add your tips and comments! -#### [Manipulate Raster Data in R](11-vector-raster-integration.md) +#### [11 Manipulate Raster Data](11-vector-raster-integration.md) - Learners have not yet been exposed to the `melt()` function in this workshop. They will need to have the syntax explained. - This is the first instance of a faceted plot in this workshop. -#### [Raster Time Series Data in R](12-time-series-raster.md) +#### [12 Raster Time Series Data](12-time-series-raster.md) - No notes yet. Please add your tips and comments! -#### [Create Publication-quality Graphics](13-plot-time-series-rasters-in-r.md) +#### [13 Create Publication-quality Graphics](13-plot-time-series-rasters-in-r.md) - Be sure to show learners the before and after plots to motivate the complexity of the `ggplot` calls that will be used in this episode. -#### [Derive Values from Raster Time Series](14-extract-ndvi-from-rasters-in-r.md) +#### [14 Derive Values from Raster Time Series](14-extract-ndvi-from-rasters-in-r.md) - This is the first time in the workshop that learners will have worked with date data. @@ -157,6 +157,7 @@ polygon edge not found researchers, particularly those outside of environmental sciences), then move to raster data if there is extra time. - Skip Introduction to Geospatial Concepts. Spend at most 30 minutes reviewing things as this is currently not an interactive curriculum. Most of the concepts you can cover within the R for Raster and Vector Data curriculum. +- Covering Episode 10 immediately after 3 can be helpful to solidify the concepts of projections ## Common problems From a42ded3d5f41005ba58352c831eae3f33996538d Mon Sep 17 00:00:00 2001 From: Jon Jablonski Date: Mon, 2 Dec 2024 10:47:53 -0800 Subject: [PATCH 3/4] downsizing error message --- instructors/instructor-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instructors/instructor-notes.md b/instructors/instructor-notes.md index 7852e8b4..c65ca257 100644 --- a/instructors/instructor-notes.md +++ b/instructors/instructor-notes.md @@ -77,7 +77,7 @@ from this data. If you see the following error message, try to re-run your plotting command and it should work. The `ggplot` development team is working on fixing this bug. -## Error message +* Error message * > ``` > Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, : From 23bed0258047705f4f63214a18da76e5fdf52b62 Mon Sep 17 00:00:00 2001 From: Jon Jablonski Date: Mon, 2 Dec 2024 11:38:14 -0800 Subject: [PATCH 4/4] adding myself to maintainers on readme. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 712388be..f0b5a246 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ - [Jemma Stachelek][stachelek_jemma] - [Ivo Arrey][arreyves] - Drake Asberry +- [Jon Jablonski][jonjab] [stachelek_jemma]: https://carpentries.org/instructors/#jsta [arreyves]: https://carpentries.org/instructors/#arreyves