Show pageOld revisionsBacklinksODT exportBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Observations ====== * More general plotting, all parameters in data source available * Move parameter definitions to the setupfile ===== ObsManager->initDialog ===== move the definitions to the setupfile <code> 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 </code> * 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 ===== <code> foreach(parameter) plotParam(value,method,xpos,ypos,alignment) </code> ===== 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 diana/observations.txt Last modified: 2022-05-31 09:29:31(external edit)