Version 2.0.0 release

This commit is contained in:
Tom Keffer
2012-11-04 17:12:55 +00:00
parent d338559cd1
commit 41ccb72cda
14 changed files with 111 additions and 40 deletions

View File

@@ -4,7 +4,7 @@ CHANGE HISTORY
For complete documentation, see http://www.weewx.com/docs
2.0.0 XX/YY/12
2.0.0 11/04/12
A big release with lots of changes. The two most important are the support of
additional weather hardware, and the support of the MySQL database.
@@ -37,7 +37,8 @@ along the way. See the Customizing Guide.
You can now use "mmHg" as a unit of pressure.
Added new almanac information such as first and last quarter moons.
Added new almanac information, such as first and last quarter moons, and civil
twilight.
Changed the engine architecture so it is more event driven. It now uses
callbacks, making it easier to add new event types.

View File

@@ -1602,7 +1602,28 @@ outTemp = Outside Temperature</pre>
<p class="center">
<img alt="Daytime temperature with running average" height="180" src="daytemp_with_avg.png" width="300" />
</p>
<h3>Progressive vector plots</h3>
<p>
One more example. This one shows daily high and low temperatures for a year:</p>
<p class="tty">
[[year_images]]<br />
<br />
&nbsp; ...<br />
&nbsp; [[[yearhilow]]]<br />
&nbsp;&nbsp;&nbsp; [[[[hi]]]]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data_type = outTemp<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aggregate_type = max<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label = High<br />
&nbsp;&nbsp;&nbsp; [[[[low]]]]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date_type = outTemp<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aggregate_type = min<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label = Low Temperature</p>
<p>
This results in the plot <span class="code">yearhilow.png</span>:</p>
<p class="center">
<img alt="Daily highs and lows" src="yearhilow.png" />
</p>
<h3>Progressive vector plots</h3>
<p><span class="code">Weewx</span> can produce progressive vector plots as well
as the more conventional x-y plots. To produce these, use plot type &#39;<span class="code">vector</span>&#39;.
You need a vector type to produce this kind of plot. There are two: &#39;<span class="code">windvec</span>&#39;,

View File

@@ -23,21 +23,25 @@
<p>What follows are directions for upgrading from specific versions.</p>
<h2>V1.14 or earlier</h2>
<p>Version 2.0 introduces many new features, including a revamped internal
engine. Fortunately, all skins are completely backwards compatible, so you
should not have to change your templates or skin configuration file,
<span class="code">skin.conf</span>. </p>
<p>If you have written a custom report generator it should also be backwards
compatible.</p>
<p>However, the main configuration file, <span class="code">weewx.conf</span>,
has changed in a way that is not backwards compatible. The setup utility will
install a new, fresh version which you will have to edit by hand. </p>
<p>If you have written a custom service, it will have to be updated to use the
new engine. The overall architecture is very similar, the only change is that
engine. There are two changes that are not backwards compatible:</p>
<ul>
<li>The configuration file, <span class="code">weewx.conf</span>. When
upgrading from V1.X, the setup utility will
install a new, fresh copy of <span class="code">weewx.conf</span>, which you will
then have to edit by hand. Thereafter, V2.X upgrades should be automatic.</li>
<li>Custom services. If you have written a custom service, it will have to be updated to use the
new engine. The overall architecture is very similar, except that
functions must be <em>bound</em> to events, rather than get called implicitly.
See the sections <a href="customizing.htm#Customizing_a_Service">Customizing a
Service</a> and <a href="customizing.htm#Adding_a_Service">Adding a Service</a>
in the <a href="customizing.htm">Customizing Guide</a> for details on how to do
this.</p>
this.</li>
</ul>
<p>All skins should be completely backwards compatible, so you
should not have to change your templates or skin configuration file,
<span class="code">skin.conf</span>. </p>
<p>If you have written a custom report generator it should also be backwards
compatible.</p>
<h2>V1.13 or earlier</h2>
<p>Version 1.14 introduces some new webpages that have been expressly formatted for
the smartphone by using <a href="http://jquery.com/">jQuery</a>.</p>

BIN
docs/yearhilow.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB