Those of us who live in the Southern Hemisphere have to point the solar cells on our Vantage Vue's to the North, in order to catch the sun. This means that the readout on weewx for the wind direction is in the wrong direction (an error of 180 degrees). I have weewx connected to a Weather Envoy which does not seem to have an internal calibration function to correct this error.Has anyone else living in the Southern Hemisphere solved this problem? I guess I could use the [corrections] function to put windDir = windDir + 180, but I'm not sure if this will work when winfDir is greater than 180 degrees and the sum is greater than 360 degrees. Also, I am not sure if I also need to put windGustDir = windGustDir + 180
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
For more options, visit https://groups.google.com/d/optout.
Yes, you need to do something similar for windGustDir.
You will also need to delete the stats database and let weewx regenerate it.
-tk
Fat-fingered from my Android
windDir = (windDir+180 if windDir<180 else windDir-180) if windDir is not None else None
Is there any interest in modifying the wee_config_vantage program to expose the console's own wind direction calibration value in the EEPROM? I've recently been in that code so I'm confident that I could add read/write support for EEPROM location 0x4D-0x4E (as I did years ago for wview).
(Back story: My anemometer is on my roof connected to a retransmitter. I only wanted to be up on the roof once so I lined it up roughly north-facing, exactly aligned to a prominent feature on the horizon. When I got down to ground level again I checked Google Earth and measured the bearing to that feature at 349 degrees, a little west of north. Rather than going back up and trying to rotate the anemometer shaft 11 degrees I programmed the console with an offset of 11 degrees and saved myself another trip up the ladder. At the time I was moving the datalogger back and forth between my Vantage2 console, on which I could program the offset by pressing buttons, and my Envoy, which needed the value programmed into the EEPROM. I wanted them both to report the same value without me having to adjust it in software. Hence why I didn't use wview's calibration feature.)
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.