Page 1 of 1

Can I plot GRIB in a script?

Posted: Wed Oct 27, 2004 7:11 pm
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

Ceate plots or contour maps in DAWS from GRIB data

Posted: Sun Oct 31, 2004 5:18 pm
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

Posted: Mon Nov 01, 2004 11:32 pm
by simonjk
Thanks Kevin,

I'll give that a go and report back.

Cheers,
Simon

Posted: Thu Nov 10, 2005 12:52 am
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

Posted: Thu Nov 17, 2005 6:10 am
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 :(

Posted: Thu Nov 17, 2005 3:45 pm
by SoFlaChris
Thanks for the reply. I'll just have to get the workflow down.

Chris