The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Thu Dec 14, 2017 2:33 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: NWS ASUS Bulletin
PostPosted: Wed Nov 26, 2003 2:25 pm 
Offline
Member

Joined: Mon Nov 24, 2003 5:40 pm
Posts: 19
Location: Chesapeake, VA
Can anyone tell me what the trick is to plotting the ASUS frontal bulletin with DA.

Thanks


Top
 Profile  
 
 Post subject: Re: NWS ASUS Bulletin
PostPosted: Wed Nov 26, 2003 6:20 pm 
Offline
Administrator

Joined: Sat Nov 22, 2003 10:47 pm
Posts: 511
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 26, 2003 9:16 pm 
Offline
Member

Joined: Sun Nov 23, 2003 10:08 pm
Posts: 18
Location: Woodstock, IL
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 29, 2003 5:48 am 
Offline
Administrator

Joined: Sat Nov 22, 2003 10:47 pm
Posts: 511
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 29, 2003 3:15 pm 
Offline
Member

Joined: Sun Nov 23, 2003 10:08 pm
Posts: 18
Location: Woodstock, IL
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 03, 2003 3:30 pm 
Offline
Junior Member

Joined: Sun Nov 30, 2003 4:08 pm
Posts: 8
Location: Springfield, MO
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 03, 2003 3:34 pm 
Offline
Member

Joined: Mon Nov 24, 2003 5:40 pm
Posts: 19
Location: Chesapeake, VA
Thanks, I'll give it a try.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2003 8:13 am 
Offline
Administrator

Joined: Sat Nov 22, 2003 10:47 pm
Posts: 511
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 21, 2003 9:21 pm 
Offline
Junior Member

Joined: Sun Nov 30, 2003 4:08 pm
Posts: 8
Location: Springfield, MO
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2004 6:07 am 
Offline
Member

Joined: Thu Jan 29, 2004 3:03 pm
Posts: 31
Location: West Lafayette, IN
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/da/data/front.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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group