Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to-do (work in progress) #165

Closed
ErinBecker opened this issue Jun 19, 2018 · 1 comment
Closed

to-do (work in progress) #165

ErinBecker opened this issue Jun 19, 2018 · 1 comment
Labels
help wanted Looking for Contributors status:in progress Contributor working on issue

Comments

@ErinBecker
Copy link
Contributor

ErinBecker commented Jun 19, 2018

I'm working through the lesson now and making myself a to-do list of things that need clean up or clarification.

All episodes

  • Change rasterToPoints calls to as.raster::data.frame syntax. Addressed in More cleanup #223
  • Change \n in plot titles to subtitle = . Addressed in More cleanup #223
  • Change from HTML to Markdown syntax when appropriate (for stylistic similarity across lessons) Addressed in More cleanup #223

Episode 1

  • Explain the output of DSM_HARV - learners should be helped to identify the salient features of this type of output. Addressed with Check early lessons #181
  • Break the code block that starts "convert to a df for plotting in two steps," into two chunks, first for the DTM conversion, second for the plotting. Have learners check the structure of the DTM before plotting (good point for exercise). Addressed in more cleanup as suggested in #165 #167
  • Use pipes instead of creating intermediate object (DSM_HARV_pts). Learners will have used pipes in a previous lesson. This will cut down two lines of code (no longer need the rm() call). Addressed in more cleanup as suggested in #165 #167
  • Remove ggtitle() call in first ggplot() call to cut down on typing.(?) Addressed in more cleanup as suggested in #165 #167
  • Question about metadata (immediately after first plot) is out of place. Episode moves directly into talking about CRSs rather than metadata. The connection is explained later on, but it may not be clear to the learner immediately why we ask this question before talking about the CRS. Maybe just mention that the CRS encodes important metadata? Addressed with Check early lessons #181
  • Move info introducing CRS to organization lesson. This includes the sections titled "Coordinate Reference Systems, What Makes Spatial Data Line Up On A Map?, and How Map Projections Can Fool the Eye. Addressed in move intro to raster to organization lesson #164
  • "crs() method" should be "crs() function" Addressed in more cleanup as suggested in #165 #167
  • the following parts of the CRS object aren't explained +no_defs +ellps=WGS84 +towgs84=0,0,0. Maybe link to more information about interpreting a CRS object in PROJ 4 format. Addressed with Cleanup to episode 9 #180
  • move "Extent" and "Resolution" sections to organization lesson (with images) Addressed in move intro to raster to organization lesson #164
  • remove repeated call to crs() (after Resolution section). Addressed in move intro to raster to organization lesson #164
  • simplify "square of rectangular" to "rectangular" Addressed in more cleanup as suggested in #165 #167
  • the "NoData Value standard" section mentions that GeoTiffs sometimes contain information about what is being used as the NoData value. The very end of this episode shows how to find that information. Maybe mention that that will be shown later. Addressed with Check early lessons #181
  • The "Find Bad Data values" section says "Sometimes a raster’s metadata will tell us the range of expected values for a raster." How would we find this range if it existed for our data? Exercise for learners. Addressed with Check early lessons #181
  • remove "xlab" and "ggtitle" calls in ggplot calls (multiple) to minimize typing. (?) Addressed in more cleanup as suggested in #165 #167
  • In the sentence "Jump to the fourth tutorial in this series for a tutorial on multi-band rasters: Work with Multi-band Rasters: Images in R." change "the fourth" to "a later" in case episode order is changed at a later point. Addressed with Check early lessons #181
  • The last section "View Raster File Attributes" says that it is ideal to view raster attributes before importing into R. We should mention that for the purposes of this tutorial, we did it in the opposite direction because we wanted to be able to explain each piece of the metadata individually. Addressed with Check early lessons #181
  • Replace description of proj4 formatting with wording from Episode 9. It is more detailed and clearer. Addressed with Cleanup to episode 9 #180

Episode 2

  • Remove repetitive steps in intro. We can assume that learners are completing the episodes in order, so we can remove anything that happened in episode 1. This will also help Maintainers as changes only need to be made in one place, rather that in every location where the information is repeated. Addressed with Implement suggestions from #165 #169
  • Remove calls to xlab, ylab, and ggtitle for reasons discussed above. Addressed with Implement suggestions from #165 #169
  • Mention ( ] notation in callout. Some learners may not be familiar with the inclusive, exclusive range notation. Addressed with Implement suggestions from #165 #169
  • In the "Layering Rasters" section split the code chunks as in the first episode. Addressed with Implement suggestions from #165 #169

Episode 3

Episode 4

  • Change "tutorial" to "episode" throughout (for consistency in terminology with other Carpentries lessons). Addressed with Implement suggestions from #165 #169
  • Learners have already loaded in the data for this episode. Remove that redundancy to avoid confusion. Addressed with Implement suggestions from #165 #169
  • Keep GDALinfo calls but ask learners to interpret something from them (challenge) Addressed with Implement suggestions from #165 #169
  • Simplify ggplot calls as in other episodes. Addressed with Implement suggestions from #165 #169
  • Can the function call within overlay() be simplified? Currently fun=function(r1, r2){return(r1-r2)})
  • Move data tip about custom function definitions to before the learners implement overlay for the first time. Addressed with Implement suggestions from #165 #169
  • Challenges are long and complex. Can they be broken down into smaller challenges that instructors can pick and choose from?

