Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Windspeed in m/s - and .sdb backup
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bushtor  
View profile  
 More options Jan 27, 3:36 am
From: bushtor <ep...@bushsoft.com>
Date: Fri, 27 Jan 2012 00:36:36 -0800 (PST)
Local: Fri, Jan 27 2012 3:36 am
Subject: Windspeed in m/s - and .sdb backup
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lukáš Kužel  
View profile  
 More options Feb 5, 1:23 am
From: Lukáš Kužel <lukas.ku...@gmail.com>
Date: Sun, 5 Feb 2012 07:23:15 +0100
Local: Sun, Feb 5 2012 1:23 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jörg Sommrey  
View profile  
 More options Feb 5, 4:01 am
From: Jörg Sommrey <jo...@sommrey.de>
Date: Sun, 05 Feb 2012 10:01:18 +0100
Local: Sun, Feb 5 2012 4:01 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
Hi,

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lukáš Kužel  
View profile  
 More options Feb 5, 8:05 am
From: Lukáš Kužel <lukas.ku...@gmail.com>
Date: Sun, 5 Feb 2012 14:05:37 +0100
Local: Sun, Feb 5 2012 8:05 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
2012/2/5 Jörg Sommrey <jo...@sommrey.de>:

> Hi,

> 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-->

That's it! Thx alot.

Firestone


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lukáš Kužel  
View profile  
 More options Feb 5, 8:19 am
From: Lukáš Kužel <lukas.ku...@gmail.com>
Date: Sun, 5 Feb 2012 14:19:00 +0100
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
Dne 5. února 2012 14:05 Lukáš Kužel <lukas.ku...@gmail.com> napsal(a):

> 2012/2/5 Jörg Sommrey <jo...@sommrey.de>:
>> Hi,

>> 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...?

Firestone


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark S. Teel  
View profile  
 More options Feb 5, 10:28 am
From: "Mark S. Teel" <mteel2...@gmail.com>
Date: Sun, 05 Feb 2012 09:28:51 -0600
Local: Sun, Feb 5 2012 10:28 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
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.

Mark

On 2/5/12 3:01 AM, J rg Sommrey wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jörg Sommrey  
View profile  
 More options Feb 5, 11:08 am
From: Jörg Sommrey <jo...@sommrey.de>
Date: Sun, 05 Feb 2012 17:08:57 +0100
Local: Sun, Feb 5 2012 11:08 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
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).

-jo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jörg Sommrey  
View profile  
 More options Feb 5, 11:32 am
From: Jörg Sommrey <jo...@sommrey.de>
Date: Sun, 05 Feb 2012 17:32:13 +0100
Local: Sun, Feb 5 2012 11:32 am
Subject: Re: [wview-group] Windspeed in m/s - and .sdb backup
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bushtor  
View profile  
 More options Feb 15, 8:46 am
From: bushtor <ep...@bushsoft.com>
Date: Wed, 15 Feb 2012 05:46:26 -0800 (PST)
Local: Wed, Feb 15 2012 8:46 am
Subject: Re: Windspeed in m/s - and .sdb backup
I came up with stopping wview temporarily:

/etc/init.d/wview stop
<copy sdb files here>
/etc/init.d/wview start

And I haven't discovered any side effects by using this (for four
weeks now...)

regards Tor


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »