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

Example showing grdgradient shading outputs with different radiance or normalize values #2322

Closed
weiji14 opened this issue Jan 13, 2023 · 0 comments · Fixed by #2354
Closed
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Milestone

Comments

@weiji14
Copy link
Member

weiji14 commented Jan 13, 2023

Description of the desired feature

The default shading/-I of grdimage is +a-45+nt1+m0, or an azimuth of 45deg, intensity of 1 and radiance of 0. The intensity settings can also be controlled in a finer manner using https://www.pygmt.org/v0.8.0/api/generated/pygmt.grdgradient.html.

To make it more intuitive to understand what different intensity (-1 to +1) and radiance (0 to 1) settings look like, it would be good to have an example showing the differences. One idea is to have a gallery example plotting some DEM with the different combinations in a grid subplot.

radiance=0 radiance=0.5 radiance=1
normalize=-1
normalize=0
normalize=+1

Alternatively, we could also create a full tutorial that walks through some of the advanced features of grdgradient.

This was an idea suggested by @JingHuiTong during the AGU 2022 Fall Meeting.

Extending from #1425.

Are you willing to help implement and maintain this feature?

Maybe

@weiji14 weiji14 added good first issue Good for newcomers documentation Improvements or additions to documentation help wanted Helping hands are appreciated labels Jan 13, 2023
@yvonnefroehlich yvonnefroehlich removed the help wanted Helping hands are appreciated label Mar 5, 2023
@seisman seisman added this to the 0.9.0 milestone Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
3 participants