Meteorological day: Difference between revisions

1,457 bytes added ,  14:52, 24 July 2021
m
→‎Daily assignment: Update Snow, moving MX first
m (→‎Daily assignment: accessibility)
m (→‎Daily assignment: Update Snow, moving MX first)
Line 26: Line 26:
Most weather organisations in the world still to some extent remain consistent with the traditional way of working. This means that they report by '''meteorological day'''.  Therefore, a key requirement for Steve Loft was to report daily derivatives based on a day that started at 9 a.m.  Most weather software can only report daily measurments on a calendar day basis (since midnight).
Most weather organisations in the world still to some extent remain consistent with the traditional way of working. This means that they report by '''meteorological day'''.  Therefore, a key requirement for Steve Loft was to report daily derivatives based on a day that started at 9 a.m.  Most weather software can only report daily measurments on a calendar day basis (since midnight).


Steve Loft did make a simplifying assumption that does not align with the practice of most Meteorological Offices, Cumulus implements minimum temperature and rainfall differently.  The World Meteorological Office (WMO) allows individual nations some flexibility, and does not prescribe total international alignment.
Steve Loft did make a simplifying assumption that does not align with the practice of most Meteorological Offices, Cumulus treats ''all weather station measurements the same'', booking them to the date at start of measuring period (meteorological day). Most official measurements assign minimum temperature, and rainfall, to the date at end of measuring period.  The World Meteorological Office (WMO) allows individual nations some flexibility, and does not prescribe total international alignment.


The following table tries to illustrate the divergence if you choose a rollover time other than midnight:
The following table tries to illustrate the divergence if you choose a rollover time other than midnight:
Line 41: Line 41:
! scope="row"| Maximum temperature
! scope="row"| Maximum temperature
| The daily maximum temperature in the 12 hours (9 a.m. to 9 p.m.) after the traditional observation time is assigned to the date that applies to both times
| The daily maximum temperature in the 12 hours (9 a.m. to 9 p.m.) after the traditional observation time is assigned to the date that applies to both times
| Reported for day starting at 9 a.m.
| Reported for day starting at rollover time
|-
|-
! scope="row"| Average temperature
! scope="row"| Average temperature
| The WMO says that daily temperature average is calculated in different ways. Its preference is the average of the minimum in previous 12 hours and maximum in subsequent 12 hours, this ensures consistency with traditional climate statistics.  
| The WMO says that daily temperature average is best calculated in a way that is comparable with historic climatic records, although it accepts there is some divergence between nations. The WMO preference is to report for mean temperature the average, of the minimum in previous 12 hours, and maximum in subsequent 12 hours, this ensures consistency with traditional climate statistics that might be dependent on a single observation of maximum and lowest per day.  
* Prior to automatic recording, some stations would have manual recordings taken a few times a day, and if these were at 0600, 12:00, and 18:00, the mean might be calculated by adding the 3 readings, then adding the last again, and dividing by 4!
* Prior to automatic recording, some stations would have manual recordings taken a few times a day, and if these were at 0600, 12:00, and 18:00, the mean might be calculated by adding the 3 readings, then adding the last again (to compensate for no night-time observations), and dividing by 4!
* Nations are permitted to use integrated averages for their internal purposes.
* Nations are permitted by WMO to use integrated averages for their internal purposes. (By integrated all automatic measurements that are available, the reported average is a better representation for the entire day).
| Cumulus maintains a total and a count for each day. The total is incremented by the actual temperature every time Cumulus processes a measurement (may be every minute for Cumulus 1, and every second for MX). The count is incremented by one each time a measurement is processed.  The integrated [[Average_temperature|average]] reported at the end of the day is just the total divided by the count.
| Every time Cumulus processes a temperature from your weather, after conversion to your units, and any calibration multiplier/offset has been applied, the resulting temperature is added to a total kept in [[today.ini]], incremented the count in the same file.  The integrated [[Average_temperature|average]] reported at the end of the day is a simple calculation, the total is divided by the count.
|-
|-
! scope="row"| Rainfall
! scope="row"| Rainfall
| Some nations report the daily rainfall for the 24 hours prior to the 9 a.m. observation time on a particular date. Others, throw their rainfall total back to previous date, i.e. the total for the 24 hours after 9 a.m on the particular date.
| Some nations report the daily rainfall for the 24 hours prior to the 9 a.m. observation time on a particular date. Others, throw their rainfall total back to previous date, i.e. the total for the 24 hours after 9 a.m on the particular date.
| Cumulus assigns it to the date when the day started.
| Cumulus checks the current reading from a "count" supplied by weather station, it subtracts  from this the count it stored at rollover time. From the count different, converted to required units, and calibrated, Cumulus assigns a rainfall total to the date when the day started.
|-
|-
! scope="row"| Sunshine Hours
! scope="row"| Sunshine Hours
| Always reported by calendar day (midnight to 23:59)
| Always reported by calendar day (midnight to 23:59)
| Regardless of which rollover time is selected, Cumulus always reports sunshine hours from one minute past midnight until midnight for any day
| Regardless of which rollover time is selected, Cumulus always reports sunshine hours from one minute past midnight until midnight for any day.  Note, MX does this efficiently, by using [[yesterday.ini]] if necessary; the legacy Cumulus 1 was dependent on internally held counts, so the calculation was wrong if that software was not running continuously.
|-
|-
! scope="row"| Snowfall
! scope="row"| Snowfall
| A snow day is reported by calendar day. The snow depth may be only reported at standard observation time of 9 a.m. (or as maximum that day)
| A snow day is reported by calendar day. The snow depth may be only reported at standard observation time of 9 a.m. (or as maximum that day)
| For Cumulus 1, you select a particular time ([[Cumulus.ini_(Cumulus_1)#Read-only_parameters_in_the_Station_section|SnowDepthHour]]) and that is when the date changes, i.e. prior to that snow depth is assigned to yesterday, a snow index is calculated for any longer period (e.g. month or season).  Cumulus 1 allows other information to be recorded in the [[Log.xml|Weather Diary]].  MX implements its [[diary.db]] slightly differently, and reports snow falling and lying as well as depth.
| Processing changes by flavour:
* [[File:Badge vMx.png]] MX reports snow falling, snow lying, and snow depth, taken from the weather [[diary.db]]. If the hour part of the current clock time is less than [[Cumulus.ini#Data_Logging|SnowDepthHour]], the diary entry for previous calendar date is sought, for SnowDepthHour onwards it seeks diary entry with current calendar date
* [[File:Badge v1.png]] The legacy Cumulus reported just snow depth, but it used that to calculate the snow index for a month, year, or season.  Again, it checks hour of clock time against [[Cumulus.ini_(Cumulus_1)#Read-only_parameters_in_the_Station_section|SnowDepthHour]] to decide which date to seek in [[Log.xml|Weather Diary]].  However, that diary could have any number of entries for any one date, so Cumulus permitted retrieval of any of those, but for snow index only uses last one of any date.
|-
|-
! scope="row"| Highest and lowest pressure
! scope="row"| Highest and lowest pressure
| Reported for day starting at 9 a.m.
| Reported for day starting at 9 a.m.
| Reported for day starting at 9 a.m.
| Reported for day starting at selected rollover time
|-
| Highest wind speed
| Highest wind speed
| Reported for day starting at 9 a.m.
| Reported for day starting at 9 a.m.
| Reported for day starting at 9 a.m.
| Reported for day starting at selected rollover time
|}
|}


5,838

edits