Hi
We just had a night where the degrees did not go below 22 C.
On the page http://regnskvett.com/meteotemplate/pag ... ndices.php this day does not show under tropical night.
Thought we were going to register our first tropical night.
What are the criteria for this?
Torjan
Tropical night
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Tropical night
The page consider 'tropical night' a 24h interval ( from midnight to midnight ) with a minimum temperature >= 20°C.
In this way the calculation is done directly by database server.
In this way the calculation is done directly by database server.
- Torjan
- Observer
- Posts: 14
- Joined: Tue Aug 22, 2017 2:27 pm
- Location: South West Norway
- Station model: Davis pro 2, WMR 300
- Software: Weather Display, Meteobri
- Contact:
Re: Tropical night
Hi!
we had a temperature drop at 3pm, so that's the reason. It should have been from 6am to 6pm according to the book, or am I wrong?
Torjan
we had a temperature drop at 3pm, so that's the reason. It should have been from 6am to 6pm according to the book, or am I wrong?
Torjan
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Tropical night
You could try this mod. Uses the same database query used by the 'Nighttime statistics'.
Not super tested, but it should work ( as it is a minimal mod )
On line 204-205 you can set the starting and ending time for the night definition ( now set to 18 and 6 )
Unzip the file in the directory pages/station ( make a backup of the original file climateIndices.php )
Before running the new script remember to delete the cache file pages/station/climateCache.php ( it will be recreated )
Not super tested, but it should work ( as it is a minimal mod )
On line 204-205 you can set the starting and ending time for the night definition ( now set to 18 and 6 )
Unzip the file in the directory pages/station ( make a backup of the original file climateIndices.php )
Before running the new script remember to delete the cache file pages/station/climateCache.php ( it will be recreated )
- Attachments
-
- climateIndices_1.0.zip
- (6.11 KiB) Downloaded 18 times
- Torjan
- Observer
- Posts: 14
- Joined: Tue Aug 22, 2017 2:27 pm
- Location: South West Norway
- Station model: Davis pro 2, WMR 300
- Software: Weather Display, Meteobri
- Contact:
Re: Tropical night
Hi.
I got tropical night there, we actually got three nights since we started in 2009, nice.
This message appears at the top of the page.
error=
temporaryYear=2011 temporaryMonth=6 20.2
temporaryYear=2019 temporaryMonth=7 20.4
temporaryYear=2022 temporaryMonth=7 22.2
Those are the days that are tropical nights.
Torjan
I got tropical night there, we actually got three nights since we started in 2009, nice.
This message appears at the top of the page.
error=
temporaryYear=2011 temporaryMonth=6 20.2
temporaryYear=2019 temporaryMonth=7 20.4
temporaryYear=2022 temporaryMonth=7 22.2
Those are the days that are tropical nights.
Torjan
- Torjan
- Observer
- Posts: 14
- Joined: Tue Aug 22, 2017 2:27 pm
- Location: South West Norway
- Station model: Davis pro 2, WMR 300
- Software: Weather Display, Meteobri
- Contact:
Re: Tropical night
Hi
Forget the error in the previous message, it disappeared.
I changed on summer days from 25 to 20 degrees.
Here in the north, it is 20 degrees which is a summer day.
Thanks for the help.
Torjan
Forget the error in the previous message, it disappeared.
I changed on summer days from 25 to 20 degrees.
Here in the north, it is 20 degrees which is a summer day.
Thanks for the help.
Torjan
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Tropical night
Sorry my mistake, forgot to remove 2 debug prints ( will reappear when cache file is deleted )Torjan wrote: ↑Sat Jul 23, 2022 8:24 am Hi.
I got tropical night there, we actually got three nights since we started in 2009, nice.
This message appears at the top of the page.
error=
temporaryYear=2011 temporaryMonth=6 20.2
temporaryYear=2019 temporaryMonth=7 20.4
temporaryYear=2022 temporaryMonth=7 22.2
Those are the days that are tropical nights.
Torjan
P,S.
Yes these are 'local settings', a configuration file/option could be added
- Attachments
-
- climateIndices_1.1.zip
- (6.04 KiB) Downloaded 25 times
- Torjan
- Observer
- Posts: 14
- Joined: Tue Aug 22, 2017 2:27 pm
- Location: South West Norway
- Station model: Davis pro 2, WMR 300
- Software: Weather Display, Meteobri
- Contact:
Re: Tropical night
Hi.
yep! no error after deleting climateCache.
Found out that it should be from 20.00 to 08.00 here with us, so I changed it to that. Then I got the one day that I thought I had.
One tropical night for 13 years is not bad
yep! no error after deleting climateCache.
Found out that it should be from 20.00 to 08.00 here with us, so I changed it to that. Then I got the one day that I thought I had.
One tropical night for 13 years is not bad