Install guide
Configuring KRS
OpenWorks knowledge reference system (KRS) documents can be loaded and viewed
through WOW. The document types supported are ‘Hardcopy’, which is a reference to a
physical location, and ‘Web link’, which is any URL beginning with http://.
Note that WOW itself can be used a source of both dynamic URLs to any related WOW
page, or as a server to ‘publish’ a directory of static documents beneath WOW’s Web root.
To display online files via WOW in this manner, create a link from the document parent
directory to beneath the WOW Web root. For example if documents are in
the/data1/wowdocs directory:
prompt> cd $OWHOME/WebApps/htdocs
prompt> ln –s /data1/wowdocs wowdocs
This provides location independence, i.e. the file /data1/wowdocs/report123.html
is published as http://wow.oilco.com/wow/data1/wowdocs/report.html.
To obtain the hyperlink for any WOW page, e.g. the SEG-Y analyzer, hover over the link in
WOW to see the syntax. These are usually self-explanatory, e.g.
http://wow.oilco.com/bin/file_segy.cgi?file=/data1/other_data/segyfiles/fp32ibm.sgy
.
Bulk Loading KRS Documents
A simple KRS document bulk loader is provided by the loadKRSDocuments utility, with
Usage: loadKRSDocuments owproj dsource dfile e.g.:
prompt> source $OWHOME/WebApps/templates/wow.login
(if C-shell)
prompt> . $OWHOME/WebApps/templates/wow.profile (if Bourne shell)
prompt> loadKRSDocuments TESTDATA BCR krs.dat
The format of the file to be loaded is fixed as follows: it must comprise whitespace-
delimited ASCII text containing 7 attributes per line, constituting a single document to be
loaded:
• Data type - must be one of well, nav2d or nav3d
• Data identifier - UWI for well, line name for nav2d, survey name for nav3d
• Document name - use quotes if name has spaces, e.g. "Well 12 Scanned Logs"
• Document category - must match an existing category, e.g. WELL, SEISMIC, MAP
• Document sub-category - may be new; use "" to indicate blank, e.g. LOGS
• URL or hardcopy location - URLs must begin with http://
• Comments (optional)
An example krs_bulk_load_example.dat is provided in $WOW_HOME/conf.
WOW 5000.0.1.11 Release Notes Page 37 of 104 March 2014