Australia New Weather Measurement Day is 9am not Midnight..

179 views
Skip to first unread message

Oz Greg

unread,
May 3, 2013, 10:46:59 AM5/3/13
to weewx...@googlegroups.com
This is a good Challenge :)

A very long time ago someone at our Bureau of Meteorology decided that 9am being the start of the working day will also be the START of the next measurement period (usually set as midnight) which causes no end of issues for us but considering we have over 100 years of data this is not going to change so we live with it..

This means for us Aussies..

at 9am on May 3th  to 8:59AM of May 4th - Measurements will be Recorded as May 4th 
at 9am on May 4th  to 8:59AM of May 5th - Measurements will be Recorded as May 5th 
at 9am on May 5th  to 8:59AM of May 6th - Measurements will be Recorded as May 6th 

and End of Month = 9am of the Last Day of the Month
and End of Year = 9am of the Last Day of the Year..

Clearly weewx is setup as midnight being the start of the new period..  Anyone with some suggestions on how to change this?


Thomas Keffer

unread,
May 3, 2013, 10:54:28 AM5/3/13
to weewx-user
It would be a large project. Not only does weewx (sensibly) assume that a day starts at midnight, so do the underlying Python functions upon which it relies. It would require not only rewriting all of the stats calculations, but also providing alternatives for Python staples such as datetime.datetime (which is used to calculate the start of a month, etc.).

As we used to say about doomed projects at my old company, "We'll put a man on it."

-tk




--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

Oz Greg

unread,
May 3, 2013, 11:13:49 AM5/3/13
to weewx...@googlegroups.com
Also known as "Adding it to the improvements Register (Which is filed in Bin 13).. " :)

William Phelps

unread,
May 3, 2013, 7:45:05 PM5/3/13
to weewx...@googlegroups.com
One thought comes to mind - change the time zone offset, then fix the time/date in StdConvert or in a new service that runs before any of the others...

William

Oz Greg

unread,
May 4, 2013, 12:55:14 AM5/4/13
to weewx...@googlegroups.com
Funny enough I was thinking of fooling with the time offsets..  You really need a observance date and an actual date..  

Rakesh R

unread,
Jan 7, 2016, 9:54:18 AM1/7/16
to weewx-user
Here in India we observe 8:30am to 8:30am.

HELP needed in changing  the current observation start time of 12 midnight to 8:30am 

Mickael Hoareau

unread,
Jan 7, 2016, 2:08:35 PM1/7/16
to weewx-user
Hello,

Météo France also uses "Climatological days" for data (7 a.m. to 7 a.m.) for climatological observations.
For comparison purpose, having the possibility to choose how to define "a day" could really be helpfull :)

Personnaly, I would prefer to have archives stored as it is and have the possibility to generate stats for another definition of a "day"

I'd love to give it a try.
Perhaps in the next weeks or months.

Praveen Chandrasekaran

unread,
May 7, 2018, 1:59:02 PM5/7/18
to weewx-user
Any update on this?
Reply all
Reply to author
Forward
0 new messages