W

X

Sunday, February 28, 2010

Weather Message 3.6 Beta 9

I have posted Weather Message 3.6 Beta 9 to the Weather Message website.  If you are a beta tester give this version a try.  I am thinking that this will be the last beta before the 3.6 public release.

Saturday, February 27, 2010

WxByte/WxIngest/WxEmwin will not decode - Regional and Language Options

A user was having a difficult time trying to get WxEmwin to decode data.  It had worked, but stopped decoding the EMWIN stream.  The program was reporting 100% bad packets with header errors.

I got the user to run WxEmwin with the LOG option and reviewed the results.  The program was failing to decode the date in the EMWIN packet header.  The date looked ok to me.  I got the user to check their Regional and Language Options and discovered they were set to English(Australia).  The user was in the southern hemisphere.  That setting changes the internal date routines to expect the date in DD/MM/YYYY order.  The EMWIN header is in MM/DD/YYYY order.

I got the user to change their Regional and Language Options to English(United States) and WxEmwin started decoding data.  Previously, it worked for sometime at the beginning of the month, but failed after the 12th day. 

This issue affects all version 3.x releases of Weather Message.   It may also affect the version 2 programs - I did not test them for this problem.

I have made changes for the next release that will address this problem.  I reviewed all of the programs that validate dates.  If they are expecting the date in MM/DD/YYYY order, they will now use the culture settings for the United States to make those validations.

Thanks to Colin for his help in identifying this problem.

Integer Overflow Checks

I disabled integer overflow checks in Weather Message 3.6 Beta 8.  I don't recall seeing an integer overflow in the programs.  This change will reduce the cpu consumption for all programs to some degree.

With integer overflow checks enabled, the internal routines would check to see if an integer overflow occurred for each math operation on an integer.  That is simply not necessary in Weather Message.  There are lots of loops that use integers in Weather Message.  Checking for an overflow in those well behaved loops is not necessary.

Tuesday, February 23, 2010

EMWIN - Dual Ingesting (Serial and Internet) - Duplicate Graphic Files

I have several users that dual ingest.  They have the EMWIN serial ingest and internet ingest enabled at the same time.  One of those users noticed that they were getting duplicate graphic products.  After some research I discovered that the duplicate binary file routine was using local time instead of UTC.  That issue is now corrected.

The latest beta contains the fix for this problem.  Users that do not dual ingest may notice a decrease in the number of graphic files.  The EMWIN stream does output some duplicate graphics.

Saturday, February 20, 2010

Introducing Grant Dark - Weather Message Sales

I want to introduce my associate Grant Dark.  Grant is the primary contact for sales and support for WxSiren Controller and emPager Pro.  He will also be helping Weather Message users.


I have worked with Grant for over 7 years.  He has a degree from Auburn University in agronomy.  How he became an acomplished computer technician, trainer and marketing person is another story.  He is married and lives on Lake Martin. 

Please join me in welcoming Grant to Weather Message Software.  If you are interested in WxSiren Controller or emPager Pro, email Grant directly at grant at wxmesg.com (replace the at with @).

WxSiren Controller Installed at Autauga County EMA

WxSiren Controller was installed Thursday February 18 at Autauga County EMA.  WxSiren will now be responsible for activating polygons based on polygons.  We performed tests to insure that the program operated properly.  We will run it through another round of tests in March.

Here is a link to the first Montgomery Advertiser article announcing the new system.  http://www.montgomeryadvertiser.com/apps/pbcs.dll/article?AID=2010100217040

Alarm Tab changes for Wind Speed

As part of the changes for setting wind speed and hail size, I made a couple of changes to make the Alarm tab cleaner and more informative.  The program will now use colors to indicate if a product as certain features.  Light-gray indicates that the feature is not available, a white background indicates it is available, while a light-green background indicates that the feature has been enabled.



Severe Thunderstorm - Wind Speed and Hail Size

The next beta release of Weather Message will support decoding the Wind Speed and Hail Size line in Severe Thunderstorm and Severe Weather Statements.  Forecast offices in the Central Region will start testing the "WIND...HAIL" line in SVR and SVS messages on March 1, 2010.

Only SVR and SVS products issued by Central Region forecast offices will contain the "WIND...HAIL" line.  If your forecast office is in the Central Region, you can use this option.  For other forecast offices, using this option will cause your alarm to not work.

Wind Speed will range from 60 miles-per-hour to 100 miles per hour.  Hail Size will range from .75 inches to 4.00 inches.  The alarm option will check for a match or greater speed.  (We could add variables for short messages if needed.)

This is a great addition.  I hope it will be implemented by all NWS forecast offices in 2011.

Note:  For everyone else, if you need this capability, you can use a regular expression to match wind speed embedded in the text.

WxEmwin - Pauses between packets - Revisited

Well sometimes you have to backup, punt and admit that you were wrong.  The explanation for pauses between some EMWIN Internet packets was a good definition.  It does happen as I explained in the previous post. 

