wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Simulation or debug mode

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
mhweather



Joined: 07 Aug 2005
Posts: 54

PostPosted: Tue Aug 16, 2005 7:34 am    Post subject: Simulation or debug mode Reply with quote

Would it be possible to create a simulation mode where the VP console doesn't need to be hooked up ? This would allow web page development/testing to take place away from the actual server that the VP is hooked up to. Just supply bogus tag data to see that the generated pages, etc are looking OK. uploading OK.
Back to top
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Tue Aug 16, 2005 9:57 pm    Post subject: Reply with quote

This is a nice idea, consider it added to the todo list.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Thu Jan 19, 2006 11:44 pm    Post subject: Reply with quote

Well, months later I finally get this done...

After the 3.0.0 changes to abstract the station interface, it became exceedingly easy to now meet this request. A Simulator station has been added to the list of supported stations and will be included in the next release (3.1.0). I just rotate the values that are simulated for each sensor on a 30 minute cycle...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mhweather



Joined: 07 Aug 2005
Posts: 54

PostPosted: Fri Jan 20, 2006 7:41 am    Post subject: Reply with quote

Nice! I want to test out the MySQL setup, but have been wary to mess up my rock-solid Linux installation. Will the simulation mode go thru the process of creating the NOAA reports, populate the WLK/MySQL database as well ?

Wview getting better and better! Very Happy
Back to top
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Fri Jan 20, 2006 7:49 am    Post subject: Reply with quote

It definitely populates the WLK files (wview ALWAYS does that).

Yes, you should be able to simulate and run/test any of the optional capabilities: SQL archive, Alarms, ftp, ssh... Just wouldn't want to enable CWOP or Wunderground since it is "manufactured" data!

You'll just want to make doubly sure you don't get *real* WLK files mixed up with *simulated* ones, etc., if they wind up on the same filesystem.

This is going to be a nice feature for me to debug new capabilities (as long as it is not a station interface) and for other folks that might want to contribute enhancements to wview to have a platform to test on without messing with their production system. And of course being able to demo it without a station at all!

Thanks for the suggestion and the patience to wait until the proper time to add it arrived.

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Wish List All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group