adding regional boundary to grads

Mac MacLeod mmacleod at SCOTIAWEATHER.COM
Tue Jun 20 14:23:34 EDT 2006


Hi Enrico.

We have done this many times.

Attached is the C program that ingests an e00 vector file (ESRI Archive
format) and outputs a binary vector file (we use DAT as an extension to
identify it in directories) that will mark the regional boundaries for GRADS
to ingest with a Unique ID for use with the set mpdset then set mpt
commands.
I am also including an instruction file in text forecast to tell you how to
do it.  If you have the regional boundaries in shape file format, you will
have to convert this format to Arcgis archive format (E00 format) then the C
program will read this format and produce the required DAT file.  Place the
DAT file in the dat sub-directory (same location as the hires file) and then
follow the instructions as to how to use it in GrADS using "mpdset" and
"mpt" commands to control the drawing of the regional boundaries.

Best of luck

Mac MacLeod

M.A.(Mac) MacLeod
President and General Manager,
Scotia Weather Services Inc.
192 Wyse Road, Suite 8,
Dartmouth, Nova Scotia, B3A 1M9
Tele: 902-468-3866
Cell: 902-225-5747
Fax: 902-461-1768
E-mail: mmacleod at scotiaweather.com
visit us at: www.scotiaweather.com


----- Original Message -----
From: "enrico pisoni" <enrico.pisoni at ING.UNIBS.IT>
To: <GRADSUSR at LIST.CINECA.IT>
Sent: Tuesday, June 20, 2006 9:53 AM
Subject: adding regional boundary to grads


> Dear Grads users,
> we have regional boundaries that we want to add to Grads Maps.
>
> How can we prepare these boundaries data to be able to create Grads Maps
> not only with national, but also with regional boundaries?
>
> We have regional boundaries in ArcGis and Surfer formats.
>
> Thanks a lot
> Enrico
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: how-to-e00-grads-baundary.rtf
Type: application/msword
Size: 4377 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060620/a41bfc39/attachment.dot 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makemaporig.c
Type: application/octet-stream
Size: 5320 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060620/a41bfc39/attachment.obj 


More information about the gradsusr mailing list