<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Melissa,</p>
    <p>It would help to see the entire output from ncdump, i.e., the
      variable and dimension names and attributes. <br>
    </p>
    <p>Jim<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2/22/17 12:29 PM, Melissa Wagner
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ-w+btPoU8Z1vuNU8jAtTd_ovgHL=vGcigE4nukGxm-2mepFQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Grad Users,
        <div><br>
        </div>
        <div>I am still having the same issue of the control file not
          reading the data correctly. I still get the "entire <span
            style="font-size:12.8px">grid undefined". I have removed the
            byteswpped as well as tried other options like big_indian.
            This does not work. </span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div>I did an ncdump -h filename and get the following:</div>
        <div><br>
        </div>
        <div>
          <div>// global attributes:</div>
          <div>                :TITLE = "OUTPUT FROM HRLDAS v20140513" ;</div>
          <div>                :missing_value = -1.e+33f ;</div>
          <div>                :START_DATE = "2008-06-01_00:00:00" ;</div>
          <div>                :MAP_PROJ = 1 ;</div>
          <div>                :LAT1 = 17.81886f ;</div>
          <div>                :LON1 = -127.3326f ;</div>
          <div>                :DX = 20000.f ;</div>
          <div>                :DY = 20000.f ;</div>
          <div>                :TRUELAT1 = 39.f ;</div>
          <div>                :TRUELAT2 = 39.f ;</div>
          <div>                :STAND_LON = -98.f ;</div>
          <div>                :MMINLU = "MODIFIED_IGBP_MODIS_NOAH" ;</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><span style="font-size:12.8px">I have changed my control
            file to this:</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div>
          <div><span style="font-size:12.8px">dset
              ^%y4%m2%d2%h2.LDSAOUT_DOMAIN1</span></div>
          <div><span style="font-size:12.8px">options TEMPLATE</span></div>
          <div><span style="font-size:12.8px">dtype netcdf</span></div>
          <div><span style="font-size:12.8px">undef -1.e33</span></div>
          <div><span style="font-size:12.8px">title  OUTPUT FROM HRLDAS
              v20140513</span></div>
          <div><span style="font-size:12.8px">pdef  310 189 lcc
               17.81886 -127.3326  0   0  39.00000  39.00000  -98.00000
               20000.000  20000.000</span></div>
          <div><span style="font-size:12.8px">xdef  980 linear -127.3326
                0.09009010</span></div>
          <div><span style="font-size:12.8px">ydef  440 linear  17.81886
                0.09009010</span></div>
          <div><span style="font-size:12.8px">zdef    1 linear 1 1</span></div>
          <div><span style="font-size:12.8px">tdef 24 linear
              00Z01JUN2008     60MN</span></div>
          <div><span style="font-size:12.8px">VARS 1</span></div>
          <div><span style="font-size:12.8px">TG=&gt;tg  1 t,y,x Ground
              Temperature [K]</span></div>
          <div><span style="font-size:12.8px">ENDVARS</span></div>
          <div style="font-size:12.8px"><br>
          </div>
        </div>
        <div style="font-size:12.8px">But it still does not read the
          data. Could someone please help me troubleshoot this issue.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Best,</div>
        <div style="font-size:12.8px">Melissa</div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 21 February 2017 at 13:24, James T.
          Potemra <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Melissa,</p>
              <p>I don't think it makes sense to have "options
                byteswapped" with a netcdf file.  Second, since you
                don't define xdef, ydef, zdef, tdef, I think these will
                need to be defined as longitude,latitude,depth,time in
                your file (the complete output from ncdump -h might
                help).</p>
              <p>Jim<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div class="m_4726374723005445329moz-cite-prefix">On
                    2/20/17 5:50 PM, Melissa Wagner wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hello Grads Users,
                      <div><br>
                      </div>
                      <div>I am writing because my control file
                        (template) will not display the Noah-MP offline
                        data. Grads v2.0.a8 opens the control file  but
                        reads "Entire Grid Undefined" when I try to
                        display the variable. I would greatly appreciate
                        any help you may have to offer.</div>
                      <div><br>
                      </div>
                      <div>Best,</div>
                      <div>Melissa </div>
                      <div><br>
                      </div>
                      <div>My control file is:</div>
                      <div><br>
                      </div>
                      <div>
                        <div>dset ^%y4%m2%d2%h2.LDSAOUT_DOMAIN1</div>
                        <div>options  byteswapped</div>
                        <div>options TEMPLATE</div>
                        <div>dtype netcdf</div>
                        <div>undef -1.e33</div>
                        <div>title  OUTPUT FROM HRLDAS v20140513</div>
                        <div>pdef  309 189 lcc  17.1886 -127.3326  1   1
                           39.00000  39.00000  -98.00000  20000.000
                           20000.000</div>
                        <div>xdef  310 linear -127.3326   0.18983819</div>
                        <div>ydef  190 linear  17.81886   0.18983819</div>
                        <div>zdef    4 linear 1 1</div>
                        <div>tdef 24 linear 00Z01JUN2008     60MN</div>
                        <div>VARS 1</div>
                        <div>TG=&gt;tg  1 t,y,x Ground Temperature [K]</div>
                        <div>ENDVARS</div>
                      </div>
                      <div><br>
                      </div>
                      <div>ncdump -h yields the following global
                        attribute info.</div>
                      <div><br>
                      </div>
                      <div>
                        <div> :TITLE = "OUTPUT FROM HRLDAS v20140513" ;</div>
                        <div>                :missing_value = -1.e+33f ;</div>
                        <div>                :START_DATE =
                          "2008-06-01_00:00:00" ;</div>
                        <div>                :MAP_PROJ = 1 ;</div>
                        <div>                :LAT1 = 17.81886f ;</div>
                        <div>                :LON1 = -127.3326f ;</div>
                        <div>                :DX = 20000.f ;</div>
                        <div>                :DY = 20000.f ;</div>
                        <div>                :TRUELAT1 = 39.f ;</div>
                        <div>                :TRUELAT2 = 39.f ;</div>
                        <div>                :STAND_LON = -98.f ;</div>
                        <div>                :MMINLU =
                          "MODIFIED_IGBP_MODIS_NOAH" ;</div>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <br>
                    <fieldset
                      class="m_4726374723005445329mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <span class="">
                  <pre>______________________________<wbr>_________________
gradsusr mailing list
<a moz-do-not-send="true" class="m_4726374723005445329moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a moz-do-not-send="true" class="m_4726374723005445329moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a>
</pre>
    </span></blockquote>
    

  </div>


______________________________<wbr>_________________

gradsusr mailing list

<a moz-do-not-send="true" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>

<a moz-do-not-send="true" href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a>


</blockquote></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<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>
</body></html>