The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Sat Oct 21, 2017 6:56 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Animation Feature
PostPosted: Thu Aug 05, 2004 9:39 pm 
Offline
Member

Joined: Mon Jul 05, 2004 5:02 pm
Posts: 13
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 07, 2004 7:28 am 
Offline
Member

Joined: Thu Aug 05, 2004 5:13 am
Posts: 23
Location: Miami, FL
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:
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




Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 1:39 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
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


Top
 Profile  
 
 Post subject: clear cue of animation
PostPosted: Wed Aug 18, 2004 3:17 pm 
Offline
Member

Joined: Sun Jun 20, 2004 3:33 am
Posts: 21
Location: Aruba DWI
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


Top
 Profile  
 
 Post subject: Another animation issue
PostPosted: Tue Oct 19, 2004 2:15 pm 
Offline
Member

Joined: Thu Aug 05, 2004 5:13 am
Posts: 23
Location: Miami, FL
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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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