Episode 5

Episode 6

  • Move "About Vector Data" section to organization lesson. Addressed with Move intro to multiband rasters from raster vector lesson organization-geospatial#31
  • Learners will already have raster and rgdal loaded. Only need to have them load sf. Addressed with More cleanup #173
  • The challenge "Plot Raster & Vector Data Together" seems pretty advanced. Can we break this up into multiple challenge Qs? Maybe first add the roads and then the tower location?
  • The learners may not understand the power or importance of plotting vector data - currently only two vector data plots are shown and both are simple polygons (rectangles). It would be powerful to overlay that rectangle (the field site boundaries) over the site map (raster data) before having the learners do the exercise.
  • In the exercise solution, the roads extend past the boundaries of the map. Should that be the case? Learners will probably want to know how to restrict the range of the vector layers. Could this be another exercise (optional)?
  • Needs to be ggplotized. Discussed in convert static plotting from base r to ggplot2 #133
  • Remove "Additional Resources: Plot Parameter Options" section. We are no longer using base plotting. Addressed in More cleanup #173. Note: Episode 7 has a lot about plot customization - line thickness, color selection, legend.
  • Does the "Shapefile Attributes" section need to be here? It is repeated in the next episode where it appears to be used more. Addressed in More cleanup #173
  • The "Plot Multiple Shapefiles" section is repeated pretty much verbatim at the beginning of Episode 8. We can delete it here and the associated challenge. Addressed in More cleanup #173
  • Move the exercise on plotting vector and raster data together to the end of Episode 8, where learners have spent more time making multi-layer plots. Addressed in More cleanup #173

Episode 7

Episode 8

  • The "Plot Data" section repeats the end of the previous lesson and so can be removed. Addressed in Cleanup episodes 6, 7 and 8 #179
  • Change "Customize your legend" title to "Plot multiple shapefiles"? (we already did some legend customization in the previous episode, but haven't yet plotted multiple shapefiles in a single plot.) Addressed in Cleanup episodes 6, 7 and 8 #179
  • The last plotting call saves to an object called gg, but this is the first time we've done this. Make this like the other plot calls. Addressed in Cleanup episodes 6, 7 and 8 #179
  • Error in f(...): object 'road_palette' not found

Episode 9

Episode 10

Episode 11

Episode 12

Episode 13

Episode 14

  • "Make sure you have" these libraries loaded
  • Add loading in data step to start of file, echo = FALSE Addressed in Cleanup to last two episodes #225
  • Add "we will continue working with . . . [ files ] " at start of file - stylistic consistency
  • data.frame to "dataframe" Addressed in Cleanup to last two episodes #225
  • change calculating mean NDVI to use pipes
  • remove nested function alternative for NDVI calc Addressed in Cleanup to last two episodes #225
  • remove the "# view only the value in row 1, column 1 of the data frame" cell Addressed in Cleanup to last two episodes #225
  • move "# note the use of the vertical bar character ( | ) is equivalent to "or"." to callout Addressed in Cleanup to last two episodes #225
  • remove single line alternative code chunk Addressed in Cleanup to last two episodes #225
  • [ ] reverse order of variable assignment so that "->" always points the same direction (cognitive load)
  • Move "For more information on date-time classes" to callout Addressed in Cleanup to last two episodes #225
  • Instructions for "NDVI for the San Joaquin Experimental Range" are not clear. Does it want a comparative plot of the two sites? Not shown in answers given. From rest of episode, it looks like it just wants learners to calculate the averages and create the dataframe as done for the other site. Clarify instructions. Addressed in Cleanup to last two episodes #225
  • Remove "We will use the ggplot() function within the ggplot2 package for this plot. If you are unfamiliar with ggplot() or would like to learn more about plotting in ggplot() see the episode on Plotting Time Series with ggplot in R." Addressed in Cleanup to last two episodes #225
  • Explain for loop? Or use faceting instead? Addressed in Cleanup to last two episodes #225
  • break up code chunks and move comments to narrative Addressed in Cleanup to last two episodes #225
  • write.csv can be set to exclude row names, don't need extra lines of code
@jsta
Copy link
Member

jsta commented Jun 20, 2018

Too much typing can be a real struggle for workshops good idea to minimize it.

fmichonneau pushed a commit that referenced this issue Jun 20, 2018
@ErinBecker ErinBecker added help wanted Looking for Contributors status:in progress Contributor working on issue labels Jun 21, 2018
@ErinBecker ErinBecker added this to the Initial-publication milestone Jun 21, 2018
ErinBecker added a commit that referenced this issue Jun 22, 2018
ErinBecker added a commit that referenced this issue Jun 22, 2018
@ErinBecker ErinBecker mentioned this issue Jun 22, 2018
4 tasks
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
zkamvar pushed a commit that referenced this issue Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Looking for Contributors status:in progress Contributor working on issue
Projects
None yet
Development

No branches or pull requests

2 participants