Page 1 of 1

graph updates

Posted: Fri May 16, 2008 5:39 pm
by Unconnected
my meteohub-station is running for 3 weeks now, and most of the things work fine!

i only have a question about the way graphs are updated.

today it was the first day in 3 weeks that we got some rain here in the netherlands. this graph shows that perfectly (it displays the last week):

Image

but then the graph showing the last 4 weeks (aggregation of 1 day) displays nothing yet:

Image

shouldn't that one display the total amount for this day already?

the same situation occurs in the wind-direction graphs:

last day
Image

last 4 weeks
Image

the aggregation for the last graph is set on 1 month, because i read somewhere on the forum here that that is the 'duration' of the data (in case of radar-graphs). but then again, nothing is display. should i wait till the month is over?

also when trying to make graphs for a full year using a fixed time frame i get this error:
plot - /srv/www/cgi-bin/goto.cgi th0-month1 20080101000000' using 1:2:3:4 axis x1y1 title \"Min/Max Buitentemperatuur\" with yerrorbars linecolor rgb \"#ff0000\" ^ \"/tmp/meteo0DBqQb\", line 33: warning: Skipping data file with no valid points plot - /srv/www/cgi-bin/goto.cgi th0-month1 20080101000000' using 1:2:3:4 axis x1y1 title \"Min/Max Buitentemperatuur\" with yerrorbars linecolor rgb \"#ff0000\" ^ \"/tmp/meteo0DBqQb\", line 33: all points y value undefined! Content-type: image/png
the aggregation for this graph is also set to 1 month. do i have to wait a full month until this graph displays something? why doesn't it display all the data it has for this month already?

i'm a bit confused by this :blush:

Re:graph updates

Posted: Fri May 16, 2008 6:43 pm
by admin
data for graphs is available shortly after the timeframe under consideration is finished. So if you are graphing based on daily values (time resolution 1 day), you get the data for friday, when saturday starts.

Re:graph updates

Posted: Fri May 16, 2008 7:16 pm
by Unconnected
that explains the rain-graph above. it will show the rain of today by tomorrow then.

but what about the wind-radar? aggregation has to be set to 1 month (as described in this topic http://www.meteohub.de/joomla/index.php ... 6&catid=13). will it start displaying data after a full month? and then update everyday? (since the time-frame is set to 'last 4 weeks' and the aggregation to 1 month)

Re:graph updates

Posted: Sun May 18, 2008 11:50 pm
by admin
I would propose to work with time frame \"last month\" and time resolution \"1 month\" to get the graph of the last month as a monthly summary of wind directions.

the \"last 4 weeks\" time frame will not work, because when you have middle of may for example, this will reach back until middle of april. but data for april is dated 20080401000000, so april data will be out of range and you get an empty graph.

Re:graph updates

Posted: Mon May 19, 2008 1:21 am
by Unconnected
i don't really get that last part. what is the differents between 'last month' or 'last 4 weeks'?

if i'm in the middle of may (let's say 19th of may), and i select 'last month'. i suspect it to show 19th of april until today (roughly). but isn't that the same as 'last 4 weeks'?

[edit]
ah or is it because if you set it to 4 weeks with an aggregation of a month, the time-frame is shorter then the aggregation, so it won't work?
[/edit]