Standard log files: Difference between revisions

m
 
*On this screen,you see a box for selecting the log you want to display. The default month and year (shown on loading the web page) is taken from yesterday's date. No log is loaded at start up. You can '''either''' type in a period (one or two digit representing month, then hyphen, then four digits representing year) '''or''' select year then month in the data picker (this is produced by the bootstrap software MX uses, it is not the date picker provided by your browser), when you click on the month the box is updated with selected period.
* Next to it is a "Load" button. Press it and the Cumulus MX engine will generate an application programming interface (api) table that will appear on the web page using datatablesdataTables software. There is a "Refresh" button, for when you want that api to refresh the web pagetable (without reloading the whole page).
 
==== Pagination ====
==== How to edit a line ====
 
 
How to edit the log using this functionality has changed already for different MX versions and is planned to change again, so I am not describing it further for now.
*When you select a line, two extra buttons (for editing that line and for deleting that line) are enabled
*#'''Edit a line''' button - rather obviously brings up a dialog (known as modal by the '''altEditor''' software that generates it) showing all fields and letting you change the contents of most individual fields. Scroll down and in the footer are two buttons:
*##''Save Edit'' will send the edited line back to the MX engine where the log file is then read into an array, and the relevant array element is replaced by the line received. After that the log file is overwritten from the amended array. After that the log file as a whole is converted back to dataTables format and returned by the api that delivered the table originally.
*#'''Close dialog'''. You can close this dialog in 3 ways:
*##clicking that Close dialog button
*##Clicking the small '''x''' at the top right
*## Clicking anywhere outside the dialog
 
It must be remembered that the standard log file contains some fields that are directly read from your weather station and some that are derived from those readings. Consequently, if you edit:
#Temperature
#Humidity
#Wind speed
#Rainfall so far
 
then there is a need to make consequent change to some of these:
*Dew point
*Wind chill
*Apparent temperature
*Heat index
*Humidex
*Rain counter
*Feels like temperature
 
=== Problems ===
5,838

edits