Does it exist a way to display the windspeed in m/s instead of km/h
when 'metric units' is selected? If I recall correctly all data are
stored in US units, so it is a matter of conversion?
Also I am taring my .sdb files to a safe location each night, and I
see that if this happens at a moment that wview wants to rewrite the
html files it generates a few write errors in the log and refuses to
update any more until I restart the wview daemon. Does it exist a
safe way to tar the .sdb files? Should I stop the wview daemon before
the backup and start it after having packed the tar file?
Hi, very good idea! I asked it some time ago but with no reaction at all... the same as you :( For example in our country (Czech republic) it is normaly to talking about wind speed in m/s insted of km/h. On Jan 27, 2012 9:36 AM, "bushtor" <ep...@bushsoft.com> wrote:
> Does it exist a way to display the windspeed in m/s instead of km/h > when 'metric units' is selected? If I recall correctly all data are > stored in US units, so it is a matter of conversion?
> Also I am taring my .sdb files to a safe location each night, and I > see that if this happens at a moment that wview wants to rewrite the > html files it generates a few write errors in the log and refuses to > update any more until I restart the wview daemon. Does it exist a > safe way to tar the .sdb files? Should I stop the wview daemon before > the backup and start it after having packed the tar file?
> Thanks for comments on this
> regards
> Tor
> -- > You received this message because you are subscribed to the Google Groups > "wview" group. > To post to this group, send email to wview@googlegroups.com. > To unsubscribe from this group, send email to > wview+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/wview?hl=en.
to get around the errors caused by simultaneous access to the .sdb files, I added a small delay in my script that is called by cron. Wview accesses the database around second 0. Waiting till second 10 avoids the concurrency in almost all cases.
For the wind speed: Just change your templates. The m/s wind speeds are available as e.g. <!--windSpeed_ms-->
To get metric units from the database I enabled export to mysql and defined some views that do the necessary conversions.
-jo
On Sun Feb 5 07:23:15 2012, Luká? Ku?el <lukas.ku...@gmail.com> wrote:
> Hi, very good idea! I asked it some time ago but with no reaction at all... > the same as you :( > For example in our country (Czech republic) it is normaly to talking about > wind speed in m/s insted of km/h. > On Jan 27, 2012 9:36 AM, "bushtor" <ep...@bushsoft.com> wrote:
>> Hi,
>> Does it exist a way to display the windspeed in m/s instead of km/h >> when 'metric units' is selected? If I recall correctly all data are >> stored in US units, so it is a matter of conversion?
>> Also I am taring my .sdb files to a safe location each night, and I >> see that if this happens at a moment that wview wants to rewrite the >> html files it generates a few write errors in the log and refuses to >> update any more until I restart the wview daemon. Does it exist a >> safe way to tar the .sdb files? Should I stop the wview daemon before >> the backup and start it after having packed the tar file?
>> Thanks for comments on this
>> regards
>> Tor
>> -- >> You received this message because you are subscribed to the Google Groups >> "wview" group. >> To post to this group, send email to wview@googlegroups.com. >> To unsubscribe from this group, send email to >> wview+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/wview?hl=en.
> -- > You received this message because you are subscribed to the Google > Groups "wview" group. > To post to this group, send email to wview@googlegroups.com. > To unsubscribe from this group, send email to > wview+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/wview?hl=en.
> to get around the errors caused by simultaneous access to the .sdb files, I > added a small delay in my script that is called by cron. Wview accesses the > database around second 0. Waiting till second 10 avoids the concurrency in > almost all cases.
> For the wind speed: Just change your templates. The m/s wind speeds are > available as e.g. <!--windSpeed_ms-->
> To get metric units from the database I enabled export to mysql and defined > some views that do the necessary conversions.
> -jo
> On Sun Feb 5 07:23:15 2012, Luká? Ku?el <lukas.ku...@gmail.com> wrote:
>> Hi, very good idea! I asked it some time ago but with no reaction at >> all... >> the same as you :( >> For example in our country (Czech republic) it is normaly to talking about >> wind speed in m/s insted of km/h. >> On Jan 27, 2012 9:36 AM, "bushtor" <ep...@bushsoft.com> wrote:
>>> Hi,
>>> Does it exist a way to display the windspeed in m/s instead of km/h >>> when 'metric units' is selected? If I recall correctly all data are >>> stored in US units, so it is a matter of conversion?
>>> Also I am taring my .sdb files to a safe location each night, and I >>> see that if this happens at a moment that wview wants to rewrite the >>> html files it generates a few write errors in the log and refuses to >>> update any more until I restart the wview daemon. Does it exist a >>> safe way to tar the .sdb files? Should I stop the wview daemon before >>> the backup and start it after having packed the tar file?
>>> Thanks for comments on this
>>> regards
>>> Tor
>>> -- >>> You received this message because you are subscribed to the Google Groups >>> "wview" group. >>> To post to this group, send email to wview@googlegroups.com. >>> To unsubscribe from this group, send email to >>> wview+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/wview?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "wview" group. >> To post to this group, send email to wview@googlegroups.com. >> To unsubscribe from this group, send email to >> wview+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/wview?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "wview" group. > To post to this group, send email to wview@googlegroups.com. > To unsubscribe from this group, send email to > wview+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/wview?hl=en.
>> to get around the errors caused by simultaneous access to the .sdb files, I >> added a small delay in my script that is called by cron. Wview accesses the >> database around second 0. Waiting till second 10 avoids the concurrency in >> almost all cases.
>> For the wind speed: Just change your templates. The m/s wind speeds are >> available as e.g. <!--windSpeed_ms-->
Second thing that I realized if it's possible to get graphics wind dial in m/s too...?
>> To get metric units from the database I enabled export to mysql and defined >> some views that do the necessary conversions.
>> -jo
>> On Sun Feb 5 07:23:15 2012, Luká? Ku?el <lukas.ku...@gmail.com> wrote:
>>> Hi, very good idea! I asked it some time ago but with no reaction at >>> all... >>> the same as you :( >>> For example in our country (Czech republic) it is normaly to talking about >>> wind speed in m/s insted of km/h. >>> On Jan 27, 2012 9:36 AM, "bushtor" <ep...@bushsoft.com> wrote:
>>>> Hi,
>>>> Does it exist a way to display the windspeed in m/s instead of km/h >>>> when 'metric units' is selected? If I recall correctly all data are >>>> stored in US units, so it is a matter of conversion?
>>>> Also I am taring my .sdb files to a safe location each night, and I >>>> see that if this happens at a moment that wview wants to rewrite the >>>> html files it generates a few write errors in the log and refuses to >>>> update any more until I restart the wview daemon. Does it exist a >>>> safe way to tar the .sdb files? Should I stop the wview daemon before >>>> the backup and start it after having packed the tar file?
>>>> Thanks for comments on this
>>>> regards
>>>> Tor
>>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "wview" group. >>>> To post to this group, send email to wview@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> wview+unsubscribe@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/wview?hl=en.
>>> -- >>> You received this message because you are subscribed to the Google Groups >>> "wview" group. >>> To post to this group, send email to wview@googlegroups.com. >>> To unsubscribe from this group, send email to >>> wview+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/wview?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "wview" group. >> To post to this group, send email to wview@googlegroups.com. >> To unsubscribe from this group, send email to >> wview+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/wview?hl=en.
For all stations: LOOP data cycle frequency is determined by the POLL_INTERVAL configuration parameter and lined up on 0. I.e., a POLL_INTERVAL of 30 seconds (the default) would occur at second 0 and 30 of each minute. A database store is done when the LOOP data is received which varies widely based on station/protocol and could be 100's of milliseconds to 5 seconds after the LOOP start. Thus for the example above and a station which responds 2 seconds after the LOOP initiation, there would be database writes at 2 seconds and 32 seconds of each minute.
ARCHIVE records are written around the 5th second of the archive interval minute. I.e., using an archive interval of 5 minutes (the default) there would be an archive record stored at 00:05:05, 00:10:05, ...
NOAA records are updated shortly after each archive record generated.
> to get around the errors caused by simultaneous access to the .sdb > files, I added a small delay in my script that is called by cron. > Wview accesses the database around second 0. Waiting till second 10 > avoids the concurrency in almost all cases.
> For the wind speed: Just change your templates. The m/s wind speeds > are available as e.g. <!--windSpeed_ms-->
> To get metric units from the database I enabled export to mysql and > defined some views that do the necessary conversions.
> -jo
> On Sun Feb 5 07:23:15 2012, Luk ? Ku?el <lukas.ku...@gmail.com> wrote:
>> Hi, very good idea! I asked it some time ago but with no reaction at >> all... >> the same as you :( >> For example in our country (Czech republic) it is normaly to talking >> about >> wind speed in m/s insted of km/h. >> On Jan 27, 2012 9:36 AM, "bushtor" <ep...@bushsoft.com> wrote:
>>> Hi,
>>> Does it exist a way to display the windspeed in m/s instead of km/h >>> when 'metric units' is selected? If I recall correctly all data are >>> stored in US units, so it is a matter of conversion?
>>> Also I am taring my .sdb files to a safe location each night, and I >>> see that if this happens at a moment that wview wants to rewrite the >>> html files it generates a few write errors in the log and refuses to >>> update any more until I restart the wview daemon. Does it exist a >>> safe way to tar the .sdb files? Should I stop the wview daemon before >>> the backup and start it after having packed the tar file?
>>> Thanks for comments on this
>>> regards
>>> Tor
>>> -- >>> You received this message because you are subscribed to the Google >>> Groups >>> "wview" group. >>> To post to this group, send email to wview@googlegroups.com. >>> To unsubscribe from this group, send email to >>> wview+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/wview?hl=en.
>> -- >> You received this message because you are subscribed to the Google >> Groups "wview" group. >> To post to this group, send email to wview@googlegroups.com. >> To unsubscribe from this group, send email to >> wview+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/wview?hl=en.
On Sun Feb 5 14:19:00 2012, Luká? Ku?el <lukas.ku...@gmail.com> wrote:
> Second thing that I realized if it's possible to get graphics wind > dial in m/s too...?
That's done in htmlGenerate.c. Shouldn't be too difficult to change if you do not intent to implement a general solution (i.e. something that is configurable).
Thanks for the clarification. Though it seems to work, I don't feel very comfortable with my "wait till second 10" approach. I really would like to use some kind of a voluntary, blocking lock. Any suggestions how to implement this inside a shell script?
-jo
On Sun Feb 5 16:28:51 2012, "Mark S. Teel" <mteel2...@gmail.com> wrote:
> For all stations: > LOOP data cycle frequency is determined by the POLL_INTERVAL > configuration parameter and lined up on 0. I.e., a POLL_INTERVAL of > 30 seconds (the default) would occur at second 0 and 30 of each > minute. A database store is done when the LOOP data is received > which varies widely based on station/protocol and could be 100's of > milliseconds to 5 seconds after the LOOP start. > Thus for the example above and a station which responds 2 seconds > after the LOOP initiation, there would be database writes at 2 > seconds and 32 seconds of each minute.
> ARCHIVE records are written around the 5th second of the archive > interval minute. I.e., using an archive interval of 5 minutes (the > default) there would be an archive record stored at 00:05:05, > 00:10:05, ...
> NOAA records are updated shortly after each archive record generated.