mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
New Cave data entry process: logbook entry, wallets, survex files,
This commit is contained in:
@@ -12,13 +12,12 @@
|
||||
the base camp logbook or the top camp logbook.
|
||||
|
||||
<ul>
|
||||
<li><a href="#why">Why</a> the logbook is so important
|
||||
<li>Why the logbook is so important
|
||||
<li><a href="#type">Typing on the <em>Expo Laptop</em></a>
|
||||
<li><a href="#another">Typing on another laptop</a>
|
||||
<li><a href="#format">Formatting</a> a typed logbook entry
|
||||
</br></br>
|
||||
<li><a href="#import">Importing</a> the logbook into troggle (nerds only) - error checking
|
||||
<li><a href="#history">Historical</a> logbookformat (nerds only)
|
||||
<li><a href="computing/logbooks-parsing.html">Importing</a> the logbook into troggle (nerds only) - and error checking
|
||||
</ul>
|
||||
|
||||
<h3 id="why">Why the logbook is important</h3>
|
||||
@@ -31,10 +30,29 @@ do lots of sketches in the logbook.
|
||||
If you mention a cave location, please also write down the cave name somewhere. In 10 years no-one will know
|
||||
where "Lemon Snout" is.
|
||||
|
||||
<p>If this is all new to you, please now read <a href="datamgt.html">Cave data management</a>,
|
||||
and <a href="survey/why.htm">why we make surveys</a> and then the
|
||||
|
||||
|
||||
<p>
|
||||
<a href="/years/2018/logbook.html#t2018-08-03w"><img src="i/logbookpage.jpg" class="onright"></a>
|
||||
If this is all new to you, please now read
|
||||
<a href="survey/why.htm"><strong>Why we make surveys</strong></a>
|
||||
and
|
||||
<a href="datamgt.html">Cave data management</a>,
|
||||
and then the
|
||||
<a href="survey/index.htm">Survey Handbook</a>
|
||||
|
||||
<h3>Interim rigging guide</h3>
|
||||
<p>The logbook is the place where we record the rigging of caves as we discover them.
|
||||
<p>When a cave is derigged,
|
||||
a good way of getting the rope lengths for your rigging guide is to
|
||||
leave the knots in ropes removed so they can
|
||||
be <b>measured</b>, but these days our caves are a bit deep
|
||||
and complicated for this to be feasible.
|
||||
Although a good survey and details of the belays
|
||||
can be used to estimate the length of rope needed, this is no substitute for
|
||||
measuring how much rope it actually took to rig.</p>
|
||||
|
||||
<h3>The online logbook file</h3>
|
||||
|
||||
<p>If you are at basecamp, then it is an excellent idea to
|
||||
<b>type the text of your logbook trip report</b> instead of writing it by hand - see <a href="#type">below</a>. But still do lots of drawings in the paper logbook.
|
||||
@@ -52,14 +70,13 @@ correlated with survey data done on the same day or by the same people.
|
||||
<li><a href="../years/2018/logbook.html">2018</a>
|
||||
<li><a href="../years/2017/logbook.html">2017</a>
|
||||
</ul>
|
||||
<p>All these logbook entries are then typed into a laptop (often the expo laptop)
|
||||
<p>All these scanned handwritten logbook entries are typed into a laptop (often the expo laptop)
|
||||
which is then synchronised the version control system.
|
||||
<p>The result is a webpage reporting who did what and what was done by whom on expo,
|
||||
e.g. see <a href="http://expo.survex.com/expedition/2018">the 2018 expo report</a>.
|
||||
|
||||
<h3 =id="type">Typing just your trip report (at the <i>Expo Laptop</i>)</h3>
|
||||
<p>If you are at basecamp, then it is an excellent idea to type up your logbook trip report.
|
||||
You can then print this and stick it in the logbook, adding any sketches by hand.
|
||||
<p>As handwriting can be very bad, please try to type the text, print it and stick it in the logbook, adding any sketches by hand.
|
||||
This will save someone (probably you) deciphering your handwriting and typing it up later.
|
||||
|
||||
<p>These instructions assume that (a) you are sitting at the <em>expo laptop</em> and that someone who knows
|
||||
@@ -101,8 +118,8 @@ copy it by email or USB stick to another laptop, edit it there and then copy it
|
||||
|
||||
<p>If you are using your own laptop then you will need to either:
|
||||
<ul>
|
||||
<li>Just type up your trip as a separate file e.g. "logbook-mynewtrip.txt", or just write it in an email, and send it to someone nerdish, or
|
||||
<li><a href="onlinesystems.html#manual">install and learn how to use</a> the version control software.
|
||||
<li>Just type up your trip as a separate file with a useful filename e.g. "logbook-myname-2018-08-03.txt", or just write it in an email, and send it to someone nerdish, or
|
||||
<li><a href="computing/basiclaptop.html">install and learn how to use</a> the version control software.
|
||||
And you will need to synchronise regularly (every day) to
|
||||
ensure that the updates from all the people entering trip data are OK and don't get overwritten by ignorant use of this software.
|
||||
</ul>
|
||||
@@ -130,70 +147,9 @@ when there is more than one trip on a day.</p>
|
||||
<p>Note: T/U stands for "Time Underground" in hours (6 minutes would be "0.1 hours").
|
||||
<p>Note: the <hr /> is significant and used in parsing, it is not just prettiness.
|
||||
|
||||
<p>[ Yes this format needs to be re-done using a proper structure:<br>
|
||||
<code><pre>
|
||||
<div class="logentry"><br>
|
||||
<span style="text-decoration: line-through wavy red;"> </span>
|
||||
</div"></pre></code>
|
||||
it's on the to-do list...]
|
||||
|
||||
<hr />
|
||||
<h3 id="history">Historical logbooks</h3>
|
||||
<p>Older logbooks (prior to 2007) were stored as logbook.txt with just a bit of consistent markup to allow troggle parsing.</p>
|
||||
|
||||
<p>The formatting was largely freeform, with a bit of markup ('===' around header, bars separating date, <place> - <description>, and who) which allows the troggle import script to read it correctly. The underlines show who wrote the entry. There is also a format for time-underground info so it can be automagically tabulated.</p>
|
||||
|
||||
<p>So the format should be:</p>
|
||||
|
||||
<code>
|
||||
===2009-07-21|204 - Rigging entrance series| Becka Lawson, Emma Wilson ===
|
||||
</br>
|
||||
{Text of logbook entry}
|
||||
</br>
|
||||
T/U: Jess 1 hr, Emma 0.5 hr
|
||||
</code>
|
||||
|
||||
<h3 id="import">Importing the logbook into troggle</a></h3>
|
||||
<p>This is usually done after expo but it is in excellent idea to have a nerd do this a couple of times during expo to discover problems while the people are still around to ask.
|
||||
|
||||
<p>The nerd needs to login to the expo server using <em>their own userid</em>, not the 'expo' userid. The nerd also needs to be in the group that is allowed to do 'sudo'.
|
||||
|
||||
<p>The nerd needs to do this:
|
||||
<ol>
|
||||
<li>Look at the list of pre-existing old import errors at </br> <a href="http://expo.survex.com/admin/core/dataissue/">http://expo.survex.com/admin/core/dataissue/</a> </br>
|
||||
The nerd will have to login to the troggle management console to do this, not just the usual troggle login.
|
||||
<li>You need to get the list of people on expo sorted out first. </br>
|
||||
This is documented in the <a href="computing/folkupdate.html">Folk Update</a> process.
|
||||
<li>Log in to the expo server and run the update script (see below for details)
|
||||
<li>Watch the error messages scroll by, they are more detailed than the messages archived in the old import errors list
|
||||
<li>Edit the logbook.html file to fix the errors. These are usually typos, non-unique tripdate ids or unrecognised people. Some unrecognised people will mean that you have to fix them using the <a href="computing/folkupdate.html">Folk Update</a> process first.
|
||||
<li>Re-run the import script until you have got rid of all the import errors.
|
||||
<li>Pat self on back. Future data managers and people trying to find missing surveys will worship you.
|
||||
</ol>
|
||||
|
||||
<p>The procedure is like this. It will be familiar to you because
|
||||
you will have already done most of this for the <a href="computing/folkupdate.html">Folk Update</a> process.
|
||||
|
||||
<pre><code>ssh {youruserid}@expo.survex.com
|
||||
cd ~expo
|
||||
cd troggle
|
||||
sudo python databaseReset.py logbooks
|
||||
</code></pre>
|
||||
|
||||
<p>It will produce a list of errors like this, starting with the most recent logbook which will be the one for the expo you are working on.
|
||||
You can abort the script (Ctrl-C) when you have got the errors for the current expo that you are going to fix
|
||||
<pre><code>Loading Logbook for: 2017
|
||||
- Parsing logbook: 2017/logbook.html
|
||||
- Using parser: Parseloghtmltxt
|
||||
Calculating GetPersonExpeditionNameLookup for 2017
|
||||
- No name match for: 'Phil'
|
||||
- No name match for: 'everyone'
|
||||
- No name match for: 'et al.'
|
||||
("can't parse: ", u'\n\n<img src="logbkimg5.jpg" alt="New Topo" />\n\n')
|
||||
- No name match for: 'Goulash Regurgitation'
|
||||
- Skipping logentry: Via Ferata: Intersport - Klettersteig - no author for entry
|
||||
- No name match for: 'mike'
|
||||
- No name match for: 'Mike'</code></pre>
|
||||
<hr />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user