Animation Feature

Discuss any other weather software not covered above, including data feeds, weather web pages, and more!
Post Reply
Greg Fishel
Member
Posts: 13
Joined: Mon Jul 05, 2004 5:02 pm

Animation Feature

Post by Greg Fishel »

I have not been able to get the animation command "& anim" to work within a macro. Am I doing something wrong, or is this something that is easily fixed? Thanks!

Greg Fishel

Craig Setzer
Member
Posts: 23
Joined: Thu Aug 05, 2004 5:13 am
Location: Miami, FL

Post by Craig Setzer »

Greg,

After playing around with it, the "anim" in macros is a little tricky. It seems like it really needs very explict PCGRIDDS commands to work. Here is a macro I got to work with ETA every 6 hours, maybe you can hack it and make macros that work for you.

Craig

Code: Select all

anim
SLVL 10M
AREA 26 80 15
LOOP
SFHR 06
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 12
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 18
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 24
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 30
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 36
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 42
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 48
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 60
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 66
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 72
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 78
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
LOOP
SFHR 84
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind 
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND& 
CLR1 GRTN  40 LAST&
CLR2 GRTN  35 LSTN  40 LAST&
CLR3 GRTN  30 LSTN  35 LAST&
CLR4 GRTN  25 LSTN  30 LAST&
CLR5 GRTN  20 LSTN  25 LAST&
CLR7 GRTN  15 LSTN  20 LAST&
CLR9 GRTN  10 LSTN  15 LAST&
PMSL CLR3 CI01&
ENDL
enda



jkrob
Senior Member
Posts: 300
Joined: Fri Jun 25, 2004 11:42 pm
Contact:

Post by jkrob »

Guys,

Looking over this, I guess this area (animation within macros) could use some improvements. I guess it would be nice to be able to do:

SLVL 10M
AREA 26 80 15
LOOP
ANIM
PLAN
LNDF
LTX1 Sfc Pressure / 10 Meter Wind
LFD1 LTM2 LLN2
map
cLRA BARB VKNT WIND&
CLR1 GRTN 40 LAST&
CLR2 GRTN 35 LSTN 40 LAST&
CLR3 GRTN 30 LSTN 35 LAST&
CLR4 GRTN 25 LSTN 30 LAST&
CLR5 GRTN 20 LSTN 25 LAST&
CLR7 GRTN 15 LSTN 20 LAST&
CLR9 GRTN 10 LSTN 15 LAST&
PMSL CLR3 CI01&
ENDL

if you want to do all forcast hours within a macos' loop instead of needing to explicitly call every forecast hour.

I'll look into this & see if I can squeeze it into the next beta release this month.

Thanks,
Jeff Krob

arubawx
Member
Posts: 21
Joined: Sun Jun 20, 2004 3:33 am
Location: Aruba DWI
Contact:

clear cue of animation

Post by arubawx »

hi guys i've posted almost they same prob in the gfdl disc... but I've tried eta anim ... but used only 72hrs ... now i've figured out that the last frame i was referring to that pcgridds32 remembers when running anim on macros is the the forecast hour that is bigger than the forecast hrs used for the anims ... what i mean is that for example if you have looped an animation of 84 hrs and than afterwards you run an macro anim of 72 hrs than the last frame of the previous anim (the 84 hrs pic) will be displayed ...

I guess you need to clear cue, but i dont know how ...

marck

Craig Setzer
Member
Posts: 23
Joined: Thu Aug 05, 2004 5:13 am
Location: Miami, FL

Another animation issue

Post by Craig Setzer »

Jeff,
One other thing I've found using the anim command is that when a field or time is not found, the command keeps looking with no way to abort the process. For example, if I've got 120 hrs of the GFS at 3 hour intervals and I enter "bknt 100m&anim" instead of "bknt 10m&anim", the program will look and look for the 100m level, report it hasn't found it, and continue looking throughout the grib file with no way to stop it.
Thoughts?
Craig Setzer

Post Reply