<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 &lt;<a
                        moz-do-not-send="true"
                        href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>&gt;
                      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
                      &lt;<a moz-do-not-send="true"
                        href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>&gt;
                      wrote:<br>
                      &gt; 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>
                      &gt;<br>
                      &gt; On Sep 3, 2016, at 7:19 PM, Taixia &lt;<a
                        moz-do-not-send="true"
                        href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>&gt;
                      wrote:<br>
                      &gt;<br>
                      &gt; Hi Jennifer,<br>
                      &gt; Thanks a lot for your reply. <br>
                      &gt; 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>
                      &gt; ---Tim<br>
                      &gt; On Fri, Sep 2, 2016 at 7:20 PM, Jennifer M
                      Adams &lt;<a moz-do-not-send="true"
                        href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>&gt;
                      wrote:<br>
                      &gt;&gt;<br>
                      &gt;&gt; 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>
                      &gt;&gt; Number of levels = 11<br>
                      &gt;&gt; 9 50000<br>
                      &gt;&gt; 14 55000<br>
                      &gt;&gt; 4 60000<br>
                      &gt;&gt; 11 65000<br>
                      &gt;&gt; 13 70000<br>
                      &gt;&gt; 3 75000<br>
                      &gt;&gt; 10 80000<br>
                      &gt;&gt; 12 85000<br>
                      &gt;&gt; 8 90000<br>
                      &gt;&gt; 2 95000<br>
                      &gt;&gt; 6 100000<br>
                      &gt;&gt; If you want to write this to a file, here
                      is a script fragment:<br>
                      &gt;&gt; ‘q contours’<br>
                      &gt;&gt; rc=write(“contourinfo.txt”,result)<br>
                      &gt;&gt; rc=close(“contourinfo.txt”)<br>
                      &gt;&gt; —Jennifer<br>
                      &gt;&gt; On Sep 1, 2016, at 9:57 PM, Taixia &lt;<a
                        moz-do-not-send="true"
                        href="mailto:wutxcn@GMAIL.COM">wutxcn@GMAIL.COM</a>&gt;
                      wrote:<br>
                      &gt;&gt;<br>
                      &gt;&gt; Anybody knows how to output the contour
                      value (such as set clevs 0) to .txt or .dat file
                      (not graphic)? Thanks.<br>
                      &gt;&gt;
                      _______________________________________________<br>
                      &gt;&gt; gradsusr mailing list<br>
                      &gt;&gt; <a moz-do-not-send="true"
                        href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
                      &gt;&gt; <a moz-do-not-send="true"
                        href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
                      &gt;&gt;<br>
                      &gt;&gt; --<br>
                      &gt;&gt; Jennifer Miletta Adams<br>
                      &gt;&gt; Center for Ocean-Land-Atmosphere Studies
                      (COLA)<br>
                      &gt;&gt; George Mason University<br>
                      &gt;&gt;<br>
                      &gt;&gt;<br>
                      &gt;&gt;<br>
                      &gt;&gt;<br>
                      &gt;&gt;
                      _______________________________________________<br>
                      &gt;&gt; gradsusr mailing list<br>
                      &gt;&gt; <a moz-do-not-send="true"
                        href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
                      &gt;&gt; <a moz-do-not-send="true"
                        href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
                      &gt;&gt;<br>
                      &gt;<br>
                      &gt; &lt;<a moz-do-not-send="true"
                        href="http://air1115.nc/">air1115.nc</a>&gt;&lt;snap.bmp&gt;_______________________________________________<br>
                      &gt; gradsusr mailing list<br>
                      &gt; <a moz-do-not-send="true"
                        href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
                      &gt; <a moz-do-not-send="true"
                        href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
                      &gt;<br>
                      &gt; --<br>
                      &gt; Jennifer Miletta Adams<br>
                      &gt; Center for Ocean-Land-Atmosphere Studies
                      (COLA)<br>
                      &gt; George Mason University<br>
                      &gt;<br>
                      &gt;<br>
                      &gt;
                      _______________________________________________<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>