rgb arguments not needed in plotting true color raster

Open Beginner friendly
#507 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
r
Domain
documentation

Research direction

Start with instructor/05-raster-multi-band-in-r.html, the lesson section linked in the issue, and review the true-color raster plotting example. Update it to omit the standard-order r=1, g=2, b=3 arguments and add a spoiler or callout explaining when explicit band arguments are needed; the revised lesson should render clearly and preserve the unexpected-band-order guidance.

Written by the indexing model from the issue text.

Description

How could the content be improved?

At our workshop today at UW-Madison, the instructor left out the r=1, g=2, b=3 arguments since those are not needed if the band are in standard rgb order. To save some typing, I recommend we change this in the lesson and instead add a spoiler or callout mentioning that you can specify if the layers are in an unexpected order instead.

Which part of the content does your suggestion apply to?

https://datacarpentry.github.io/r-raster-vector-geospatial/instructor/05-raster-multi-band-in-r.html

Dominant language
R
Stars
119
Forks
113
Avg merge
1m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from datacarpentry/r-raster-vector-geospatial

All issues in datacarpentry/r-raster-vector-geospatial

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.