The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Tue Oct 17, 2017 5:04 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Oct 04, 2006 8:38 pm 
Offline
Senior Member

Joined: Sat Aug 07, 2004 12:57 am
Posts: 128
Location: North Carolina
Jeff,

I have not been able to get animations to run using the ANFA command in WINGRIDDS - Beta 1. They do work in Alpha 2. It will build the animation but WINGRIDDS - Beta 1 will not "play" the animation. The program "hangs". Tried a few macros that use the ANFA command and I get the same result every time.

I ran a macro I created called "TXX1" in both the Alpha 2 and Beta 1 releases that uses the ANFA command and looked at the WINGRIDDS log file from both to compare them and found the following difference(s) at the end of the log files.

From the the beta version:

Code:
 ANIMATION: STORE THE IMAGE
 wtpcgln start
 grftxt start
 grftxt end
 wtpcgln end
 rewlbl start
 rewlbl end
 wtpcgln start
 grftxt start
 grftxt end
 wtpcgln end
 ANIMATION: IFHXXX =      12
 ANIMATION: EXECUTE THE ANIMATION LOOP


From the Alpha version:

Code:
 ANIMATION: STORE THE IMAGE
 wtpcgln start
 grftxt start
 grftxt end
 wtpcgln end
 rewlbl start
 C2HDR =   
 IRECSV =            2
 IRECPR =            0
 MXPLOT =            1
 rewlbl end
 wtpcgln start
 grftxt start
 grftxt end
 wtpcgln end
 ANIMATION: IFHXXX =      12
 ANIMATION: EXECUTE THE ANIMATION LOOP


The difference being:

Code:
C2HDR =   
 IRECSV =            2
 IRECPR =            0
 MXPLOT =            1


If ya need anymore info please let me know. I do have the complete log files from both versions saved on local disk if you need them.

Thank you,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 9:43 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
Kevin,

Thanks for all the info. I tried the Macro example in the WINGRIDDS documentation for the ANFA command & it worked fine. I cannot tell what you did because you did not include a copy of the macro script ;-). I don't remember changing anything between the Alpha & Beta releases in reguards to Animation. Does the script work in PCGRIDDS32?

BTW - the log file outputs you sent me with the differences between the Alpha & Beta versions was really a red herring. That little snippet showing the "C2HDR = " was just some debug info I included to figure out a screen labeling problem & forgot to remove it from the Alpha release. Sorry to distract you with that.

Thanks,
Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 10:32 pm 
Offline
Senior Member

Joined: Sat Aug 07, 2004 12:57 am
Posts: 128
Location: North Carolina
Jeff,

Well, I still have not been able to get an animation to work.

Here is the macro:

