<div dir="ltr"><div>Cathy,<br>My grid is irregular (rotated lat/lon projection), so my coordinate variables are 2-dimensional themselves. Thus I can&#39;t really set lat and lon as dimensions, and thus can&#39;t dimension the array by those coordinate variables. Does this mean I cannot conform this file to the standards necessary for sdfopen to be used?<br><br></div>Jeff<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 12:19 PM, Cathy Smith (NOAA Affiliate) <span dir="ltr">&lt;<a href="mailto:cathy.smith@noaa.gov" target="_blank">cathy.smith@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Jeff<br>
    You variable array needs to be dimensioned by the coordinate
    variables. That is<br>
    <br>
    float sm(lat, lon) ;<br>
    <br>
    Cathy Smith<div><div class="h5"><br>
    <br>
    <div class="m_-459180694408706609moz-cite-prefix">On 2/1/17 10:58 AM, Jeff Duda wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>I&#39;m trying to write a netCDF file that I can then open in
            Grads using sdfopen. I&#39;m missing some stuff, though, but I&#39;m
            not sure what. Here is the ncdump of the file I have
            created:<br>
            <br>
            netcdf sm_raw_dump {<br>
            dimensions:<br>
                    dimx = 1568 ;<br>
                    dimy = 1120 ;<br>
                    dimz = 50 ;<br>
            variables:<br>
                    float sm(dimy, dimx) ;<br>
                    float lat(dimy, dimx) ;<br>
                            lat:units = &quot;degrees_north&quot; ;<br>
                            lat:axis = &quot;y&quot; ;<br>
                    float lon(dimy, dimx) ;<br>
                            lon:units = &quot;degrees_east&quot; ;<br>
                            lon:axis = &quot;y&quot; ;<br>
            }<br>
            <br>
          </div>
          Is there a problem with the names of the dimensions? Should I
          not have &#39;dimz&#39; in there since none of the arrays use that
          dimension? Can I not use sdfopen if I have 2-D coordinate
          variables (lat and lon in this case)? The field I want to
          display using Grads is sm<br>
          <br>
        </div>
        Jeff Duda<br clear="all">
        <div>
          <div>
            <div><br>
              -- <br>
              <div class="m_-459180694408706609gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>Jeff Duda<br>
                        Post-doctoral research fellow<br>
                        University of Oklahoma School of Meteorology<br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-459180694408706609mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
gradsusr mailing list
<a class="m_-459180694408706609moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a class="m_-459180694408706609moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_-459180694408706609moz-signature" cols="72">-- 
------------------------------<wbr>----------------
NOAA/ESRL PSD and CU CIRES
303-497-6263
<a class="m_-459180694408706609moz-txt-link-freetext" href="http://www.esrl.noaa.gov/psd/people/cathy.smith/" target="_blank">http://www.esrl.noaa.gov/psd/<wbr>people/cathy.smith/</a>

Emails about data/webpages may get quicker responses from emailing 
<a class="m_-459180694408706609moz-txt-link-abbreviated" href="mailto:esrl.psd.data@noaa.gov" target="_blank">esrl.psd.data@noaa.gov</a></pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</div>