Observations

More general plotting, all parameters in data source available

Move parameter definitions to the setupfile

ObsManager->initDialog

move the definitions to the setupfile

name=
sources=<list of sources defined OBSERVATION_FILES>
plottype=synop|metar|list
options=(misc in ObsManager)
parameters.begin
dialogname= id:key:method:calc:precision:tooltip
parameters.end

dialogname - name of parameter used in dialog and command string

id - needed in synop/metar plot. id=TTT means that this parameter should be plotted in the TTT position

key - key used by the data source. bufr: descriptor, ascii: name of column,

method - how to plot the value - number, weathersymbol, cloudsymbol, etc

calc - change unit, height of clouds m->code

precision - number of digits

ObsPlot::plotList

foreach(parameter)
plotParam(value,method,xpos,ypos,alignment)

ObsPlot::plotAscii

To be removed, use plotList

ObsPlot::plotSynop/Metar

Minor changes map[id]=dialogname

Other changes

Criteria limits

today - each parameter gets reasonable value limits in initDialog

suggestion - use LineEdit, not slider in the dialog

Unsolved issues

parameters like

precip last x hours

max wind/temp last x hours

Possible solution:

change map<string,float> in ObsData to map<string,some struct containing the info needed>

Dialog layout