Skip to content

Add CPT of the geological time scale #47

Open

Activity

  1. Esteban82 commented on Nov 16, 2020

    @Esteban82
    MemberAuthor

    Maybe this could be discussed in the next Thursday in the community meeting.

  2. PaulWessel commented on Nov 16, 2020

    @PaulWessel

    Yes, I will add it to the agenda

  3. Esteban82 commented on Nov 20, 2020

    @Esteban82
    MemberAuthor

    I copy the notes from the community meetings

    • Can be tricky to add too many domain specific ones (which ones do we add and which ones we don’t?)
    • Can have them managed as remote data files
    • CPTCity is great for this already
    • Have a makecpt -C @somecpt? Point to some cpt-city URL.
    • Need to be careful with license and citations if we’re storing CPTs

    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

    • What do we do with the data cache? There are a lot of datasets but they are not listed
    • We don’t want to have to maintain a lot of data files
    • Could have a clearer naming scheme (like @sample_* for every dataset used in the docs).-
  4. Esteban82 commented on Nov 22, 2020

    @Esteban82
    MemberAuthor

    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
    

    Earth_Age_CPT-City_Periods_Ma

    Earth_Age_CPT-City_Periods_Names

    Earth_Age_CPT-City_Epochs_Ma
    Earth_Age_CPT-City_Epochs_Name
    Earth_Age_CPT-City_Geek07
    Earth_Age_CPT-City_Geek07_Chron

  5. PaulWessel commented on Nov 22, 2020

    @PaulWessel

    I agree these are useful and perhaps we can add some of this to the data set description of the age grids

  6. stale commented on Jun 2, 2021

    @stale

    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.

  7. seisman commented on Jun 19, 2021

    @seisman
    Member

    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?

  8. Esteban82 commented on Jun 19, 2021

    @Esteban82
    MemberAuthor

    @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?

  9. seisman commented on Jun 19, 2021

    @seisman
    Member

    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.

  10. seisman commented on Jun 19, 2021

    @seisman
    Member

    We had some disscussions in GenericMappingTools/gmt#3320 one year ago.

  11. seisman commented on Mar 9, 2022

    @seisman
    Member

    @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.

  12. Esteban82 commented on Mar 9, 2022

    @Esteban82
    MemberAuthor

    Thanks seisman. I will keep on mind.

  13. joa-quim commented on Feb 11, 2023

    @joa-quim
    Member

    Where are we in this? Can it be closed?

  14. 10 remaining items

  15. joa-quim commented on Apr 6, 2024

    @joa-quim
    Member

    I meant to say that we should add those CPTs, not closing the issue.

  16. Esteban82 commented on Apr 6, 2024

    @Esteban82
    MemberAuthor

    Yes, sorry.

  17. Esteban82 commented on Apr 6, 2024

    @Esteban82
    MemberAuthor

    So, I have to do the following two things, right?

    1. Add the 5 geological CPT to the cache.
    2. Add an example in GMT Examples.
  18. joa-quim commented on Apr 6, 2024

    @joa-quim
    Member

    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.

  19. Esteban82 commented on Apr 6, 2024

    @Esteban82
    MemberAuthor

    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:

    1. within GMT (in share/cpt ?). Here the CPT will be include in GMT (so we will need a new release).
    2. on the GMT servers as we did for the planetary CPT. No need for a new release.

    I vote for 2.

  20. joa-quim commented on Apr 6, 2024

    @joa-quim
    Member

    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

  21. remkos commented on Apr 6, 2024

    @remkos

    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.

  22. joa-quim commented on Apr 6, 2024

    @joa-quim
    Member

    Thanks, I'll keep a eye and take notes so I'll know how to do it next time.

  23. Esteban82 commented on Apr 7, 2024

    @Esteban82
    MemberAuthor

    Ok @remkos. I will add the example to GMT examples.

  24. joa-quim commented on Jun 9, 2025

    @joa-quim
    Member

    How are we with this?

  25. Esteban82 commented on Jun 9, 2025

    @Esteban82
    MemberAuthor

    Delayed! Sorry. I will try to do it in July.

  26. added
    documentation
    on Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions