2022-03-19 14:06:00 +00:00
<!DOCTYPE html>
2018-08-14 20:39:34 +01:00
< html >
< head >
2022-03-19 14:06:00 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
2018-08-14 20:39:34 +01:00
< title > Survey Handbook - online wallet< / title >
< link rel = "stylesheet" type = "text/css" href = "../../css/main2.css" / >
< / head >
< body >
< h2 id = "tophead" > CUCC Expedition Handbook< / h2 >
< h1 > Maintaining the online wallets< / h1 >
2022-03-19 18:03:24 +00:00
< p > If you are a newcomer to the system, read the < a href = "newwallet.html#onlinew" > beginner's introduction to online wallets< / a > first.
2018-08-15 21:44:24 +01:00
2022-03-19 18:03:24 +00:00
< style > figure { font-weight : bold ; font-size : small ; font-family : sans-serif ; font-variant-caps : small-caps ; } < / style >
< div class = "onright" >
< figure >
< a href = "../i/qm-image.jpg" >
< img src = "../i/qm-image.jpg" > < / a >
< figcaption style = "font-variant-caps: small-caps;" >
< em > Original notes< / em >
< / figcaption >
< / figure >
< / div >
< h2 > Why we have online wallets< / h2 >
2018-08-15 21:44:24 +01:00
< p > There are three quite different reasons:
< ol >
< li > The scans of the survey notebook pages are the ultimate original raw survey data and completely irreplaceable.
< li > The other files in the wallet are part of the process of producing a survey of the cave as a whole.
2022-10-10 22:30:47 +01:00
< li > Individual online to-do lists are produced automatically for each caver, each cave, and each year. These
2022-08-31 16:49:29 +01:00
have a colour-coded table showing what survey processing tasks they haven't finished yet.
2018-08-15 21:44:24 +01:00
< / ol >
2022-03-19 18:03:24 +00:00
< h2 > You need to know this bit< / h2 >
2022-08-01 17:29:34 +01:00
< p > All this scanned information is in < span style = "font-family:monospace" > expo.survex.com/expofiles/< / span > which is < font color = red > < b > not under
2022-03-19 22:10:27 +00:00
version control< / b > < / font > ,
2022-03-19 18:03:24 +00:00
so the most recent person
to change anything < font color = red > < b > can overwrite everyone else's work< / b > < / font > .
2022-08-31 16:49:29 +01:00
< h3 > What's in the online wallet< / h3 >
< h4 > scans in the expofiles/surveyscans/< / h4 >
2022-03-19 18:03:24 +00:00
< ul >
< li > The < a href = "#scans" > scanned images< / a > of survey notes
2022-08-31 16:49:29 +01:00
< / ul >
< h4 > metadata in the version control system (drawings/walletjson/)< / h4 >
< ul >
2022-03-19 18:03:24 +00:00
< li > < a href = "#status" > Progress status< / a > of drawing up the survey
< li > Links to < a href = "#derived" > derived data< / a > : survex files, survey drawings
< / ul >
< h3 id = "scans" > The scanned images< / h3 >
2020-03-16 00:45:33 +00:00
< p > These are simply the scanned images (or digital photographs) of each page of the original survey notes.
2018-08-15 21:44:24 +01:00
They should be named < em > < span style = "font-family:monospace" > notesXXX.jpg< / span > < / em > where "XXX" can be
2022-10-10 22:30:47 +01:00
anything you like. In the past we have had scanned pages called notes1.jpg, notes2.jpg, notes3.jpg; but < em > don't
do this< / em > , instead give descriptive names, e.g. < span style = "font-family:monospace" > notes-twentyseconddropdronesurvey.jpg< / span > or whatever,
but do put "notes-.." at the beginning or "..-notes" at the end of the filename (or "plan-.." or "elev-.." as appropriate).
2018-08-15 21:44:24 +01:00
< p > It is important that you use use the .jpg (JPEG) file format, and definitely not PNG (very voluminous)
or PDF (very hard to re-use elsewhere). Set the scanner at 300 dpi and adjust the contrast of the image after scanning
by using photo-editing software to enhance the writing. Also please crop each image to just the area containing
the survey data.
2021-05-02 00:49:36 +01:00
< p > As soon as the notes have been scanned you should (a) copy them to a USB stick or email them to someone, (b) check that the entire online wallet is on the expo server at
2023-02-03 22:36:28 +00:00
< span style = "font-family:monospace" > expo.survex.com< / span > using the < a href = "/walletedit/2019:01" > Upload Scans< / a > form.
2021-05-02 00:49:36 +01:00
This is so that these precious files are backed-up as soon as possible.
< p > (If you want to move things around, then assuming you have done the
< a href = "../computing/keyexchange.html" > key-pair procedure< / a > , do the upload by < a href = "../uploading.html" > sFTP< / a >
as you do for photos, but to the directory described in the < a href = "newwallet.html" > introduction to online wallets< / a > .)
2018-08-15 21:44:24 +01:00
2022-03-19 18:03:24 +00:00
< p > The < em > < span style = "font-family:monospace" > notesXXX.jpg< / span > < / em > files need to be at moderately high resolution but the plan and
elevation files are usually fine at 200 dpi. So if the caver has scanned these at high resolution you can reduce the size of these files
without damange.
< div class = "onright" >
< figure >
< a href = "../i/scan-upload.jpg" >
< img src = "../t/scan-upload.jpg" > < / a >
< figcaption style = "font-variant-caps: small-caps;" >
< em > Wallet data on Scan Upload (click to enlarge)< / em >
< / figcaption >
< / figure >
< / div >
< h3 id = "status" > Progress status< / h3 >
2023-02-03 22:36:28 +00:00
< p > The illustration shows the lower half of the < a href = "/walletedit/2019:01" > Upload Scans< / a > form.
2022-10-10 22:30:47 +01:00
This is the information about the wallet itself (this is called 'metadata').
2022-03-19 18:03:24 +00:00
< p > Once you are logged on as user 'expo', you can edit all the data. If you use the right runes for the survex files (as shown in the image),
a clickable-list of the survex files will appear on the upper-left which will take you directly to the survex files - which you can edit
there online too.
< p > There is only one absolutely required field: the date. Unless you specify a date the form will not save your data and the "Submit changes"
button won't work.
< h3 id = "derived" > Links to derived data< / h3 >
< p > These links are not actually in the wallet, they are in the survex files, Tunnel files and Therion files.
The links are simply < b > the name of the wallet< / b > , e.g. < var > 2019#01< / var > . So once a wallet has been used, i.e. once you have typed up the first
survex file, you should not rename it or move the contents (unless you can find and change all the files referring to it).
< h2 > How this all actually works< / h2 >
2019-03-03 00:44:31 +00:00
< h3 > The other files and online index < span style = "font-family:monospace; size=x-small; background-color: lightgray" > contents.json< / span > < / h3 >
2018-08-15 21:44:24 +01:00
< p > All the other files are part of the multi-step process of producing the cave survey - see < a href = "newcave.html" >
2022-03-19 18:03:24 +00:00
Creating a new cave...< / a > for the full list of steps.
2018-08-15 21:44:24 +01:00
< p > We keep an index of how many of those steps have been completed in two places:
< ul >
< li > On paper, in the tick boxes in the contents list of this years' survey trips' lever-arch file in the potato hut.
2022-08-31 16:49:29 +01:00
< li > Online in the < em > < span style = "font-family:monospace" > contents.json< / span > < / em > file, a copy of which exists in the version control system.
2018-08-15 21:44:24 +01:00
< / ul >
< p > but the < em > < span style = "font-family:monospace" > contents.json< / span > < / em > file has another,completely different function:
2021-05-02 00:49:36 +01:00
it may be the < b > only online record< / b > that connects the wallet number to the cave identifier. So if a future cave surveyor desperately needs
2018-08-15 21:44:24 +01:00
to consult the original cave survey, it can be done by, e.g. < br >
2022-09-12 21:18:42 +01:00
< a href = "/cave/scans/1623-264" > /cave/scans/1623-264< / a > < br >
will find and list all the wallets which contain survey data for cave 1623-264.
< p > The link between a .svx file and the wallet should also be recorded within the .svx file itself using the "*ref:" field, e.g.
2019-04-02 00:54:05 +01:00
< pre >
*ref 2018#06
; the #number is on the clear pocket containing the original notes
< / pre >
2021-05-02 00:49:36 +01:00
But sometime in mid-Expo 2015 everyone stopped using the survex template file and copied from a friend instead,
and so this information was not properly recorded. This will be fixed by hand-editing in due course.
2022-10-10 22:30:47 +01:00
(Note that many old .svx files were processed with an older version of survex which did not support this feature and so a comment was used instead.)
2019-04-02 00:54:05 +01:00
2022-03-19 18:03:24 +00:00
< h2 > Much more detail - more than you want< / h2 >
2019-04-02 00:54:05 +01:00
< p > Troggle produces very useful auto-generated reports of the status of the wallets and the survex files
< ul >
2022-03-19 18:03:24 +00:00
< li > < a href = "http://expo.survex.com/survey_scans/" > List of all wallets< / a > [SLOW to load] and the survex files produced from them (incomplete due to poor data entry especially since 2015)
2019-04-02 00:54:05 +01:00
< li > < a href = "http://expo.survex.com/expedition/2018" > List of all trips and survex files< / a > (scroll down to the bottom of the page) in any one year - includes a link to the logbook fragment for the relevant day
< li > < a href = "http://expo.survex.com/personexpedition/MichaelSargent/2018" > List of trips and surveys< / a > by a particular person in a particular year (nothing to do with wallets but added here for completeness).
2022-09-12 21:18:42 +01:00
< li > < a href = "/wallets/year/2022" > Report on wallets status for 2022< / a >
2022-08-01 17:29:34 +01:00
< li > < a href = "/cave/scans/1623-264" > Report on wallets status for cave 1623-264< / a >
< / ul > < / ul >
2019-04-02 00:54:05 +01:00
These troggle reports are invaluable for finding data entry errors or other mistakes.
2018-08-15 21:44:24 +01:00
< p > The paper tick-list tracks the following steps for each online wallet:
< ul >
< li > < u > Survex< / u >
< ul >
< li > Data
< li > LRUD
< li > Description + QMs
< / ul >
< li > < u > Drawn< / u >
< ul >
< li > Plan + Xsections
< li > Elevation
< / ul >
< li > < u > Scanned< / u >
< ul >
< li > In cave notes
< li > Plan + Xsections
< li > Elevation
< / ul >
< li > Tunnel
2018-08-18 14:25:36 +01:00
< li > Online guidebook updated
2018-08-15 21:44:24 +01:00
< li > json file edited
< / ul >
< p > (where the "json file updated" step only refers to the initial editing of the json file to ensure
that it has the right people, date and cave identifier and name).
2022-10-10 22:30:47 +01:00
< p > A fully-populated and complete < em > < span style = "font-family:monospace" > contents.json< / span > < / em > file (this is the 'metadata')
2018-08-15 21:44:24 +01:00
looks like this:
< pre >
2019-03-03 00:44:31 +00:00
{
"description written": false,
"website updated": false,
"people": [
"Dickon Morris",
"Jon Arne Toft",
"Becka Lawson"],
"elev not required": false,
2022-08-31 16:49:29 +01:00
"cave": "1626-359",
2019-03-03 00:44:31 +00:00
"survex not required": false,
"qms written": true,
"plan not required": false,
"electronic survey": false,
"plan drawn": true,
"date": "2018-07-13",
"elev drawn": true,
"description url": "",
2022-08-31 16:49:29 +01:00
"survex file": "['caves-1626/2018-dm-07/2018-dm-07.svx', 'caves-1626/359/359.svx'] ",
2019-03-03 00:44:31 +00:00
"name": "Homecoming cave"
}
2018-08-15 21:44:24 +01:00
< / pre >
2018-08-18 14:25:36 +01:00
Yes, this is < a href = "https://en.wikipedia.org/wiki/JSON" > a programming format< / a >
(standardised in 2013) and every comma is critical.
2022-08-31 16:49:29 +01:00
(Though you can miss off the ".svx" of the survex filenames in the list and it will cope.)
2018-08-15 21:44:24 +01:00
2022-08-01 17:29:34 +01:00
< p > If you feel an urge to edit the file directly, instead of using the online form and checkboxes,
you should take great care with the format and also with also updating the version-controlled copy of
< em > < span style = "font-family:monospace" > contents.json< / span > < / em >
2022-08-31 16:49:29 +01:00
which is committed in the drawings repository. [The drawings repo copy is now, August 2022, the master and only copy.]
2022-08-01 17:29:34 +01:00
< p >
When entering people's names, using the form or with a text editor, it is important not to use any funny characters (such as "?") because
2019-12-13 01:54:37 +00:00
peoples names here are used by the software to construct filenames for the surveying to-do lists. And "?" (for instance) is illegal
in filenames on Windows computers.
2018-08-15 21:44:24 +01:00
< h3 > "To do" lists for every caver< / h3 >
2022-08-01 17:29:34 +01:00
< p > You can get a summary of the outstanding 'tick list' for each individual caver at, e.g.
< ul >
< li > < a href = "/wallets/person/CorinDonne" > /wallets/person/CorinDonne< / a >
< / ul >
2018-08-15 21:44:24 +01:00
2022-08-01 17:29:34 +01:00
< p >
which lists all the wallets which have uncompleted tasks in a table of coloured boxes showing the status as "red" or "green".
2019-03-03 00:44:31 +00:00
2020-03-16 00:45:33 +00:00
< p > If you want to see what the files are in each online wallet then look at < br >
< a href = "http://expo.survex.com/expofiles/surveyscans/2018/" > expo.survex.com/expofiles/surveyscans/2018/< / a > < br >
2022-08-01 17:29:34 +01:00
and you can navigate to the individual wallet folders too and look directly at the files there. Or you can navigate using
the wallet upload form, which similarly lists the files in each wallet but also reports
on the progress data for the wallet.
2018-08-15 21:44:24 +01:00
< h3 > Setting up the online wallets< / h3 >
2022-09-12 21:18:42 +01:00
At the beginning of a new expo you do not need to do any setup for new wallets. The necessary folders etc. will be created automatically
as soon as you upload a new scan for a new year.
2018-08-15 21:44:24 +01:00
< h3 > Maintaining the online wallets< / h3 >
2022-10-10 22:30:47 +01:00
< p > Ideally the cavers who are scanning their notes and typing in the survey data will also be updating the 'metadata' (in the
< span style = "font-family:monospace; size=x-small; background-color: lightgray" > contents.json< / span > file) using the tick-boxes on the upload form. In your dreams.
2018-08-15 21:44:24 +01:00
2022-08-01 17:29:34 +01:00
< p > The first difficulty when editing the data
2018-08-15 21:44:24 +01:00
for a newly-created wallet is finding out which cave the wallet describes.
2022-08-01 17:29:34 +01:00
The label on the plastic wallet may say "radaghost to blitzkriek"
2018-08-15 21:44:24 +01:00
(or whatever) but without the name of the cave you can't find the .svx files
2022-08-01 17:29:34 +01:00
as you don't know that you need to look in e.g. loser/caves-1626/2022-W-04/.
2018-08-15 21:44:24 +01:00
Usually the cave number is written by hand on the label of the wallet. Sometimes it will just give the
2022-08-01 17:29:34 +01:00
informal name of the cave,e.g. "BrokenNeckHole",instead of the identifier "1623/2022-W-04" you want.
< p > A regular task during expo is for a nerd to review the files and tick-list data for
2018-08-15 21:44:24 +01:00
recently created wallets and to check that names, dates and cave numbers are correct.
2019-04-02 00:54:05 +01:00
< h4 > Naming the included files< / h4 >
2022-08-31 16:49:29 +01:00
< p > Troggle detects if there are notesX.jpg planX.jpg and elevX.jpg files present, and
2019-04-02 00:54:05 +01:00
produces a reminder/warning if they are not,even if these have all been scanned
and given different names.
< p >
The job of the checker (perhaps on a second pass) if to rename files so that these
2022-08-01 17:29:34 +01:00
warnings disappear. But if tunnel or therion files have already been produced, then don't rename anything.
2019-04-02 00:54:05 +01:00
< h4 > Useful rsync scripts< / h4 >
2018-08-15 21:44:24 +01:00
< p > A copy of useful rsync scripts is kept in a file such as
2019-03-03 00:44:31 +00:00
< span style = "font-family:monospace; size=x-small; background-color: lightgray" > expo.survex.com/expofiles/rsync2018toserver< / span > . Always run it with the -n option first,
2022-08-01 17:29:34 +01:00
to see what overwriting you will do. These snippets update the server with your recent changes on your own laptop and vice versa, but these days (2022) it is probably easier
to do everything online to the server, and occasionally make a copy to your local machine to keep it synchronised - if you have a laptop you want to use for this sort of thing.
2018-08-15 21:44:24 +01:00
2022-08-31 16:49:29 +01:00
< h4 > Surface trips< / h4 >
< p > For prospecting and surface surveying it is not clear whether the default folder
for the url link to a survex file should be repo :loser: surface/1623/allplateau.svx
2022-08-01 17:29:34 +01:00
< h3 > More Troggle magic< / h3 >
< p > Troggle also
2018-08-15 21:44:24 +01:00
< ul >
2022-08-31 16:49:29 +01:00
< li > checks whether the .svx files listed are actually present in the < a href = "../computing/repos.html" > :loser: repository< / a >
2018-08-15 21:44:24 +01:00
< li > checks for the presence of notesXXX.jpg, planXXX.jpg and elevXXX.jpg files
2022-08-01 17:29:34 +01:00
< li > checks for the presence of XXXnotes.jpg, XXXplan.jpg, XXXelevation.jpg and XXXelev.jpg files
2019-03-03 00:44:31 +00:00
< li > creates helpful URL links to the existing online survey documentation for the cave being surveyed
< li > creates helpful URL links to the working files you are managing on your own laptop
2018-08-15 21:44:24 +01:00
< / ul >
< p > Things it might do in future (if someone gets around to it) include: < br >
- checking the cave number specified matches the folder for the .svx file,< br >
2019-04-02 00:54:05 +01:00
- checking that the *ref: filed in the survex file is the same as the wallet name< br >
2018-08-15 21:44:24 +01:00
- being more intelligent about .topo files and thus the lack of scan files,< br >
- checking the date is in the recent past etc.< br > < br >
< hr >
2022-08-31 16:49:29 +01:00
The old wallets.py script runs without errors on earliers years before 1999 when there was not the same wallet system, but the results are less useful, e.g. see
http://expo.survex.com/expofiles/surveyscans/1999/
and compare with
http://expo.survex.com/wallets/year/1999
< p >
2018-08-15 21:44:24 +01:00
Old notes, being turned into real documentation...
2022-08-01 17:29:34 +01:00
< br > Much of this just needs deleting..
2018-08-14 20:39:34 +01:00
< pre >
2019-03-03 00:44:31 +00:00
# Update March 2019
2019-04-02 00:54:05 +01:00
For 2014 and earlier one needs to do a lot more data entry. The contents.json files for 2014 and earlier do not say who the
people were on the trip. So we would need to work from the svx files (where they contain the *ref: wallet ID),
2022-03-19 14:06:00 +00:00
original plastic wallets (and the scanned drawings and notes - which are incomplete) to enter that data.
2019-04-02 00:54:05 +01:00
This is made much easier by the troggle reports
http://expo.survex.com/survey_scans/
http://expo.survex.com/expedition/2014
http://expo.survex.com/survey/2018%2330
2018-08-14 20:39:34 +01:00
2019-04-02 00:54:05 +01:00
This is probably not worth doing except maybe for specific critical connections.
2018-08-14 20:39:34 +01:00
< / pre >
2022-08-31 16:49:29 +01:00
2018-08-14 20:39:34 +01:00
< hr / >
< / body >
< / html >