cloudy cloudy

Author Topic: Is there a command to have WD output a value of the sun's elevation in real time  (Read 495 times)

0 Members and 1 Guest are viewing this topic.

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
There are enormous choices for WD's ability to output things in the customtext.txt stream so while I thought I looked for the possible choices, I may have missed the spelling or what WD would call it.

I'm looking for what WD has calculated for the sun's elevation above the horizon that it uses in calculations to generate the max solar for that time.  I guess the azimuth might be of interest to some, but the elevation would be nice to have.

Does anyone recall seeing that %...% command to insert to get WD to furnish the sun elevation?
Thanks.
Dale

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
there is no custom tag for that...no one has needed it before now

Offline bitsostring

  • Posts: 841
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Azimuth and elevation are shown on the latest WD
Weather34 template
recently issued by Wim van der Kuil.
It's meant to be fun. . .

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,039
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
I have a standalone php script to do it if that would help.

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
Brian,
thanks for confirming that there is no custom tag for that elevation function.  I didn't know if I missed it or didn't guess the proper name for what it was called if it existed.

If you get bored some day, could that be created without too much trouble?  If you do, the elevation is most important to my need, but both azimuth and elevation would be heaven.

And Niko, if you could do so, is it possible to share your script that I can see if I would be able to adapt to my need?

And again, thanks to those who have replied and offered help. 

Dale

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,039
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
And Niko, if you could do so, is it possible to share your script that I can see if I would be able to adapt to my need?

Sent by PM.

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
i could add a custom tag to WD

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
Brian,
I would LOVE a custom tag for sun elevation, and while you are in fiddling around, how about azimuth?

I don't know how much work that is, and for just a few to use those data may seem like a lot of work, so if it is something that you just can't justify, I'd understand.

But thank you, thank you, if it can be done.

Dale

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
Wow.  I'm downloading and will install and test today.  Thanks. Dale

Offline Dale Reid

  • Posts: 249
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
Brian,
So far it is working perfectly!

Thanks for this. 

I'll update later as it goes down tonight as to the timing and function.
Dale