The user that asked the question later sent me an example that I could not explain.  In his case, he was using WxEmwin to ingest an intermittent data stream create on a private network using WxRetran.  He setup WxRetran so that the stream was not sending data constantly like a regular EMWIN stream.  There was no fill file to make the stream constant.

After some research I found a problem in the buffering routines in WxEmwin.  When WxEmwin received a version 2 (compressed) packet, it kept that packet in the buffer until the next packet arrived or enough packets arrived to exceed the buffer processing point.  Once I saw it happen, I knew exactly what was causing the problem.

This issue would not really be noticed by regular EMWIN users.  When I added the option to disable/enable the version 2 (compressed) packet option to the program, the user changed the setting and noticed that the program no longer held packets in the buffer.  He just had to convince me that there was a problem.

So --- there was a good post about pauses between packets -- which lead to a real problem that was resolved in the last beta.

Wednesday, February 10, 2010

Tigertronics - ESP-96

A couple of my users have been communicating with Tigertronics about the upcoming EMWIN transition. They have been asking Tigertronics if they plan to provide a new receiver that is compatible with the EMWIN-N signal.

Based on the last information that I received, Tigertronics is evaluating whether to develop a new receiver. At this time, they do not have a receiver in development. In no case will one be available by April.

Users on the West coast will be able to use their existing receivers until the West coast satellite is decommissioned at the end of 2011. The East coast users that can receive the West coast satellite can continue to use their current receive system until the end of 2011.

If you have receive equipment that is not compatible with the EMWIN-N signal, you may want to consider repositioning your dish to see if you can receive the West coast signal.

Monday, February 08, 2010

April 26, 2010 --- GOES East will transition to EMWIN-N

From the EMWIN Transition page:  http://www.weather.gov/emwin/transition.htm
There are currently two GOES-N series satellites, GOES 13 and 14 in orbit and awaiting full time operations. Once they are placed into service the EMWIN-N broadcast will replace the current legacy broadcast. In order to receive and demodulate the EMWIN-N broadcast all users with legacy EMWIN systems will need to obtain EMWIN-N capable systems.

Although subject to change, the current plans are for:
  • GOES 13 to replace GOES 12 (East) on or around April 26, 2010
  • GOES 14 to replace GOES 11 (West) in December 2011
After GOES 13 becomes operational, GOES 12 will be moved to 60 degrees west to help support the Caribbean and South America. We are attempting to have the EMWIN-I 9.6 kbps signal remain on the GOES 12 satellite in order to ease the transition for users.

The transition could occur earlier due to premature failure of one or both of the current GOES satellites. All users should consider migrating to EMWIN-N capable systems. Please see the vendor page on the EMWIN website. Anyone with an EMWIN-N system can try out the broadcast by using GOES 14 satellite, which is providing a test broadcast.

Why the transition to EMWIN-N:

Changes in the next series of GOES satellites, the GOES-N thru P constellation, have necessitated development of EMWIN-N. Sometime before 2011 the current GOES satellites will be removed from operation and will be replaced by the new series. This will allow for the use of improved technologies, but all current EMWIN users will need to migrate due to frequency, power and modulation changes.

Coming Improvements Include:
  • Data rate is doubled to 19.2 Kbps - More data!
  • Forward error correction - Greater reliability
  • Increased use of compression - More data!
  • Enhanced data stream - Including regional Nexrad images
  • Dedicated transponder
  • No eclipse seasons

Sunday, February 07, 2010

WxEmwin - Internet Ingest - Pauses between some packets

One of my users asked an interesting question today about WxEmwin's Internet ingest engine.  The user asked why there were pauses between some of the packets.  The user noted that data was being received ok, but it looked like there was some delay for some packets.

At 9600 baud, the current EMWIN data rate, one packet should be received about every second.  If the ingest engine is receiving a version 2 packet, the time between the packets could be longer.  A compressed packet increases the time between packets.

There are also other forces at work.  The TCP/IP subsystem in Windows uses the Nagle algorithm to improve the efficiency of the network by reducing the number of packets sent.  See Wikipedia's definition.

Windows may combine shorter packets into one larger packet before it is transmitted.  This act increases the efficiency of the network, but does cause small delays in packets.  The maximum transmission unit (MTU) for ethernet is 1500 bytes.  See Wikipedia.  This number could be less depending on the configuration of the network. 

A version 1 EMWIN packet contains 1106 bytes.  This number is less than a MTU of 1500 bytes.  Because of this windows could add additional bytes from the next EMWIN packet to reach the MTU support by the local network.  If the MTU is smaller it is possible that it could take multiple TCP/IP packets to transmit one version 1 EMWIN packet.

For version 2 EMWIN packets, this phenomena is more pronounced.  Version 2 packets are variable length.  This means that windows could possibly combine one or more packets into one larger packet before it is transmitted.

