Animation problems in Alpha 1

Discuss any other weather software not covered above, including data feeds, weather web pages, and more!
Post Reply
ncwxman
Senior Member
Posts: 128
Joined: Sat Aug 07, 2004 12:57 am
Location: North Carolina

Animation problems in Alpha 1

Post by ncwxman »

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: Select all

 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: Select all

 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: Select all

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
jkrob
Senior Member
Posts: 300
Joined: Fri Jun 25, 2004 11:42 pm
Contact:

Post by jkrob »

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
ncwxman
Senior Member
Posts: 128
Joined: Sat Aug 07, 2004 12:57 am
Location: North Carolina

Post by ncwxman »

Jeff,

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

Here is the macro:

Code: Select all

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
jkrob
Senior Member
Posts: 300
Joined: Fri Jun 25, 2004 11:42 pm
Contact:

Post by jkrob »

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
kinetic
Member
Posts: 60
Joined: Sat Feb 07, 2004 3:04 pm

Post by kinetic »

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.
jkrob
Senior Member
Posts: 300
Joined: Fri Jun 25, 2004 11:42 pm
Contact:

Post by jkrob »

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
jkrob
Senior Member
Posts: 300
Joined: Fri Jun 25, 2004 11:42 pm
Contact:

Post by jkrob »

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
Post Reply