Not a perfect solution yet, but a good temporary option. Underneath, Sun &
Moon 24hrs altitude plot through Grafana Sun and Moon Datasource Plugin:
https://grafana.com/grafana/plugins/fetzerch-sunandmoon-datasource
Embedded into Belchertown skin front page:
X
--
You received this message be
Any volunteer to transpose small PHP script to JS?
X
On Sunday, November 24, 2019 at 4:20:47 PM UTC-5, Pat wrote:
>
> Interesting idea. Not everyone can run PHP. If you find it in JS then
> maybe it's worth an add on for the skin pending any licensing restrictions.
>
> On Saturday, November 23
Interesting idea. Not everyone can run PHP. If you find it in JS then maybe
it's worth an add on for the skin pending any licensing restrictions.
On Saturday, November 23, 2019 at 4:34:23 PM UTC-5, Xant wrote:
>
> While still searching for a Sun/Moon plot solution, either to extend db or
> other
While still searching for a Sun/Moon plot solution, either to extend db or
other means, found an interesting little piece of code: SunPlot, by
Wilmslow Astro (https://weather.wilmslowastro.com/scripts.php).
[image: sun plot]
Embeded in Belchertown:
[image: sunplot.png]
--
You received t
Acknowledged Pyephem '$almanac.sun.alt' not suitable to extend db.
Sun.py (/usr/share/weewx/weeutil/Sun.py) available within WeeWX package,
but could not find documentation or supporting reference.
Does someone knows how to use/call the package and input to db? (sure
indeed, would need some sor
Truly acknowledge all above.
Thought ext-database and Almanac/pyephem to be the "natural" path, as all
"embedded" in WeeWX... but it seems to generate another discussion.
Just searching for a Sun/Moon path, and the Altitude, as suggested, seems the
right path.
Expectations were to be simple,
I think you need to completely forget the likes of $almanac.sun.alt, it is
a tag used in WeeWX reports and has no bearing or use in the approach you
have taken. I am not surprised that it's use as a field name in a db would
cause problems. It is not uncommon for special characters like $ and . t
If not free lunch, thank you Gary for the snack (as I continue learning
through the experience)
1) To Database, or Not To Database
Sure, your previous mention coding would be the ideal ("sun position plot
routine in some php a few years ago to produce a graphic file showing a
plot of solar
You have decided to record solar and lunar altitude in your database in custom
fields so that you can use the WeeWX plot engine to plot each. To do this there
are two distinct tasks you need to complete. First you need to extend your
database schema to include the new fields. Second you need to
1) Almanac/pyephem
"$almanac.sun.alt" indeed confusing, and as you mentioned, think that's
what is "breaking" SQLite. Nomenclature, format or syntax doesn't seems
appropriate.
As not yet much familiar with the Astronomy portion of WeeWX, and following
User's Guide, "$almanac.sun.alt" and "$alman
Why use something like $almanc.sun.alt, at best it is confusing and at
worst it will break SQLite or MySQL/MariaDB. Why not use something like
solar_altitude. For your wee_database error far better to post the exact
command entered and the exact response received rather than "it doesn't
work".
(addendum)
Not sure if incorrect format or syntax to Database, but extend database
with '$almanac.sun.alt' and '$almanac.moon.alt' generate errors upon
"wee_database --rebuild-daily"
schema_extended = schemas.wview.schema + [('maxSolarRad', 'REAL'),,
('$almanac.sun.alt', 'REAL'), ('$alman
Thomas, Gary et Peter
You ALL correct, and Sun/Moon-Altitude is the way to go. Thus for a start,
'$almanac.sun.alt' and '$almanac.moon.alt', and will be added to database
for plot/graph.
Instead of "$almanac.variable.name", how to rename to something more
meaningful as 'sun-alt = $almanac.su
Getting myself into more I wished for, but Astronomical journey and
learning experience going through Thomas extensive work (almanac.py,
sun.py, moon.py, etc).
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and st
Have you looked at using solar altitude (elevation)?
On Wed, Nov 13, 2019 at 10:12 AM Xant wrote:
>
> Considering the approach of archive and plot, how to move towards a Sun
> path "sine" plot?
>
> WeeWX with 'pyephem' provides Sunrise, transit, sunset: $almanac.sun.rise
> $almanac.sun.transit $
Considering the approach of archive and plot, how to move towards a Sun
path "sine" plot?
WeeWX with 'pyephem' provides Sunrise, transit, sunset: $almanac.sun.rise
$almanac.sun.transit $almanac.sun.set , which is indeed good info and a
start... but may not be sufficient for a continuous plot/
Thank you Gary, as your feedback always appreciated.
Yes! That's the thinking... although I tweak here and there, and I'm not a
programmer sort to say but hobbyist, and still searching for an "easy
recipe" :P
Ideally, its something as the following for Sun/Mon:
In a veeery non-scientific wa
Agree that if you are using the WeeWX plot engine you have to archive the
data you wish to plot; however, if you use something other than the WeeWX
plot engine to render your plots then you can avoid archiving the data. I
played around with a sun position plot routine in some php a few years ago
Thank you Thomas, as that might be a way.
Actually, upon your response, for Sun just occurred to me to make use of
Theoretical MaxSolarRad, which is calculated and already in the database
for Sunset/Sunrise chart according to location.
Will check the above, while still searching for a generic
The only way I can think of is to put it in the database. Then it can be
treated like any other observation type.
On Sun, Nov 10, 2019 at 1:58 PM Xant wrote:
> How to plot the Sun & Moon sine elevation (sun/moon rise, sun/moon set)
> based on local coordinates?
>
> --
> You received this message
How to plot the Sun & Moon sine elevation (sun/moon rise, sun/moon set)
based on local coordinates?
--
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+uns
21 matches
Mail list logo