Page 1 of 2

NWS ASUS Bulletin

Posted: Wed Nov 26, 2003 2:25 pm
by vawxman99
Can anyone tell me what the trick is to plotting the ASUS frontal bulletin with DA.

Thanks

Re: NWS ASUS Bulletin

Posted: Wed Nov 26, 2003 6:20 pm
by Tim Vasquez
vawxman99 wrote:Can anyone tell me what the trick is to plotting the ASUS frontal bulletin with DA.
The problem is that NCEP several months ago changed the header from ASUS1 KWBC to ASUS01 KWBC, which disabled the ability to plot fronts. This can be solved if you can somehow edit the bulletin to make the change above, then reimport. You can also try placing the corrected copy in QUEUE.FRT or QUEUE.FRO and see if it will plot (this could work but I don't remember since this source code is old to me now).

Our current test version, and of course the follow-on official release, will have this solved, and will allow for headers without the ASUS block.

Tim Vasquez

Posted: Wed Nov 26, 2003 9:16 pm
by jrospopo
I haven't used the scripting in DA. But was wondering if a script could be used to accomplish this? The script would need to download it, rename it then save it. Can this be done?


Jim

Posted: Sat Nov 29, 2003 5:48 am
by Tim Vasquez
jrospopo wrote:I haven't used the scripting in DA. But was wondering if a script could be used to accomplish this?
Unfortunately no; the scripting is not robust enough for this. It will take another version update to fix this.

Tim

Posted: Sat Nov 29, 2003 3:15 pm
by jrospopo
Thanks Tim,

After I posted my previous message, I dug the manual out and finally read the scripting section and came to the same conclusion.

Jim

Posted: Wed Dec 03, 2003 3:30 pm
by Grant Firl
One way to fix the front issue is to write a little program that will just change ASUS01 in the bulletin to ASUS1. You can then schedule this program to run whenever you need it with Windows Scheduler.

You can write a script to download the frontal bulletin, sleep for enough time for your little program to run (via the scheduler) , and then import the fixed file into DA to plot the fronts. I've done it and it works marvelously.

You can download the little program I wrote if you wish. It is written in Java and here is the link:
http://www.student.smsu.edu/g/gjf757s/FixFrontFile.exe
This particular program reads the file called front.txt in the directory where the application is located, and outputs a file called newFront.txt. You should write the script so that you call the bulletin front.txt and import newFront.txt into DA to use.

If you have any questions, I would be happy to reply.

Grant

Posted: Wed Dec 03, 2003 3:34 pm
by vawxman99
Thanks, I'll give it a try.

Posted: Thu Dec 04, 2003 8:13 am
by Tim Vasquez
Grant Firl wrote:You can download the little program I wrote if you wish. It is written in Java and here is the link:
http://www.student.smsu.edu/g/gjf757s/FixFrontFile.exe
Excellent idea. Thanks for posting the link. I hope it helps some users.

Tim

Posted: Sun Dec 21, 2003 9:21 pm
by Grant Firl
One more thing about the little program I wrote . . .

If you decide you want to use it, you must have a Java Virtual Machine installed on your computer for it to work.

Grant

Posted: Wed Feb 04, 2004 6:07 am
by Ben Cotton
With Purdue's LDM feed and a bit of Unix magic, I can easily make the ASUS01 into ASUS1 and available for download. I'm a little sleepy right now, so I won't script it until tomorrow, but the URL will be:

http://www.eas.purdue.edu/~bcotton/wx/d ... ont.latest

I'll keep the previous 24 hours worth of files around, in the same directory, listed as front-1, front-2, front-3, ..., front-8. This way, no special software is required.


Ben