Alltime.ini: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
Update category
mNo edit summary
m (Update category)
This page is about the file where all-time extreme records are tracked. The file now known as '''alltime.ini''', was originally in a differentbinary format aswhen it was named '''alltime.rec''' (and this latter file will be described first).
 
<div style="background: LemonChiffon;padding:5px; margin:2px;">
[[File:Crystal Clear info.png|40px]] This page was written for the (legacy) Cumulus 1 software. It has been partially updated to cover MX, but that was for a MX release that is no longer latest!
 
== {{Version badge 1}} Which Cumulus 1 build are you using? ==
Please can a contributor redesign this page and update content, so it is more friendly for those using latest release, while still helping those using older MX releases and the legacy Cumulus software.
</div>
 
 
= Introduction =
 
Cumulus maintains a number of 'all time records' for the station -- highs and lows and their timestamps for many of the readings. For ''more information'' on this file see in the '''Cumulus help''' file, in the section “The Data log files”.
 
=== Up to Build 920 (version 1.8.9) ===
==Which build are you using? ==
 
The highs and lows were stored in a database file ('''alltime.rec'''), this was efficient for Cumulus 1 to read and update.
=== Up to Build 920 (version 1.8.9) ===
 
TheAs highs and lows were stored in a databasethe file (alltime.rec), thisformat was efficient for Cumulus 1 to read and update, but being in binary code made, it was hard for any corrections to be made outside Cumulus.
Build 920 (28 Feb 2010) initiated the use of a log of changes to the "alltime.rec" records, called [[alltimelog.txt]], which can be found in the '''data''' folder. That file was in text format and it was easier to see changes to all-time extreme records there. It is also a useful log of when records were actually broken. An entry is added to this file every time an all-time record changes, with details of the old and new records. This log can then be used to 'backtrack' if spurious data causes an all-time record to be broken incorrectly. It is also a useful log of when records were actually broken.
 
Builds 921, 922, and 923 were never released, so in fact the next change was seen in the next public release as described next.
 
=== From Build 924 (4 March 2010 beta version 1.8.9) ===
 
Starting with Build 924 (still version 1.8.9, as said above in-between beta builds were never formally released) the Cumulus highs and lows and their timestamps are stored in a text file "alltime.ini" which can be easily edited if needed. The first time you run Build 924, or later build, of Cumulus 1 it will convert any '''alltime.rec''' file it finds in the data folder into an '''alltime.ini''' file and use that .ini file going forward.
 
The first time you run Build 924, if will look for a "cumulus\data\alltime.rec" file. If it finds that file, it will read it, converting the database records into the text format used by '''alltime.ini''' file, which it creates.
Although there were no changes to this file in the next few builds, there were some issues, so then another change was made as described next.
 
If it does not find a "cumulus\data\alltime.rec" file, or it it finds both "cumulus\data\alltime.rec" file and '''alltime.ini''' file, then it simply uses the latter file whenever it needs to update an all-time extreme record.
=== From build 927 (8 March 2020 beta version 1.8.9)===
 
TheThere alltime.iniwas filea ismajor nowissue explicitlywith locatedthis inchange, thesome people installed Cumulus 1 into a write "data"protected sub-folder of(C:\Program Files) and in this case with build 924 Microsoft Windows might create the pathnew file in a folder where yourwriting Cumulus.exewas ispermitted, installed.meaning IfCumulus youcould cannotnot find the file when it tried to read/update it. Please [[FAQ#I_can.E2.80.99t_find_my_data_files.21|see this FAQ]].
 
Although there were no changes to this file in the next few builds, there were some issues, so then another change was made as described next.
=== Cumulus MX ===
 
=== From build 927 (8 March 2020 beta version 1.8.9)===
The alltime.ini file is located in the "data" sub-folder of the path where your Cumulus.exe is installed. If you are moving to MX from Cumulus 1, you can copy the contents of the Cumulus 1 "data" folder into the MX "data" folder, but you will need to edit this '''alltime.ini''' file as described below.
 
The alltime.ini file is now explicitly located in the "data" sub-folder of the path where your Cumulus.exe is installed, to stop Microsoft Windows relocating it.
 
 
= [[File:Badge vMx.png]] Cumulus MX =
 
The alltime.ini file is located in the "data" sub-folder of the path where your CumulusCumulusMX.exe is installed. If you are moving to MX from Cumulus 1, you can copy the contents of the Cumulus 1 "data" folder into the MX "data" folder, but you will need to edit this '''alltime.ini''' file as described below.
 
Just as the sections in the file varied with different Cumulus 1 versions, so in MX a new [FeelsLike] section was added by version 3.6.0.
 
== Format of the file ==
The format consists of a number of sections (section title is delimited by square brackets [...]), with each section having a number of properties (consisting of attribute name, an equals sign and a value) each on a separate line. Blank lines can be added for readability, they are ignored in these .ini type log files.
 
== Important Note==
[[File:Badge vMx.png]]Decimal formatting always uses a period/full stop in Cumulus MX. Cumulus MX shows date/time in ISO 8601 format of "yyyy-MM-ddTHH:mm:ss" (using the net specifiers that MX uses).
 
<div style="background: LemonChiffon;padding:5px; margin:2px;">
[[File:Crystal Clear info.png|40px]] This page was written for the (legacy) Cumulus 1 software. It has been partially updated to cover MX, but that was for a MX release that is no longer latest!
 
Please can a contributor redesign this page and update content, so it is more friendly for those using latest release, while still helping those using older MX releases and the legacy Cumulus software.
</div>
 
== Format of the file ==
 
This is as described at [[:Category:Ini_Files]], where some differences between the legacy Cumulus and MX are noted. Therefore if you use decimal commas and are migrating this '''alltime.ini''' file from Cumulus 1 to MX, you need to do an edit so all the values entries are converted to use a full stop as decimal separator.
[[File:Badge v1.png]]Date, Time and Decimal formatting is as per your regional settings on the PC running Cumulus.
 
Thus if you want to swap from Cumulus 1 to Cumulus MX, and you previously used a comma as your decimal separator (e.g.12,3) you will copy your existing Cumulus 1 "data" folder to within your MX installation, but you then need to manually edit your '''alltime.ini''' file so all the values entries are converted to use a full stop as decimal separator. The following table shows just one section from the file, that dealing with wind, as an example of the two formats with the Cumulus 1 side showing use of the comma that MX will not accept.
 
You do not need to edit the date/time entries as MX can read those in Cumulus 1 format, they will only change in "alltime.ini" when a new all-time extreme occurs and MX rewrites the file.
 
 
[[Category:LogIni Files]]
5,838

edits

Navigation menu