More on Shinwell's scripts

This commit is contained in:
Philip Sargent 2022-03-05 00:49:06 +00:00
parent cdf8dd59b1
commit 27489ffbf0
2 changed files with 21 additions and 6 deletions

View File

@ -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.
<h4 id="gps">make_essentials.sh GPS</h4>
<p>In :expoweb:/noinfo/
<p>Makes essentials.gpx - see <a href="../essentials.html">GPS on expo</a>.
<h4 id="gps">make_essentials.sh</h4>
<p>In :loser:/gpx/
<p>Makes essentials.gpx - see <a href="../essentials.html">GPS on expo</a>.
<p>Someone needs to document this and and make_svx.sh properly.
<h4 id="surface">make_svx.sh</h4>
<p>In :loser:/gpx/
<p>Regenerates the surface tracks as survex files from GPS .gpx files.
<p><span style="color:red">[to be documented]</span>
<h4 id="ocaml">convert_shx.ml</h4>
<p>Unusually, this is in the <var>:loser:</var> repository, in :loser:/fixedpoints/scripts/convert_shx/
<p>It runs <var>ogr2ogr -f csv -lco GEOMETRY=AS_WKT outputfile inputfile</var> and then extensively post-processes the shapefile output.
It is written in OCAML. Therefore it must be Mark Shinwell's responsibility.
<p><a href="https://gdal.org/programs/ogr2ogr.html">ogr2ogr</a> 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
<a href="https://docs.fileformat.com/gis/shx/">shapefile index format</a>.
<p>We suspect this is part of the production process for making essentials.gpx.
<h4>svx2qm.py, tablize-qms.pl, find-dead-qms.py,qmreader.pl</h4>
See the entire page devoted to the various
@ -87,8 +102,6 @@ See the entire page devoted to the various
"create_dplong_table.py".
<p><em>:loser:/docs/smklengths</em> is a brief bash script that runs cavern on all the top-level cave svx files and extracts the total lengths.
<h4 id="surface">make_svx.sh</h4>
<p><span style="color:red">[to be documented]</span>

View File

@ -35,7 +35,9 @@
<li><a href="scriptscurrent.html#js">JavaScript</a> packages are used by some troggle pages. See <a href="serverconfig.html#js">the Expo server page</a>.
<li><a href="scriptscurrent.html#prosp">make-prospectingguide-new.py</a> and <a href="">prospecting_guide_short.py</a> - (obsolete)</li><br />
<li><a href="scriptscurrent.html#makefile">Makefile</a> coordinates running many of these scripts (needs maintenance)
<li><a href="scriptscurrent.html#ocaml">convert_shx.ml</a> converts coordinates to a shapefile</li>
<li><a href="scriptscurrent.html#makefile">Makefile</a> coordinates running many of these scripts (obsolete or needs severe maintenance)
</ul>
<p>There are also scripts running cron jobs on the server to fix file permissions and to periodically tidy <a href="../computing/repos.html">repositories</a>, and example rsync and scp scripts to help manage synchronisation of the expofiles directories which are not under version control.