Moon tilted
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Moon tilted
I always wanted to show the moon as it looks in the sky ( and it took me a 'fair amount of time' to accomplish this, svg rocks ).
Uncompress the archive in the meteotemplate base directory.
Note
The moon is shown tilted only when above the horizon ( is vertical when below the horizon ).
Tested working on firefox, chrome and edge.
Cranberry 19.0 version
Ver 1.1
- this version should be ok for southern hemisphere
Uncompress the archive in the meteotemplate base directory.
Note
The moon is shown tilted only when above the horizon ( is vertical when below the horizon ).
Tested working on firefox, chrome and edge.
Cranberry 19.0 version
Ver 1.1
- this version should be ok for southern hemisphere
- Attachments
-
- moon_a_barchetta_c19.0_1.1.zip
- (258.05 KiB) Downloaded 663 times
-
- moon_a_barchetta_c19.0_1.0.zip
- (258.04 KiB) Downloaded 619 times
Last edited by davidefa on Sat Nov 25, 2023 10:18 pm, edited 1 time in total.
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: Moon tilted
perfect
well done!
well done!
- Attachments
-
- Screenshot - 24_11_2023 , 16_44_31.jpg (67.43 KiB) Viewed 26434 times
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Moon tilted
I would like to say the same, but I don't see the moon.
Didn't see the moon, before update.
What am I doing wrong?
The header is set as interactive.
Thanks!
Alex
Didn't see the moon, before update.
What am I doing wrong?
The header is set as interactive.
Thanks!
Alex
- tobydude
- Forecaster

- Posts: 206
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Moon tilted
Looks like it works on my page.
The moon sudently came up in headher.
Thanks
The moon sudently came up in headher.
Thanks
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Moon tilted
can all of you please align your setups please...
the one that @FSC830 works fine, but updating them to @davidefa doesn't.
thx
the one that @FSC830 works fine, but updating them to @davidefa doesn't.
thx
- tobydude
- Forecaster

- Posts: 206
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Moon tilted
moon_a_barchetta_c19.0_1.0.zip :
I put the moon image in /public_html/template/imgs/moon
The header.php in /public_html/template
The two scripts I put in /public_html/template/scripts
I put the moon image in /public_html/template/imgs/moon
The header.php in /public_html/template
The two scripts I put in /public_html/template/scripts
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Moon tilted
@alexvanuxem
The moon is shown only in daytime ( to show the moon all day add a $moonView = true; at/after line 277 of header.php )
Not sure to understand: 'can all of you please align your setups please...'
The moon is shown only in daytime ( to show the moon all day add a $moonView = true; at/after line 277 of header.php )
Not sure to understand: 'can all of you please align your setups please...'
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: Moon tilted
these are my working header.php and function.php
(aligned by me including all recent mods: php8.2, show rain in banner when it rains, moon phase, ...)
@davidefa compare them with yours
I also attach the images of the interactive banner that I customized, to be installed in the folder
/template/img/forecastImgs/weather_bg
(aligned by me including all recent mods: php8.2, show rain in banner when it rains, moon phase, ...)
@davidefa compare them with yours
I also attach the images of the interactive banner that I customized, to be installed in the folder
/template/img/forecastImgs/weather_bg
- Attachments
-
- weather_bg.zip
- (563.28 KiB) Downloaded 660 times
-
- header.zip
- (18.55 KiB) Downloaded 632 times
-
alexvanuxem
- Forecaster

- Posts: 222
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
-
linux150
- Observer

- Posts: 26
- Joined: Sat May 22, 2021 12:18 pm
- Station model: WMR968
- Software: SDR -> Weewx -> MT
- Contact:
Re: Moon tilted
Hi, silly question but where do i get the astro.php in scripts ?
No download token until today, so i updated all by hand and now i want to try your header.php but the astro.php is missing ....
greetings
Martin
No download token until today, so i updated all by hand and now i want to try your header.php but the astro.php is missing ....
greetings
Martin