How to generate a graph name with the week number ?

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
lcoulon
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sun Nov 16, 2008 12:07 am

How to generate a graph name with the week number ?

Post by lcoulon »

Hello

I would like to generate a graph per week for the wind sensor .

In "Graph uploads" section, i've named my graph wind_week --> wind_W%w-20%y.png

Actually the datas stored are not as i was expecting and they are not showing every week results but day after days :

http://lcoulon.kelio.org/WMR200/wind_W1-2014.png
http://lcoulon.kelio.org/WMR200/wind_W2-2014.png
http://lcoulon.kelio.org/WMR200/wind_W3-2014.png
http://lcoulon.kelio.org/WMR200/wind_W4-2014.png
etc ...

Do i not use correctly %w in the file name ?

Is there a way to name a file with its day number from 1 to 365 ?
This could be usefull to store daily results.

Many thanks for your help,
Post Reply