From 27489ffbf0b8cb24b08a1c114b2e2e963b77ecc2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 5 Mar 2022 00:49:06 +0000 Subject: [PATCH] More on Shinwell's scripts --- handbook/troggle/scriptscurrent.html | 23 ++++++++++++++++++----- handbook/troggle/scriptsother.html | 4 +++- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/handbook/troggle/scriptscurrent.html b/handbook/troggle/scriptscurrent.html index 5c848f8b2..46090d99c 100644 --- a/handbook/troggle/scriptscurrent.html +++ b/handbook/troggle/scriptscurrent.html @@ -55,9 +55,24 @@ Due to the way LaTeX works out table column witdths, these commands may need to The design of these files is intended to confine all changes year to year to the names.txt and dates.txt files, thanks to LaTeX's capability to read an external file and iterate through line by line performing the same action for each name. -

make_essentials.sh GPS

-

In :expoweb:/noinfo/ -

Makes essentials.gpx - see GPS on expo. +

make_essentials.sh

+

In :loser:/gpx/ +

Makes essentials.gpx - see GPS on expo. +

Someone needs to document this and and make_svx.sh properly. + +

make_svx.sh

+

In :loser:/gpx/ +

Regenerates the surface tracks as survex files from GPS .gpx files. +

[to be documented] + +

convert_shx.ml

+

Unusually, this is in the :loser: repository, in :loser:/fixedpoints/scripts/convert_shx/ +

It runs ogr2ogr -f csv -lco GEOMETRY=AS_WKT outputfile inputfile and then extensively post-processes the shapefile output. +It is written in OCAML. Therefore it must be Mark Shinwell's responsibility. +

ogr2ogr is a file conversion utility. +It seems to be being run to convert CSV files into something else. The "shx" part of the name implies a +shapefile index format. +

We suspect this is part of the production process for making essentials.gpx.

svx2qm.py, tablize-qms.pl, find-dead-qms.py,qmreader.pl

See the entire page devoted to the various @@ -87,8 +102,6 @@ See the entire page devoted to the various "create_dplong_table.py".

:loser:/docs/smklengths is a brief bash script that runs cavern on all the top-level cave svx files and extracts the total lengths. -

make_svx.sh

-

[to be documented] diff --git a/handbook/troggle/scriptsother.html b/handbook/troggle/scriptsother.html index f675c8ad2..7082163b8 100644 --- a/handbook/troggle/scriptsother.html +++ b/handbook/troggle/scriptsother.html @@ -35,7 +35,9 @@

  • JavaScript packages are used by some troggle pages. See the Expo server page.
  • make-prospectingguide-new.py and prospecting_guide_short.py - (obsolete)

  • -
  • Makefile coordinates running many of these scripts (needs maintenance) +
  • convert_shx.ml converts coordinates to a shapefile
  • + +
  • Makefile coordinates running many of these scripts (obsolete or needs severe maintenance)

    There are also scripts running cron jobs on the server to fix file permissions and to periodically tidy repositories, and example rsync and scp scripts to help manage synchronisation of the expofiles directories which are not under version control.