<font color='black' size='2' face='arial'>Tha<font color="black" face="arial" size="2">nks for the help. Is there anything i can use besides lterp, because i am using a server which has grads 1.9b4 and i cannot upgrade. Thanks a lot, i am really hopeless&nbsp;

<div> <br>

</div>



<div> <br>

</div>



<div style="clear:both">Mary Ndlovu<br>

maryndlovu@aol.com<br>

</div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>

From: Jennifer Adams &lt;jma@cola.iges.org&gt;<br>

To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>

Sent: Thu, Apr 4, 2013 9:31 pm<br>

Subject: Re: [gradsusr] Scatter plot<br>

<br>









<div id="AOLMsgPart_2_2edb918a-962a-4eeb-8514-13813845172f">



<div>You can interpolate the data from the second file to the grid of the first file using the lterp function:</div>



<div><br>

</div>



<div>set gxout scatter</div>



<div>d var.1; lterp(var.2,var.1)</div>



<div><br>

</div>

--Jennifer

<div><br>



<div><br>

</div>



<div><br>



<div>

<div>On Apr 4, 2013, at 2:26 PM, James T. Potemra wrote:</div>

<br class="Apple-interchange-newline"><blockquote type="cite">
  
    
  
  

<div bgcolor="#FFFFFF" text="#000000">
    Mary:<br>


    <br>


    If you open one file, and do a "q dims", you should see all the
    dimensions.&nbsp; Do you get the<br>


    exact same thing for both files (range and resolution, including for
    time)?&nbsp;&nbsp; If not, you may <br>


    have to interpolate one to the other.<br>


    

<div class="moz-cite-prefix"><br>


      Jim<br>


      <br>


      On 4/4/13 12:34 AM, Mary Ndlovu wrote:<br>


    </div>


    <blockquote type="cite"><font color="black" face="arial" size="2">Hi<font color="black" face="arial" size="2">. <br>


          <br>


          These are both .nc files. I think it has got to do something
          with the grids (thanks for the heads up)... I figured out that
          the original grids were&nbsp;
          

<div> file 1: Xsize = 360&nbsp; Ysize = 180&nbsp; Zsize = 1&nbsp; Tsize =
            1715<br>


            file 2: Xsize = 720&nbsp; Ysize = 360&nbsp; Zsize = 1&nbsp; Tsize = 1320<br>


            <br>


            Now i have since converted these to a T42 Gaussian grid,
            which means i get for both <br>


            Xsize = 128&nbsp; Ysize = 64&nbsp; Zsize = 1 <br>


            <br>


            But now i get an error telling me that <br>


            <i>Error plotting scatter plot:&nbsp; Invalid grids<br>


              &nbsp;&nbsp; The two grids have difference scaling</i>. I am out of
            ideas now.<br>


          </div>


          

<div> <br>


          </div>


          

<div style="clear:both">Mary Ndlovu<br>


            <a class="moz-txt-link-abbreviated" href="mailto:maryndlovu@aol.com">maryndlovu@aol.com</a><br>


          </div>


          

<div> <br>


          </div>


          

<div> <br>


          </div>


          

<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original
            Message-----<br>


            From: James T. Potemra <a class="moz-txt-link-rfc2396E" href="mailto:jimp@hawaii.edu">&lt;jimp@hawaii.edu&gt;</a><br>


            To: GrADS Users Forum <a class="moz-txt-link-rfc2396E" href="mailto:gradsusr@gradsusr.org">&lt;gradsusr@gradsusr.org&gt;</a><br>


            Sent: Wed, Apr 3, 2013 10:44 pm<br>


            Subject: Re: [gradsusr] Scatter plot<br>


            <br>


            

<div id="AOLMsgPart_2_efb01b6e-c35d-40bc-9841-4fca2a8ae34f">
              Mary:<br>


              <br>


              This is likely because the two variables are on different
              grids.&nbsp; The file with SST is loaded first, and the RF file
              probably has a different definition for x/y/z/t.&nbsp; If you
              can't sort it out try send the associated ctl files.<br>


              <br>


              Jim<br>


              <br>


              

<div class="moz-cite-prefix">On 4/2/13 11:22 PM, Mary
                Ndlovu wrote:<br>


              </div>


              <blockquote type="cite"><font color="black" face="arial" size="2"> <font color="black" face="arial" size="2">
                    

<div> <br>


                    </div>


                  </font><font color="black" face="arial" size="2">
                    

<div> <font face="Arial, Helvetica, sans-serif">Hi,
                        <br>


                        <br>


                        Please help me. I am trying to plot a scatter
                        plot from 2 different files. The 2 variables are
                        sst; rf... so file 1 has sst, file 2 has rf. So
                        when i do<br>


                        'd sst ; rf.2'<br>


                        i get an error message <br>


                      </font> </div>


                    

<div> Data Request Error: Invalid grid coordinates<br>


                      &nbsp; World coordinates convert to non-integer grid
                      coordinates<br>


                      &nbsp;&nbsp;&nbsp; Variable = rf.2&nbsp; Dimension = 0 <br>


                      &nbsp; Error ocurred at column 1<br>


                      DISPLAY error:&nbsp; Invalid expression <br>


                      &nbsp; Expression = rf.2<br>


                      <br>


                      I have tried to convert the file to be grads
                      friendly... when i deal with this file on its own,
                      everything works fine... but in the scatter plot
                      it doesn't seem to work<br>


                      <br>


                      I have converted the grid <br>


                    </div>


                  </font></font> <br>


                <fieldset class="mimeAttachmentHeader"></fieldset>
                <br>


                <pre>_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
              </blockquote>
              <br>


            </div>


            
            

<div id="AOLMsgPart_3_efb01b6e-c35d-40bc-9841-4fca2a8ae34f" style="margin: 0px;font-family: Tahoma, Verdana, Arial,               Sans-Serif;font-size: 12px;color: #000;background-color:               #fff;">
              <pre style="font-size: 9pt;"><tt>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</tt></pre>
            </div>


            
          </div>


        </font></font>
      <br>


      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>


      <pre>_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>


  </div>



_______________________________________________<br>

gradsusr mailing list<br>

<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>

<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>

</blockquote></div>

<br>



<div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">

<div>--</div>



<div>Jennifer M. Adams</div>



<div>IGES/COLA</div>



<div>4041 Powder Mill Road, Suite 302</div>



<div>Calverton, MD 20705</div>



<div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div>



<div><br class="khtml-block-placeholder"></div>

<br class="Apple-interchange-newline"></span></span></span>
</div>


<br>

</div>

</div>


</div>

 <!-- end of AOLMsgPart_2_2edb918a-962a-4eeb-8514-13813845172f -->



<div id="AOLMsgPart_3_2edb918a-962a-4eeb-8514-13813845172f" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_3_2edb918a-962a-4eeb-8514-13813845172f -->



</div>

</font></font>