<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi Jennifer -- I have a similar problem... I can generate and
display the shp file and the 'q shp' works as advertised, but what I
really need are the actually lat(Y)/lon(X) of the vertices not just
the bounds, e.g.,<br>
<br>
37: ArcM parts=1 vertices=553 XBounds=0:360
YBounds=41.4058:74.4189 ZBounds=0:0 MBounds=5700:5700 <br>
<br>
tells me there are 553 vertices and that the lon bound is 0-360 and
lat bound is 41.4-74.4. do I have to use some GIS s/w to get the
lat/lons? or is there a way to mod grads to output?<br>
<br>
thanks! best /R Mike<br>
<br>
<div class="moz-cite-prefix">On 9/7/16 10:37 AM, Jennifer M Adams
wrote:<br>
</div>
<blockquote cite="mid:F7F2AE72-A52A-484A-97F2-656D6D7ED3A8@gmu.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
GrADS can write out the shapefile for you. Use ‘set gxout shp’ and
‘set shp’ to control the output. Documentation is at
<a moz-do-not-send="true"
href="http://cola.gmu.edu/grads/gadoc/shapefiles.html">http://cola.gmu.edu/grads/gadoc/shapefiles.html</a>.
<div>
<div><br>
</div>
<div>‘set gxout shp'</div>
<div>‘set shp -line shptest'</div>
<div>’set clevs 0’</div>
<div>‘d temp'
<div><br>
</div>
<div>—Jennifer</div>
<div>
<div>
<div><br>
<div><br>
<div>
<div>On Sep 6, 2016, at 8:47 PM, Taixia <<a
moz-do-not-send="true"
href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Thanks for your reply.
Exactly. I'd like get a *.shp file of the 0
contour's. It should be get the lat/lon of the
contour's position first, and then using Arcgis
software to generate the .shp file.
<br>
<br>
On Wednesday, September 7, 2016, Jennifer M Adams
<<a moz-do-not-send="true"
href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>>
wrote:<br>
> I guess I did not fully understand the
question. You have drawn the 0-degree temperature
contour; what exactly do you want to output to a
text file? The lat/lon of the contour’s position?
—Jennifer<br>
><br>
> On Sep 3, 2016, at 7:19 PM, Taixia <<a
moz-do-not-send="true"
href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>>
wrote:<br>
><br>
> Hi Jennifer,<br>
> Thanks a lot for your reply. <br>
> Problem still exists,forgive a
Grads beginner. The data I used is the NECP 5
years average air temperature, I'd like get the
zero degree temperature line. After "set clevs 0",
I got the contours graphic (see attachment). But I
still cannot get the output file as your steps.
Could you please have a look at the attachments
and help? <br>
> ---Tim<br>
> On Fri, Sep 2, 2016 at 7:20 PM, Jennifer M
Adams <<a moz-do-not-send="true"
href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>>
wrote:<br>
>><br>
>> After drawing a plot, you can check the
contour levels used with ‘q shades’ or ‘q
contours’. For line contours, the output looks
like this (first column is color number, second
column is contour value):<br>
>> Number of levels = 11<br>
>> 9 50000<br>
>> 14 55000<br>
>> 4 60000<br>
>> 11 65000<br>
>> 13 70000<br>
>> 3 75000<br>
>> 10 80000<br>
>> 12 85000<br>
>> 8 90000<br>
>> 2 95000<br>
>> 6 100000<br>
>> If you want to write this to a file, here
is a script fragment:<br>
>> ‘q contours’<br>
>> rc=write(“contourinfo.txt”,result)<br>
>> rc=close(“contourinfo.txt”)<br>
>> —Jennifer<br>
>> On Sep 1, 2016, at 9:57 PM, Taixia <<a
moz-do-not-send="true"
href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>>
wrote:<br>
>><br>
>> Anybody knows how to output the contour
value (such as set clevs 0) to .txt or .dat file
(not graphic)? Thanks.<br>
>>
_______________________________________________<br>
>> gradsusr mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
>> --<br>
>> Jennifer Miletta Adams<br>
>> Center for Ocean-Land-Atmosphere Studies
(COLA)<br>
>> George Mason University<br>
>><br>
>><br>
>><br>
>><br>
>>
_______________________________________________<br>
>> gradsusr mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>> <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
><br>
> <<a moz-do-not-send="true"
href="http://air1115.nc/">air1115.nc</a>><snap.bmp>_______________________________________________<br>
> gradsusr mailing list<br>
> <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
> --<br>
> Jennifer Miletta Adams<br>
> Center for Ocean-Land-Atmosphere Studies
(COLA)<br>
> George Mason University<br>
><br>
><br>
>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows:
2;">--</div>
<div style="font-size: 12px; orphans: 2; widows:
2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies
(COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>