[gradsusr] Drawing Shape Files
Eric Tiong
eric at offshoreweather.com.au
Wed Aug 17 18:09:21 EDT 2016
Hi Andrew,
I tried gshhs shape files before and found out if I reduce the map area
then the shape file could be drawn. Can you try reducing your area?
I use opengrads under Windows.
Good luck.
Eric
On Wed, Aug 17, 2016 at 8:10 PM, Andrew Revering <andy at f5data.com> wrote:
> Thanks for the link Stephen.
> I tried the file but still doesn't draw. On the same map I used Admin98
> and it drew the Yukon Territory no problem. I also tried putting these
> shape files into the same path as admin98 but no luck.
>
> open gfs003.ctl
> Scanning description file: gfs003.ctl
> Data file gfs003.grib is open as file 1
> LON set to 0 360
> LAT set to -90 90
> LEV set to 1 1
> Time values set: 2016:8:17:9 2016:8:17:9
> E set to 1 1
>
> ga-> set lon -179.8 -127.2
> LON set to -179.8 -127.2
> ga-> set lat 50.9 73.9
> LAT set to 50.9 73.9
>
> ga-> set shp cb_2015_us_county_500k.shp
> Shapefile output file name root: cb_2015_us_county_500k.shp
> Shapefile output type: line
> Shapefile format string is %12.6f
> ga-> d tmp2m
> Contouring: 264 to 291 interval 3
>
> ga-> draw shp admin98
> ga-> draw shp cb_2015_us_county_500k.shp
> ga-> printim test.png
> Created PNG file test.png
>
> result: http://f5data.net/test.png
>
>
>
>
>> > ----------------------------------------------------------------------
>>
>> Date: Tue, 16 Aug 2016 16:37:48 -0400
>> From: Stephen McMillan <smcmillan at planalytics.com>
>> Subject: Re: [gradsusr] Drawing Shape Files
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> <CA+exxN2i=SEHQXjQbhYPmRmR_pPwbRzMLZDJrA+Pm-UvKuXnMg at mail.
>> gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Andrew,
>>
>> There are quite a number of sources for shapefiles, including US counties.
>> Here's one that might be useful:
>>
>> https://www.census.gov/geo/maps-data/data/cbf/cbf_counties.html
>>
>> Above link has three different resolutions. Just download and unzip to
>> wherever you keep your shapefiles. I tried the "500k" resolution and it
>> includes Alaska counties, so maybe it will suit your needs. Be sure to
>> read the data description on the web page for appropriateness and any
>> limitations.
>>
>> Good luck--
>> Stephen Mc
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160817/1f44f498/attachment.html
More information about the gradsusr
mailing list