diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2024-03-08 15:42:16 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2024-03-08 15:42:16 +0000 |
commit | 218ac409d5f9f509d6fa58558c7b2e52331a424d (patch) | |
tree | c84f49de2a59e859f3c37a12789f188278bad04d | |
parent | 7da02b8777578beef0967c29577a2e90446e1417 (diff) | |
download | GPlatesHelpers-218ac409d5f9f509d6fa58558c7b2e52331a424d.tar.gz GPlatesHelpers-218ac409d5f9f509d6fa58558c7b2e52331a424d.zip |
Updated README.md
-rw-r--r-- | README.md | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -1,2 +1,38 @@ # GPlatesHelpers Quick scripts to make the GPlates software less annoying to use + +Adds linebreaks to .rot files to help readability, and removes them again so the software doesn't complain + +- [Download linebreakadder.exe](https://github.com/jwansek/GPlatesHelpers/releases/download/default/linebreakadder.exe) +- [Download linebreakremover.exe](https://github.com/jwansek/GPlatesHelpers/releases/download/default/linebreakremover.exe) + +## Line Break Remover + +`linebreakadder.exe [input .rot file] [output .rot file]` or `linebreakadder.py [input .rot file] [output .rot file]` is faster but you need python installed. + +Adds linebreaks when the first number is different, e.g.: + +``` +[...] +100 950.0 60.4016 168.15 -17.7634 000 ! +100 1000.0 90.0 0.0 0.0 000 ! Craton A Start + +200 0.0 90.0 0.0 0.0 000 ! Craton B End +200 1.0 37.4047 137.7895 -78.749 000 ! Drift Correction +200 650.0 37.4047 137.7895 -78.749 000 ! +200 700.0 51.9342 153.8847 -71.8022 000 ! +200 750.0 62.2189 169.5583 -69.5091 000 ! +200 800.0 63.134 170.375 -61.5644 000 ! Craton B (Start moving independantly) +200 800.0 90.0 0.0 0.0 100 ! Craton B (End Fol-A) +200 1000.0 90.0 0.0 0.0 100 ! Craton B Start (fol-A) + +201 0.0 90.0 0.0 0.0 000 ! Ocean B1 End +201 1.0 81.6214 -144.687 -71.4834 000 ! Drift Correction +[...] +``` + +## Line Break Adder + +`linebreakremover.exe [input .rot file] [output .rot file]` or `linebreakremover.py [input .rot file] [output .rot file]` is faster but you need python installed. + +Removes all two or more linebreaks so the GPlates software doesn't complain.
\ No newline at end of file |