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

grdclip: Facilitate mulplite reclassification #4573

Open
Esteban82 opened this issue Dec 15, 2020 · 2 comments
Open

grdclip: Facilitate mulplite reclassification #4573

Esteban82 opened this issue Dec 15, 2020 · 2 comments
Assignees
Labels
feature request Request a new feature

Comments

@Esteban82
Copy link
Member

Esteban82 commented Dec 15, 2020

I copy the question / feature request from Circular (slope-aspect) color scale "bar":

Is there a simpler way to do this?

gmt grdclip %SLOPE_GRID% -G%CUT% -Sb3/10 -Si3/12/20 -Si12/22/30 -Sa22/40 
gmt grdclip %ASPECT_GRID% -G%CUT2% -Sb22.5/1 -Si22.5/67.5/2 -Si67.5/112.5/3 -Si112.5/157.5/4 -Si157.5/202.5/5 -Si202.5/247.5/6 -Si247.5/292.5/7 -Si292.5/337.5/8 -Sa337.5/

To be clear. Instead of the above, to write something like this (which NOT exist, I just take the idea of -C and -T from makecpt). The “-” in the begging and in the end are for -Sb and -Sa (or MIN and MAX). Hope to be clear.

gmt grdclip %SLOPE_GRID% -G%CUT% -C10,20,30,40 -T-,3,12,22,-
gmt grdclip %ASPECT_GRID% -G%CUT2% -C1,2,3,4,5,6,7,8  -T-,22.5,67.5,112.5,157.5,202.5,247.5,292.5,337.5,-

Are you willing to help implement and maintain this feature? Yes

@joa-quim
Copy link
Member

joa-quim commented Apr 6, 2024

Maybe close?

@Esteban82
Copy link
Member Author

I will try to do it myself.

@Esteban82 Esteban82 self-assigned this Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants