Further to what Vince said there is nothing special about the view_extended 
schema; it merely has many more fields than the legacy wview schema and 
hence if a user adds more sensors or stations it is a simple matter to save 
the data from these sensors to the database. For this reason it is now the 
default schema for new installs, but there is absolutely no issue with 
continuing to use the legacy wview schema. As an aside, WeeWX only uses the 
schema definition when creating the database, once the database has been 
created WeeWX obtains the schema direct from the database when required.

In terms of pressures, WeeWX uses three pressure fields; pressure, altimeter 
and barometer. WeeWX is able to calculate any of these three pressure 
fields provided at least one of the three pressures is available (along 
with the other pre-requisites). By default, if all three pressures exist 
then WeeWX will calculate none of them as is the case if none of the three 
pressures exist. Again by default, if one or two pressures are absent WeeWX 
will calculate the missing pressures from the available pressure field(s) 
and one or more of the fields outTemp and outHumidity and the station 
altitude setting. So if you are storing your enclosure data in fields other 
than outTemp and outHumidity they will not be used in the calculation of 
barometer unless you have made modification to the WeeWX code. Is it 
possible your station is providing one of the three pressures, eg station 
pressure (aka pressure), but it is being fed to WeeWX and saved as 
barometric pressure (barometer). This would certainly cause WeeWX to 
miscalculate altimeter and pressure (and of course barometer would be 
incorrect as well). If you haven't read it already, you might find the What 
is the difference between barometer, pressure, and altimeter? 
<https://github.com/weewx/weewx/wiki/Barometer,-pressure,-and-altimeter> 
wiki page useful in explaining what pressure is stored in each of the three 
fields.

Gary
On Wednesday, 2 November 2022 at 13:29:08 UTC+10 vince wrote:

> On Tuesday, November 1, 2022 at 6:53:45 PM UTC-7 william...@att.net wrote:
>
>>  explain why the wview_extended schema  is so special
>>
>
> Because for the vast majority of people there are enough fields of the 
> usual types that most people don't need to modify the schema at all.
>
> The extended schema has extraTemp1-8 and extraHumid1-8 already there, if 
> that's what you're looking for.  You didn't really ask a particularly clear 
> question about what 'this' you are asking for the right way to do...
>
> Shorter answer - a clean v4 weewx uses the extended schema by default, as 
> an added plus.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a18cae29-5597-4f90-b8f6-9217cfaa418cn%40googlegroups.com.

Reply via email to