Open Esteban82 opened 3 years ago
Maybe this could be discussed in the next Thursday in the community meeting.
Yes, I will add it to the agenda
I copy the notes from the community meetings
makecpt -C @somecpt
? Point to some cpt-city URL.In general, think it is OK to add to cache but not to GMT core since it is not generic and not tied to data we provide
I shared some plots with the geological CPT. I think that the plots can be useful. Maybe one or two of these plots can be polished and add in the gallery (or in the forum showcase).
Batchs scripts: Earth_Age_CPT-City.zip
The important commands used were (in a batch file):
REM Links of the CPT
REM Geological CPT
rem gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GTS2012_eons.cpt"
rem gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GTS2012_eras.cpt"
rem gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GTS2012_periods.cpt"
gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GTS2012_epochs.cpt"
rem gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GTS2012_ages.cpt"
REM Gee Kent 2007
gmt which -G > %color% "http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/GeeK07.cpt"
REM Only for DOS
set /p cpt=<%color%
REM Plot
gmt grdgradient @earth_relief_05m_p -A270 -G%SHADOW% -Ne0.5
gmt grdimage -R -J -O -K @earth_age_05m_p >> %OUT% -C%cpt% -I%SHADOW%
gmt psscale -R -J -O -K -DJRM+o0.3c/0+w-7/0.618c -C%cpt% -I >> %OUT% -G0/200 -L0
rem gmt psscale -R -J -O -K -DJRM+o0.3c/0+w-7/0.618c -C%cpt% -I >> %OUT% -G0/200 -B+l"Age (Ma)"
gmt psbasemap -R -J -O -K >> %OUT% -B0
gmt pscoast -R -J -O -K >> %OUT% -Df -W1/faint
I agree these are useful and perhaps we can add some of this to the data set description of the age grids
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.
I agree these are useful and perhaps we can add some of this to the data set description of the age grids
It sounds good.
What about adding the script by @Esteban82 as an example?
@seisman I like your idea.
However I think it may be a bit simpler for an official example. Maybe some other feature/s could be add. What do you think?
However I think it may be a bit simpler for an official example
I actually feel that the official examples are a little too complicated. These official examples are good to show how powerful GMT is and how beautiful plots GMT can produce.
For users, especially new GMT users, they may want to see more "simple" examples to do a simple thing (e.g., plot lines with different styles).
The PyGMT Gallery provides many "simple" examples, and I think they're more useful.
We had some disscussions in https://github.com/GenericMappingTools/gmt/issues/3320 one year ago.
@Esteban82 We have already set up the GMT Examples repository to host simple examples. I think your example above is pretty good and simple and should be moved to that repository.
Thanks seisman. I will keep on mind.
Where are we in this? Can it be closed?
I like the idea of harvesting these examples and add them somewhere - we do have a long to geo types (like me) doing GMT maps like this so try to find a good spot.
Status of this?
I think that we could an example. So. this should to documentation. I will add a label.
This should probably go in to https://www.generic-mapping-tools.org/remote-datasets/ via the GMT repo called remote-datasets.
Well in fact I would be better to put it in the GMT Examples repository. So, I think we have to close this issue here and open a new one in that repository.
We have so many (never used) CPTs that we may as well have these CPTs in our source tree. And than, add these examples.
I am fine with ex5? But those CPTs should probably go in the cache
Can we go along and add those CPTs?
I meant to say that we should add those CPTs, not closing the issue.
Yes, sorry.
So, I have to do the following two things, right?
Not sure about 1. I think we must add them to share/cpt
. @remkos did the last edits of this, if I'm remembering it right.
Not sure about 1. I think we must add them to
share/cpt
. @remkos did the last edits of this, if I'm remembering it right.
I believe there are two options for adding the CPTs:
share/cpt
?). Here the CPT will be include in GMT (so we will need a new release).I vote for 2.
But we can do 1. and 2. Where 1. will be official when a new release comes. 2. is kind of have it but hidden
I can take care of adding the CPTs to the share/cpt folder. It also requires an addition to the Cookbook where all the included colormaps are shown. I will do that as well.
It would be great if @Esteban82 could then add the example to GMT examples.
Thanks, I'll keep a eye and take notes so I'll know how to do it next time.
Ok @remkos. I will add the example to GMT examples.
Add the CPT with the colors defined by the ICS.
https://ccgm.org/img/cms/2013%20Chart%20CGMW%20color%20codes.pdf
There are some done by Christian Heine. Maybe only the times must be checked. https://tectonicwaters.wordpress.com/2014/09/06/geological-time-scale-color-palettes-for-gmt/ https://bitbucket.org/chhei/gmt-cpts/src/master/ http://soliton.vm.bytemark.co.uk/pub/cpt-city/heine/
Are you willing to help implement and maintain this feature? Yes