Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tectonicwaters:2013:0628_graticules_for_plate_tectonic_reconstructions [2020/12/29 21:52] christiantectonicwaters:2013:0628_graticules_for_plate_tectonic_reconstructions [2021/09/05 20:17] – updated links christian
Line 13: Line 13:
 When I started to work on [[http://www.solid-earth-discuss.net/5/41/2013/sed-5-41-2013.html|South Atlantic plate kinematics]], I realised that, albeit being quite useful, some smaller plates would simply be missed by the grid marks. Also, one would also have to reassign plate ids for any new set of polygons one is working with and sometimes a bit of an update to the way things are being done is also refreshing. The routines which were used to generate these gridmark files (in the old PLATES *.dat format) were written in Fortran and I don't have a compiled version for my OS at hand and knowing the pain associated with this exercise I opted for a writing a new routine from scratch in Python tailored for use with GPlates. When I started to work on [[http://www.solid-earth-discuss.net/5/41/2013/sed-5-41-2013.html|South Atlantic plate kinematics]], I realised that, albeit being quite useful, some smaller plates would simply be missed by the grid marks. Also, one would also have to reassign plate ids for any new set of polygons one is working with and sometimes a bit of an update to the way things are being done is also refreshing. The routines which were used to generate these gridmark files (in the old PLATES *.dat format) were written in Fortran and I don't have a compiled version for my OS at hand and knowing the pain associated with this exercise I opted for a writing a new routine from scratch in Python tailored for use with GPlates.
  
-The result of this is  a short script called "CreateGraticuleLines.py" in my [[http://bitbucket.org/chhei/gptools|gptools repository]] on Atlassian's BitBucket which borrows command line options from [[http://generic-mapping-tools.org|GMT]]. I'll give a brief overview about the usage. First, either clone the toolbox using+The result of this is  a short script called "CreateGraticuleLines.py" in my [[hhttps://code.paleoearthlabs.org/gptools/file?name=graticules/CreateGraticuleLines.py&ci=tip|gptools repository]] which borrows command line options from [[http://generic-mapping-tools.org|GMT]]. I'll give a brief overview about the usage. First, either clone the toolbox using the [[https://fossil-scm.org|Fossil]] scm tool:
  
 <code bash> <code bash>
-git clone https://bitbucket.org/chhei/gptools.git+fossil clone https://code.paleoearthlabs.org/gptools/
 </code> </code>
  
-or simply download a zipped archive (either from [[https://bitbucket.org/chhei/gptools|the overview]] or from [[https://bitbucket.org/chhei/gptools/downloads|the Downloads]] page under 'branches'). Open the terminal, cd to the place where you have downloaded the archive, unzip and type:+or download a zipped archive (either from [[https://code.paleoearthlabs.org/gptools/download|here]] or clone a downstream GIT mirror of the fossil repos from [[https://git.sr.ht/~chhei/gptools/|my Sourcehut repository]]). Open the terminal, cd to the place where you have downloaded the archive, unzip and type:
  
 <code bash> <code bash>
Line 48: Line 48:
 {{ :tectonicwaters:2013:graticule_example_satl.png |An example of the application of the reconstructed graticules here as thin gray dashed lines (Heine et al., 2013)}} {{ :tectonicwaters:2013:graticule_example_satl.png |An example of the application of the reconstructed graticules here as thin gray dashed lines (Heine et al., 2013)}}
  
 +Similarly, this will also work when using GPlates' SVG export. You can of course also export your graticule file in GPlates to different formats - such as ESRI Shapefile or OGR GMT plain text format ("Save as" functionality in GPlates' feature manager).
 +
 +Happy map making. For bug reports and improvement suggestions please use the [[hhttps://code.paleoearthlabs.org/gptools/reportlist|issue tracker]] or the commenting functionality here.
  
 ~~DISCUSSION~~ ~~DISCUSSION~~