Hi, Being a new WeeWX user there are probably a few concepts here you need to get your head around and then hopefully things will make some sense.
Units. WeeWX uses a system of 'unit groups' to keep track of what units a given value uses. The three unit groups are US, METRIC and METRICWX. They are summarised here <http://weewx.com/docs/customizing.htm#units> in the Customization Guide <http://weewx.com/docs/customizing.htm>. The unit groups are an arbitrary set of units for each of the different observation types and anywhere in WeeWX where you have group of observations chances are they are in one of those three unit groups. Typically in WeeWX your station (well more correctly the WeeWX driver for your station) will emit observations in with units in a given unit group, WeeWX may store this data using a different unit group (default is US) and then the data may be presented in a different unit group or some custom combination depending on user preferences. On top of this your (non-WeeWX) display for your station may display a different set of units as well. The units used between the driver and WeeWX and the units used to store data in the WeeWX database should be of little concern to the average user; WeeWX will take care of the necessary conversions etc. The user is normally only concerned with the units used for display (ie in reports) (or on your station - but that is usually not a WeeWX issue). The units used in WeeWX generated reports are typically set in the skin config (skin.conf) file for the skin concerned or they can be overridden in the WeeWX config file weewx.conf. When installing WeeWX you should have been asked what units you wish to use; this refers to the display side of things in report etc. Select a unit system to use and then you can customise it later (say you want temperature in C and wind speed in mph). My advice to a new user would be unless you have specific reason to change them do not worry about the units used in the database, accept the default or you can create issues for yourself down the track. Where to find things. Where WeeWX places different directories/files etc depends on your install type. If you installed the so called development deb package you did a deb package install and you should refer to Where to find things <http://weewx.com/docs/usersguide.htm#Where_to_find_things> in the User's Guide <http://weewx.com/docs/usersguide.htm> to well, ah, find things. Logs. Related to 'where to find things' is the log. Find out where WeeWX send its log entries on your system. Unless you explicitly changed it chances are it will be var/log/syslog. Learn how to view, monitor and post extracts from your log. Config files. There are two main config files you will normally concern yourself with; the WeeWX config file weewx.conf and skin config files skin.conf (actually you might be concerned with numerous skin config files as there is usually one skin.conf per skin). Skin config files typically control/configure all of those things that a skin does, weewx.conf typically controls/configure WeeWX services, station configuration, drivers and other higher level type things. The location of weewx.conf is dependant on your install type - refer earlier point. Usually if you make a change to skin.conf you just need save the file and the changes will be picked up on the next report cycle. Changes to weewx.conf usually require you to restart WeeWX, start then stop WeeWX or do a config reload before the changes take effect. Find and have a look at weewx.conf, note the structure and the various top level stanzas. Use the section The configuration file weewx.conf <http://weewx.com/docs/usersguide.htm#weewxconf> in the User's Guide to guide you. Now to your problems. You mention ASL, I presume you mean station altitude. What is the altitude setting under [Station] in weewx.conf? Is it 30, meters or something else. If it is set incorrectly, fix it, save weewx.conf and restart WeeWX. Wait until the next report cycle completes and refresh your page in your browser. One of the things skin config files do is set the the display units used in reports. I mentioned earlier that you can override skin config setting from weewx.conf. Have a read of the section Overriding options in skin.conf from weewx.conf <http://weewx.com/docs/customizing.htm#_________Overriding_options_in_skin.conf_from_weewx.conf_______> in the Customization Guide. One common thing that is done by skin developers is to set some sane defaults in skin.conf and then have the user override them with their preferences from weewx.conf. One reason to do this is to maintain users changes across upgrades. Changes made by the user to weewx.conf will be retained across upgrades but that may not be the case with skin.conf. When you run the installer it asks for your display units and then sets up the override in weewx.conf, so what you see is expected behaviour. One final piece of advice, when posting to the user group descriptions are great but config file extracts, log extracts or even screen shots are better. Don't be afraid to post too much info. The detail you pickup from a log or config file may well be different to that picked up by others. Gary On Monday, 13 August 2018 02:26:33 UTC+10, ian kitchen wrote: > > > > > Hello all. I'm new to WEEWX so please bear with me: > > I have the development version up and running on Linux Mint. Whilst I was > installing the program offered me various configuration options, one of > which was the height ASL - I inserted 30 - the units were in meters. The > displayed station value is 0. Other values (lat/long etc) appear to have > taken ok. > > When I checked the config file it is indeed set to 30. > > On further checking of the skin config file I noticed that the measurement > units were all set to US/Imperial and yet my station is using metric - > which is what I did ask for in the initial setup. > > Can anyone explain what is going on here? Have I misunderstood how the > config files work. Which files should I be editing for the default display? > > Thanks in advance > > IK > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
