<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Other scripts supporting troggle</title> <link rel="stylesheet" type="text/css" href="../../css/main2.css" /> </head> <body><style>body { background: #fff url(/images/style/bg-system.png) repeat-x 0 0 }</style> <h2 id="tophead">CUCC Expedition Handbook</h2> <h1>Other scripts</h1> <h3 id="inscripts">Current Scripts</a></h3> <ul> <li><a href="scriptscurrent.html#folk">make-folklist.py</a> turns the folk.csv file into a webpage. <li><a href="scriptscurrent.html#gps">make_essentials.sh</a> generates GPS tracks and routes for surface walking <li><a href="scriptscurrent.html#photos">updatephotos</a> generates navigable webpages from annual directories of photo images <li><a href="scriptscurrent.html#area">make-areaindices.py</a> (unmaintained?) <li><a href="scriptscurrent.html#prosp">make-prospectingguide-new.py</a> and <a href="">prospecting_guide_short.py</a> <a href="../../noinfo/make-areaindices.py">make-areaindices.py</a> - (unmaintained?)</li><br /> <li><a href="../bankofexpo.html">boe</a> Bank of Expo (perl) runs the accounts preceding and during expo <li><a href="scriptscurrent.html#latex">bierbook.tex</a> LaTeX script for generating the bierbook - a new list of names and dates each year <li><a href="scriptscurrent.html#latex">seshbook.tex</a> LaTeX script for generating the seshbook - works from the same list of names <li><a href="scriptscurrent.html#latex">therionpage.tex</a> LaTeX script and makefile for generating therion-style protractors</li><br /> <li><a href="scriptscurrent.html#latex">wallets.py</a> generates statuspages and to-do list pages for survey data production. <li><a href="scriptsqms.html">svx2qm.py</a> extracts QMs from the survex files (and <a href="scriptsqms.html">find-dead-qms.py</a>) <li><a href="scriptsqms.html">tablize-qms.pl</a> turns the list of QMs extracted into an HTML file <li><a href="scriptscurrent.html#surface">make_svx.sh</a> generates surface Survex tracks <li><a href="scriptscurrent.html#svxtrace">svxtrace.py</a> analyses Survex tracks to help find errors <li><a href="scriptscurrent.html#survex">chk-refs.sh</a> analyses Survex files and wallets files to find reference errors</li><br /> <li><a href="scriptscurrent.html#alljs">make-alljs.py</a> - extracts legs and entrances - part of GPX processing. <li><a href="scriptscurrent.html#loser1624">convert.py</a> Scripts working on Loser-1624 Uebersicht_2011.svx</li> <li><a href="scriptscurrent.html#dplong">create_dplong_table.py</a> Creates and updates the lengths and depths of all the caves. <li><a href="scriptscurrent.html#cavestats">cavestats</a> and <a href="scriptscurrent.html#cavestats">smklengths </a> extract overall lengths and depths from all the survex files <li><a href="scriptscurrent.html#summ">summarizecave.sh</a> gets .3d file contents using survex <li><a href="scriptscurrent.html#tabular">caves-tabular.html</a> a re-sortable table of cave data <li><a href="scriptscurrent.html#makefile">Makefile</a> coordinates running many of these scripts (needs 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. <p>Apart from these scripts, troggle in full deployment also needs <br>- a running mySQL database, <br>- a running apache webserver and <br>- cgit to display git repos. <h3 id="inscripts">Old but maybe useful scripts</a></h3> <ul> <li><a href="scriptscurrent.html#glossary">make-glossary.pl</a> - used while documenting very complex caves (161 and 204). We may need this again for Tunnocks/Balkon. <li><a href="scriptscurrent.html#alljs">make-fb-map.pl</a> does coordinate transformations </ul> <p>There were perl and python scripts scattered through the :drawings: and :loser: (svx files) repos. Not all of the functions in these scripts have been recreated in more recent scripts or programmed into troggle. The old scripts have been collected into /scripts or /noinfo in the :expoweb: <a href="../computing/repos.html">repository</a>. <h3 id="obs">Obsolete scripts</a></h3> <ul> <li><a href="scriptscurrent.html#logbk">logbk.pl</a> - 2004 - obsolete. Replaced by troggle import parsers.</li> <li><a href="scriptscurrent.html#indxl4">make-indxal4.pl</a> - obsolete. Part of the spreadsheet era. </ul> <h3 id="newscript">When you write a script</a></h3> <p>Any script that generates an HTML file should insert <em><meta name="keywords" content="NOEDIT"></em> in the HTML header. Then when troggle renders the page it will not allow the user to edit the generated page. See <a href="../computing/hbmanual1.html">handbook editing</a> for a fuller explanation of troggle post-processing. <hr /> Go in to: <a href="scriptscurrent.html">More details about these scripts</a><br /> Go on to: <a href="trogarch.html">Troggle architecture</a><br /> Return to: <a href="trogintro.html">Troggle intro</a><br /> <hr /> </body> </html>