--- pablo
I guess I did not announce the almanac extensions here, which are available from WeeWX 5.2 on.
[ trimmed ]
"ERROR user.skyfieldalmanac: live almanac error: unsupported operand type(s) for *: 'float' and 'NoneType'". This is the line where Tempest is showing pressure...
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/10824a8d-3c33-49d1-9008-e0cd1e08a6aan%40googlegroups.com.
I am trying to figure out how to use the new extension to give the next moon rise and set, however there isn't anything about that in the documentation or even the extension code, and I'm not sure how to do a dump of all information in the $almanac variable.
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/84ef31b0-2e79-4fe3-8363-bc9567ed5826n%40googlegroups.com.
Thanks, after looking closer at your code and a little trial and error I came up with the same solution...
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/7008b50c-cac8-406d-9960-fe3614f010bdn%40googlegroups.com.
I didn't see anything from you about a bug prior to this, and nothing off-list. It also appears that pressure is there. Can you point me at what you're referring to?
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/84ef31b0-2e79-4fe3-8363-bc9567ed5826n%40googlegroups.com.
Thanks for the extension. Will Skyfield interfere with an existing pyephem?
Thanks for the extension. Will Skyfield interfere with an existing pyephem?
And why does the extension installer merge other skins lang files? This alters existing translations, imho not for the better. And if the other extension is updated, the merged files are overwritten anyway.
Since it is the users decision to install whatever extension, I'll let it up to the user to have translations for any skyfield related stuff. I'd never expect any extension to mess with the configs of another extension, it's asking for issues by design. As an extension author dealing with almanac stuff and celestial bodies, I'd prepare the translations in the extensions lang file, just as I did with pyephem before, for as long no other way providing augmenting translations exists. This would require an additional layer in the processing order under weewx/defaults.py and above skin.conf
I checked and the version #'s hadn't changed - still 0.3 - but it appears something was updated. I re-downloaded and installed, restarted both instances and no more errors. Just as a thought, I might suggest bumping the version to 0.3.1 or similar, to make it obvious an update happened.
I've been wondering if it is really a good idea to put the ephemeris in WEEWX_ROOT/SQLITE_ROOTSince a "skyfield" subdirectory is created anyway, why not put it in WEEWX_ROOT/skyfield
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/3c6fad87-9858-42c3-a6a3-6cd6450fdf01n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/b0f8e91c-f05a-423e-86f4-b0dd4d46f50fn%40googlegroups.com.
Does USER_DATA or USER_TMP or USER_VAR or WEEWX_TMP or the like make any sense ?
config={
'Almanac': {
'Skymap': {
'enable':'true',‘user_data’: ‘/var/tmp/Skymap’,
}
}
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/cc3dfdaa-d011-4647-b5aa-685f39c97865n%40googlegroups.com.
Skyfield epehmeris data files don't receive updates. If there is an update, there will be new files. So you download the file once and never update it, and you may use it for decades.
https://rhodesmill.org/skyfield/planets.html
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/943c1b18-a21a-49fd-8aa3-7a9d829b8659n%40googlegroups.com.
I guess I did not announce the almanac extensions here, which are available from WeeWX 5.2 on.There was a discussion some months ago about PyEphem becoming outdated and replaced by Skyfield. It resulted in making the WeeWX almanac extensible and providing an installable WeeWX extension based on Skyfield. This was done because Skyfield has more dependencies than PyEphem, and we did not want to add new dependencies to core WeeWX. The extension not only replaces the PyEphem based almanac, but also provides some additional attributes and events like:For a list of differences see PyEphem vs. Skyfield.
- solar date and time
- apsides (the events when they take place)
- Venus and Mercury phases
- which constellation a star or planet is in
- additional attributes for heavenly bodies
Additionally there is a second extension based on the first one which provides an actual sky map for the location of the weather station with Sun, Moon, the planets, stars, and -configurable - Earth satellites, as well as a symbol of the moon with realistic phase and tilt, and an analemma.Here you find those extensions: