<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ocotal.iarc.uaf.edu/index.php?action=history&amp;feed=atom&amp;title=WERC_datasite_architecture</id>
	<title>WERC datasite architecture - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ocotal.iarc.uaf.edu/index.php?action=history&amp;feed=atom&amp;title=WERC_datasite_architecture"/>
	<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;action=history"/>
	<updated>2026-05-12T21:53:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=379&amp;oldid=prev</id>
		<title>127.0.0.1 at 23:16, 6 July 2007</title>
		<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=379&amp;oldid=prev"/>
		<updated>2007-07-06T23:16:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:16, 6 July 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot; &gt;Line 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Linux operating system.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Linux operating system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here's an [[WERC-datasite-siterc-example|example&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/del&gt;'''siterc''' file from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here's an [[WERC-datasite-siterc-example|example '''siterc''' file&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;one of our active sites (with key settings changed).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;one of our active sites (with key settings changed).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>127.0.0.1</name></author>
		
	</entry>
	<entry>
		<id>http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=378&amp;oldid=prev</id>
		<title>127.0.0.1 at 22:33, 6 July 2007</title>
		<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=378&amp;oldid=prev"/>
		<updated>2007-07-06T22:33:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:33, 6 July 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;editor -- subject to the normal user &amp;amp; group permissions inherent to the&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;editor -- subject to the normal user &amp;amp; group permissions inherent to the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Linux operating system.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Linux operating system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Here's an [[WERC-datasite-siterc-example|example]] '''siterc''' file from&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;one of our active sites (with key settings changed).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>127.0.0.1</name></author>
		
	</entry>
	<entry>
		<id>http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=377&amp;oldid=prev</id>
		<title>127.0.0.1 at 22:21, 6 July 2007</title>
		<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=WERC_datasite_architecture&amp;diff=377&amp;oldid=prev"/>
		<updated>2007-07-06T22:21:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= WERC datasite architecture =&lt;br /&gt;
&lt;br /&gt;
WERC uses the Linux operating system for running downloads and &lt;br /&gt;
storing the data from the Campbell Scientific CR10 family of &lt;br /&gt;
dataloggers.&lt;br /&gt;
&lt;br /&gt;
The following setup and conventions might be viewed as a type of&lt;br /&gt;
ad-hoc database, but the implementation is straightforward, using&lt;br /&gt;
ordinary directories and (''flat'') files.&lt;br /&gt;
&lt;br /&gt;
==site root==&lt;br /&gt;
&lt;br /&gt;
A '''site root''' directory is established on the data-gathering&lt;br /&gt;
host computer, e.g., /home/site/.&lt;br /&gt;
&lt;br /&gt;
Individual sites could be found directly under this location, e.g.,&lt;br /&gt;
as:&lt;br /&gt;
&lt;br /&gt;
    /home/site/SITE1/&lt;br /&gt;
    /home/site/SITE2/&lt;br /&gt;
&lt;br /&gt;
but since we have so many different projects and locations, it makes sense to&lt;br /&gt;
provide subdirectories for those entities to help keep things organized,&lt;br /&gt;
and so the sites are usually defined under &amp;quot;area&amp;quot; directories:&lt;br /&gt;
&lt;br /&gt;
    /home/site/AREA1/SITE1/&lt;br /&gt;
    /home/site/AREA1/SITE2/&lt;br /&gt;
    /home/site/AREA2/SITE1/&lt;br /&gt;
    /home/site/AREA2/SITE5/&lt;br /&gt;
&lt;br /&gt;
Here we're showing two &amp;quot;areas&amp;quot; or &amp;quot;projects&amp;quot;, but some of the sites contained&lt;br /&gt;
therein have the same names.  In practice, it might be preferrable to keep the&lt;br /&gt;
site names unique, for example to allow utility programs to refer to the sites&lt;br /&gt;
without having to specify the area.&lt;br /&gt;
&lt;br /&gt;
In any case, the &amp;quot;area&amp;quot; directories don't necessarily have any assumed&lt;br /&gt;
meaning or importance other than organization -- though they could do...&lt;br /&gt;
&lt;br /&gt;
== site directory ==&lt;br /&gt;
&lt;br /&gt;
A ''site'' -- here assumed to be a local or remote location with a data logger &lt;br /&gt;
and attached sensors -- is defined by a directory.  What that directory contains&lt;br /&gt;
depends on how things are configured; a ''site'' could just have files in its&lt;br /&gt;
site directory, or it might include other subdirectories, e.g., var/, etc/, web/&lt;br /&gt;
tmp/, whatever makes sense for the intended use.&lt;br /&gt;
&lt;br /&gt;
What '''really''' defines a ''site'' for the purposes here is the existence of&lt;br /&gt;
a '''site rc''' file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== site rc file ==&lt;br /&gt;
&lt;br /&gt;
In Unix-speak, ''rc'' files are plain text configuration files, very similar&lt;br /&gt;
to INI files found on (older? versions of) the Windows operating system.  ('''rc''&lt;br /&gt;
itself might stand for &amp;quot;resource configuration&amp;quot;, but other definitions can likewise&lt;br /&gt;
be found.)&lt;br /&gt;
&lt;br /&gt;
For this WERC datasite system, we chose to use the filename '''siterc''' or it's&lt;br /&gt;
dotted (and so, &amp;quot;hidden&amp;quot;) version, '''.siterc''', for storing configuration &lt;br /&gt;
settings.&lt;br /&gt;
&lt;br /&gt;
Further, we defined a simple syntax for the site rc files:&lt;br /&gt;
&lt;br /&gt;
    section:&lt;br /&gt;
       entry=value&lt;br /&gt;
       ...&lt;br /&gt;
&lt;br /&gt;
where the rc file can contain any number of sections, and any number of &lt;br /&gt;
''entry=value'' entries under each section.&lt;br /&gt;
&lt;br /&gt;
In practice, our convention has been to have an rc file section corresponding&lt;br /&gt;
to -- and sharing the name of -- the programs that are used to gather, process,&lt;br /&gt;
and move data on the site's behalf.  Any program settings specific to the site&lt;br /&gt;
can then be viewed and configured directly in the rc file, e.g., using a text&lt;br /&gt;
editor -- subject to the normal user &amp;amp; group permissions inherent to the&lt;br /&gt;
Linux operating system.&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
		
	</entry>
</feed>