The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

A MACRO (Work in Progress)
http://www.weathergraphics.com/forum/viewtopic.php?f=7&t=1443
Page 1 of 1

Author:  andyg [ Wed Oct 29, 2008 7:57 pm ]
Post subject:  A MACRO (Work in Progress)

Here is a macro that I use for UKMET data. I had to break it into 2 threads. It has contouring of RELH for 700 millibars and Absolute vorticity for 500 millibars. It works fine. Accumulated precip works sometimes at others it doesn't.

Regards,
andyg

=====

loop
plan
stof
LNDF
LTM3 LMN3
LTX4 Initial MSL Pressure, 1000mb Theta-e and Wind Kts
f00
THTE DASH 1000 CLR1&PMSL ci04 CLR3&BKNT 1000 CLR4
endl
loop
LNDF
LTM3 LMN3
LTX4 Initial MSL Pressure, 1000mb Temp(C) and Winds (Kts)
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CIN3 CLR2 GT03/TEMP 1000 DASH CIN3 CLR5 LT03/
endl
loop
LNDF
LTM3 LMN3
LTX4 Initial H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
endl
loop
LNDF
LTM3 LMN3
LTX4 Initial H700 Heights,Winds & Rel Humidity (Contours %)
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
endl
loop
LNDF
LTM3 LMN3
LTX4 Initial H500 Heights(dashed)& Abs. Vort with MSL Pressure (Brown)
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ F00
PMSL CI04 CLR8/
endl
LOOP
LNDF
LTM3 LMN3
LTX4 6HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
f06
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
endl
loop
LNDF
LTM3 LMN3
LTX4 6HR Fcst MSL Pressure & 1000 mb Temps & Winds
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CIN3 CLR2 GT03/TEMP 1000 DASH CIN3 CLR5 LT03/
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 6HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 6HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 6HR Fcst H500 MB Heights (dashed)& Abs. Vort with MSL Pressure (Brown)
endl
loop
LNDF
LTM3 LMN3
f12
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 12HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 12HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 12HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 12HR Fcst H500 MB Heights (dashed)& Abs. Vort with MSL Pressure (Brown)
endl
LOOP
LNDF
LTM3 LMN3
f18
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 18HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CIN3 CLR2 GT03/TEMP 1000 DASH CIN3 CLR5 LT03/
TXT4 18HR Fcst MSL Pressure & 1000 mb Temps & Winds
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 18HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 18HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 18HR Fcst H500 MB Heights (dashed)& Abs. Vort with MSL Pressure (Brown)
endl
loop
LNDF
LTM3 LMN3
f24
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 24HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 24HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 24HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 24HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl
loop
LNDF
LTM3 LMN3
f30
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 30HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CIN3 CLR2 GT03/TEMP 1000 DASH CIN3 CLR5 LT03/
TXT4 30HR Fcst MSL Pressure with 1000mb Temps & Winds
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 30HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 30HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 30HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl
loop
LNDF
LTM3 LMN3
f36
THTE CIN4 DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 36HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 36HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 36HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 36HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl

Author:  andyg [ Wed Oct 29, 2008 7:58 pm ]
Post subject:  UKMET macro part II

loop
LNDF
LTM3 LMN3
f42
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 42HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CIN3 CLR2 GT03/TEMP 1000 DASH CIN3 CLR5 LT03/
TXT4 42HR MSL Pressure, 1000mb Temps and Wind Kts
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 42HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 42HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 42HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl
loop
LNDF
LTM3 LMN3
f48
THTE CIN4 DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 48HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 48HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 48HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 48HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
ENDL
LOOP
LNDF
LTM3 LMN3
F60
THTE CIN4 DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 60HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 60HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 60HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 60HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl
loop
LNDF
LTM3 LMN3
f72
THTE DASH 1000 CLR1&PMSL CI04 CLR3&BKNT 1000 CLR4
TXT4 72HR Fcst MSL Pressure, 1000mb Theta-e and Wind Kts
endl
loop
LNDF
LTM3 LMN3
PMSL CI04 CLR3/BKNT 1000 CLR4
TEMP 1000 DASH CLR2 GT03/TEMP 1000 DASH CLR5 LT03/
TPCI CI.1 LT.6 CLR6/TPCI CI.3 GT.6 CLRC/
TXT4 12HR QPF (10ths of an inch) and PMSL with H1000 winds and Temps
endl
loop
LNDF
LTM3 LMN3
HGHT 850 CI30 CLR3/BKNT 850 CLR1 GT40/BKNT 850 CLR4 LT40
TEMP 850 DASH CIN3 CLR2 GT03/TEMP 850 DASH CIN3 CLR5 LT03/
TXT4 72HR H850 Fcst Heights,Temp (C) and Winds (Kts;>40kts in Magenta)
endl
loop
LNDF
LTM3 LMN3
HGHT 700 CI60 CLR5/BKNT 700 CLR4 & RELH CTFC CFCA
TXT4 72HR Fcst H700 Heights,Winds & Rel Humidity (Contours %)
ENDL
loop
LNDF
LTM3 LMN3
HGHT 500 DASH CI60 CLR3/WVRT 500 DASH C2-5 CLR1 CTFC CFCZ
PMSL CI04 CLR8/
TXT4 72HR 500 mb Heights & Abs.Vorticity (contoured), and MSLP(Brown)
endl
ston
endl

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/