Code:
anfa
loop
plan
map
SFHR 00
LNDF
LFO1 LFD1 LMN1
LLL2 LPL2 LTM2 LLN2
BMPH 10m CLRe
PMSL ci02 CLR3 HILO&
SLVL  850
TEMP&SLIN -020 CLRD DASH/
TEMP&SLIN -010 CLRD DASH/
TEMP&SLIN 0000 CLRD/
TEMP&SLIN 0010 CLR2/
TEMP&SLIN 0020 CLR2/
SLVL   2M
TMPF CLRa dots ci05/
DWPF CLRD DASH ci05/
PMSL ci02 CLR3 HILO&
TXT3 10M WIND - MPH, 2M TEMP (salmon) & DEW POINT (purple)
TXT4 Total Precipitation (green), Total Convective Precipitation (magenta)
TXT5 850 mb TEMPERATURE - (red/violet),  MSL PRESSURE (white)
endl
loop
SFHR 03
LNDF
LFO1 LFD1 LMN1
LLL2 LPL2 LTM2 LLN2
BMPH 10m CLRe
PMSL ci02 CLR3 HILO&
SFC
TPCI LT.1 C5-3 CLR6 DASH&
TPCI GT.1 CI.1 CLR6/
CPCI CI.1 CLR5/
SLVL  850
TEMP&SLIN -020 CLRD DASH/
TEMP&SLIN -010 CLRD DASH/
TEMP&SLIN 0000 CLRD/
TEMP&SLIN 0010 CLR2/
TEMP&SLIN 0020 CLR2/
SLVL   2M
TMPF CLRa dots ci05/
DWPF CLRD DASH ci05/
PMSL ci02 CLR3 HILO&
TXT3 10M WIND - MPH, 2M TEMP (salmon) & DEW POINT (purple)
TXT4 Total Precipitation (green), Total Convective Precipitation (teal)
TXT5 850 mb TEMPERATURE - (red/violet),  MSL PRESSURE (white)
endl
loop
SFHR 06
LNDF
LFO1 LFD1 LMN1
LLL2 LPL2 LTM2 LLN2
BMPH 10m CLRe
PMSL ci02 CLR3 HILO&
SFC
TPCI LT.1 C5-3 CLR6 DASH&
TPCI GT.1 CI.1 CLR6/
CPCI CI.1 CLR5/
SLVL  850
TEMP&SLIN -020 CLRD DASH/
TEMP&SLIN -010 CLRD DASH/
TEMP&SLIN 0000 CLRD/
TEMP&SLIN 0010 CLR2/
TEMP&SLIN 0020 CLR2/
SLVL   2M
TMPF CLRa dots ci05/
DWPF CLRD DASH ci05/
PMSL ci02 CLR3 HILO&
TXT3 10M WIND - MPH, 2M TEMP (salmon) & DEW POINT (purple)
TXT4 Total Precipitation (green), Total Convective Precipitation (teal)
TXT5 850 mb TEMPERATURE - (red/violet),  MSL PRESSURE (white)
endl
loop
SFHR 09
LNDF
LFO1 LFD1 LMN1
LLL2 LPL2 LTM2 LLN2
BMPH 10m CLRe
PMSL ci02 CLR3 HILO&
SFC
TPCI LT.1 C5-3 CLR6 DASH&
TPCI GT.1 CI.1 CLR6/
CPCI CI.1 CLR5/
SLVL  850
TEMP&SLIN -020 CLRD DASH/
TEMP&SLIN -010 CLRD DASH/
TEMP&SLIN 0000 CLRD/
TEMP&SLIN 0010 CLR2/
TEMP&SLIN 0020 CLR2/
SLVL   2M
TMPF CLRa dots ci05/
DWPF CLRD DASH ci05/
PMSL ci02 CLR3 HILO&
TXT3 10M WIND - MPH, 2M TEMP (salmon) & DEW POINT (purple)
TXT4 Total Precipitation (green), Total Convective Precipitation (teal)
TXT5 850 mb TEMPERATURE - (red/violet),  MSL PRESSURE (white)
endl
loop
SFHR 12
LNDF
LFO1 LFD1 LMN1
LLL2 LPL2 LTM2 LLN2
BMPH 10m CLRe
PMSL ci02 CLR3 HILO&
SFC
TPCI LT.1 C5-3 CLR6 DASH&
TPCI GT.1 CI.1 CLR6/
CPCI CI.1 CLR5/
SLVL  850
TEMP&SLIN -020 CLRD DASH/
TEMP&SLIN -010 CLRD DASH/
TEMP&SLIN 0000 CLRD/
TEMP&SLIN 0010 CLR2/
TEMP&SLIN 0020 CLR2/
SLVL   2M
TMPF CLRa dots ci05/
DWPF CLRD DASH ci05/
PMSL ci02 CLR3 HILO&
TXT3 10M WIND - MPH, 2M TEMP (salmon) & DEW POINT (purple)
TXT4 Total Precipitation (green), Total Convective Precipitation (teal)
TXT5 850 mb TEMPERATURE - (red/violet),  MSL PRESSURE (white
endl
ENDA


Tried the example in the user's guide with no luck either. :(

Thank you,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 05, 2006 11:49 am 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
Kevin,

Sorry but your script worked fine for me on my Win2k machines. I will try it on a WinXP & Win95 system.

It really irks me as a developer when isolated bugs pop up & breake some users but not others. I appologize but there is not much I can do if I cannot recreate the problem on my systems & why it worked on the Alpha release & not the Beta ... I don't have a clue.

Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 05, 2006 11:50 pm 
Offline
Member

Joined: Sat Feb 07, 2004 3:04 pm
Posts: 60
I tried NCWXMAN macro, after about a 2 minute process time I get a flashing map and blank screen. When trying to use the animation controls the program locks up. Using XP.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 07, 2006 7:05 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
All,

OK...there is a problem animating with XP. It looks like no BMP files are being created in the Animate directory for the animation function to use. That is why nothing animates...why this is occuring with XP & nothing else...who knows. But still, clicking the 'Animation STOP' button restores the program to continue to run. I've got some different options to try & we shall see.

Thanks to everone who found this out & helped.
Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 08, 2006 7:19 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
UPDATE - UPDATE - UPDATE-

OK...The bug has been found & fixed for the next release. It seems that the animation routine was trying to store the BMP files it uses for animation in the PCGRIDDS32/ANIMATE directory instead of WINGRIDDS/ANIMATE (Oooops...) That is why it would work on some systems (those who still had PCGRIDDS32 installed) & not on others (those who only had WINGRIDDS installed) & why the Alpha release worked (it worked off of the PCGRIDDS32 directories).

Mystery solved.

Thanks again for all your help,
Jeff


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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