Regardless of whether packets are combined, WxEmwin's Internet ingest code will process the received packets properly.  You may simply notice some pauses in the status window.

Note:  The next release of WxBBSrvr will disable the Nagle algorithm so that I can evaluate the effect on the received data.

Monday, February 01, 2010

GOES 13 scheduled to replace GOES 12 on April 14, 2010

From NESDIS: GOES 13 is scheduled to replace GOES 12 on April 14, 2010.  See this link for more information:
 http://www.ssd.noaa.gov/PS/SATS/SPBULL/MSG0261654.01.txt

This change will have a big impact on EMWIN users.  GOES 13 will transition the EMWIN data stream from 9600 baud to 19200 baud.  This will affect anyone receiving data from the GOES East satellite. 

When the transition occurs, if you do not have equipment capable of receiving the new EMWIN-N signal, you will be required to reposition your dish to the GOES West satellite.

You can watch for update messages on the Satellite Information website:  http://www.ssd.noaa.gov/PS/SATS/

Saturday, January 30, 2010

EMWIN Port 2211

At the request of Antonio Querubin, IANA (Internet Assigned Number Authority), assigned port 2211 for the EMWIN (Emergency Managers Information Network) data stream in March of 2008.  The ByteBlaster network presently uses port 1000/tcp for distributing EMWIN data and ByteBlaster server lists. 

I am glad to see a recognized port adopted (Thanks Antonio).  I guess I just let this information get by me.  I will be running some experiments to see what problems users would encounter switching from port 1000 to 2211.  I am sure some users have opened their firewall ports for outbound connections to port 1000.

There is presently one ByteBlaster server running on port 2211.  I may change my server for testing.  Having a couple of servers on port 2211 will make the transistion easier to adopt.

Multicast Address

I knew that EMWIN was assigned the multicast address 224.0.1.143.  I never had access to a multicast network, so I did not do anything with this information.  I am considering adding support for transmitting and receiving data by multicast.

Server Discovery

I was working with a customer that wanted to install the Weather Message Clients on their computers.  One of the setup steps was to enter the tcp/ip address and port of the server.  This resulted in a discussion about tcp/ip and how to determine the servers address.  For technical users this is not an issue.  For those that want to operate software, but not understand how it works internally, this can be a road block.

I am working on some changes that will allow the client applications to automatically discover a weather message server that is on the local network.  This will make installing the clients easier for the end user.

These changes are in the idea stage, but should be relatively easy to implement.

Update:  I have completed the changes for this feature.  It works well on the local network.

Saturday, January 23, 2010

SSL Email Changes - Message Date Problem

 After one user downloaded Beta 3, he noticed that his emails were being flagged as spam.  Apparently the SSL Email component had a problem properly formating the email message date field.  It was putting a colon in the time field when there should have not been one.

I received an update from my TCP/IP vendor that corrects the problem.  I will be releasing a new beta this Sunday to address the problem.  If you are having the problem, just drop me an email and I'll send you the installer.

Monday, January 18, 2010

Optimization Weekend

I spent the weekend running a code analyzer on the Weather Message code base.  It recommended several changes that may help improve the speed of the programs.

I also started changing several of the internal lists to dictionary collections.  The dictionary collection can locate items much faster.  This would be something like getting the description of a product.  The old method was to iterate over the items.  The dictionary method is much faster in most cases. 

Before changing anything, I wrote programs to compare different approaches.  This has taken the better of three full days.  However, I am pleased with the results.

I want to do something with the county names list.  I am still running tests to see which approach is best.

Sunday, January 10, 2010

Weather Message 3.6 Beta 3 Posted

I am in the process of posting Weather Message 3.6 Beta 3.  This release contains updated TCP/IP components to support the new SSL/TLS features for email.  These changes have been tested for a couple of weeks without any reported issues.

This release also contains a few additional features.  See the release notes on the beta site.

Note:  Due to the update to the TCP/IP components, you will have to upgrade WxLocal, WxDataSave and WxRetran if you use them on your computer.

Saturday, January 02, 2010

Weather Message Website Download Problem

Some users are reporting an issue with downloading large installers from the Weather Message website.  Some of the downloads are coming down corrupted.  I have been having problems myself. 

After spending all day today on the problem, I think the problem may be Internet or router related.  I have called a couple of people that have Charter Internet and their downloads are working. 

If you run into a problem, let me know.  I can email you the installer.

Weather Message 3.6 will have all "exe" and "dll" files digitally signed

Starting with Weather Message 3.6 Beta 3, all "exe" and "dll" files will be digitally signed.  Microsoft calls this authenticode signing.  Microsoft highly recommends that all "exe" and "dll" files be signed for Windows Vista, Windows Server 2008 and Windows 7.

This will bring the Weather Message programs into compliance with their recommendation.  I started signing the installers with the 3.5 release.  That did prevent alot of those "unknown publisher" messages.  This is an extra expense, but does bring a level of professionalism to the installation experience and program operation.