Can I plot GRIB in a script?

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
simonjk
Member
Posts: 28
Joined: Sat Nov 29, 2003 7:10 am
Location: Wombourne (Nr Wolverhampton) UK
Contact:

Can I plot GRIB in a script?

Post by simonjk »

Hi all,

Pretty straight forward question really. Is it possible to create plots or contour maps in DAWS from GRIB data?

Thanks in advance,
Simon
ncwxman
Senior Member
Posts: 128
Joined: Sat Aug 07, 2004 12:57 am
Location: North Carolina

Ceate plots or contour maps in DAWS from GRIB data

Post by ncwxman »

Hi Simon,

Yes it is possible to create maps with contours from GRIB data in DAWS. I'm not sure about plots because I have not tried to do that yet. Here is a map that I created using GRIB data in DAWS that shows 6 hour total pcp, MSLP and 10 meter wind.
Image
This shows the 6 hour forecast from the 040926 18Z run of the GFS which shows Tropical Storm Jeanne over the NE Gulf Of Mexico.

Here is how I created this map.

After importing the GRIB data I selected the "Surface Total Precipitation" field.

Then I ran the following script to display it.

Code: Select all

ANALYZE,OVER FILL COLOR=000:255:000 FILS=0 CINT=0.10 GRTN=0.50 MMIN PC01 FILL COLOR=000:000:217 FILS=0 CINT=0.05 GRTN=0.25 MMIN PC01 FILL COLOR=001:160:246 FILS=0 CINT=0.10 GRTN=0.10 MMIN PC01 FILL COLOR=000:236:246 FILS=0 CINT=0.01 GRTN=0.01 MMIN PC01 cust
ANALYZE,OVER FILL COLOR=255:215:000 FILS=0 CINT=0.25 GRTN=1.50 MMIN PC01 FILL COLOR=255:255:000 FILS=0 CINT=0.25 GRTN=1.25 MMIN PC01 FILL COLOR=000:141:000 FILS=0 CINT=0.25 GRTN=1.00 MMIN PC01 FILL COLOR=000:200:000 FILS=0 CINT=0.25 GRTN=0.75 MMIN PC01 cust
ANALYZE,OVER FILL COLOR=255:127:000 FILS=0 CINT=0.50 GRTN=3.00 MMIN PC01 FILL COLOR=238:064:000 FILS=0 CINT=0.50 GRTN=2.50 MMIN PC01 FILL COLOR=205:000:000 FILS=0 CINT=0.25 GRTN=2.00 MMIN PC01 FILL COLOR=237:159:000 FILS=0 CINT=0.25 GRTN=1.75 MMIN PC01 cust
Next, I selected the "MSL Pressure" field and ran the following script.

Code: Select all

HILO CONT CINT=2 SOLD COLOR=0:0:0 LINE=2 MSL CUST
The final step was to select "Contour" in the GRIB section of the Workchart tab and then select "10M AGL Wind (deg)" field.

Remember, that you can only work with one GRIB field at a time.

Hope this helps.

Kevin
simonjk
Member
Posts: 28
Joined: Sat Nov 29, 2003 7:10 am
Location: Wombourne (Nr Wolverhampton) UK
Contact:

Post by simonjk »

Thanks Kevin,

I'll give that a go and report back.

Cheers,
Simon
SoFlaChris
Member
Posts: 11
Joined: Wed Nov 02, 2005 7:51 pm
Location: Boynton Beach, FL
Contact:

Post by SoFlaChris »

I like the idea of being able to plot GFS data in DAWS. The script piece doesn't look too hard, as I can copy what Kevin created. Can someone point me to a URL that I can add to the data retrieval tool?

TIA,
Chris
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

Right now i dont think it works with scripting. You have to process the GRIB data and right now there isnt a command to do that in the scripting program :(
SoFlaChris
Member
Posts: 11
Joined: Wed Nov 02, 2005 7:51 pm
Location: Boynton Beach, FL
Contact:

Post by SoFlaChris »

Thanks for the reply. I'll just have to get the workflow down.

Chris
Post Reply