<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>This is not exactly correct.  If you have variables in different
      files you can specify them with a numeric suffix.  for example
      open one file with a variable called "temp" and a second file with
      another variable with the same name.  You can access temp from the
      first file as temp.1 and from the second file as temp.2.</p>
    <p>In this case I think the problem is your variables have different
      dimension sizes (u has 1152 lats and v has 1153).  I think this is
      why the first variable is showing.</p>
    <p>Jim<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 8/2/18 6:44 AM, Eduardo Agosta
      Scarel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKDXP1Jpt9H=6aR5BWHYs29SX_KYrBd3dQXLPfj6QhNrje3fgg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">Variables
          within one file are hiddenly ordered from 1 to the last
          variable, so to display them you must add the index.</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">In your
          case you should do:</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">'d u'
          (or 'd u.1', the first variable does not need to be indexed
          for recognition)</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">'d v.2'</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">'d t.3'</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">Have
          you tried like this?</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">Edu.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">El jue., 2 de ago. de 2018 a la(s) 13:16, Joseph
          Basconcillo (<a href="mailto:jbasconcillo@pagasa.dost.gov.ph"
            moz-do-not-send="true">jbasconcillo@pagasa.dost.gov.ph</a>)
          escribió:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, <br>
          <br>
          Below is my header file for the file, "<a
            href="http://gdaps_anal_768_2018050100.nc" rel="noreferrer"
            target="_blank" moz-do-not-send="true">gdaps_anal_768_2018050100.nc</a>".<br>
          <br>
          I opened them successfully in other platforms including all
          variables (e.g. u, v, theta, temp) but in GrADS only u is
          being shown. The other variables are being left out.<br>
          <br>
          netcdf <a class="moz-txt-link-freetext" href="file:/G:/">file:/G:/</a><a href="http://gdaps_anal_768_2018050100.nc"
            rel="noreferrer" target="_blank" moz-do-not-send="true">gdaps_anal_768_2018050100.nc</a>
          {<br>
            dimensions:<br>
              longitude = 1536;<br>
              latitude = 1152;<br>
              hybrid_ht = 1;<br>
              t = UNLIMITED;   // (1 currently)<br>
              longitude_1 = 1536;<br>
              latitude_1 = 1153;<br>
              hybrid_ht_1 = 1;<br>
              surface = 1;<br>
            variables:<br>
              float u(t=1, hybrid_ht=1, latitude=1152, longitude=1536);<br>
                :source = "Unified Model Output (Vn10.2):";<br>
                :name = "u";<br>
                :title = "Westerly component of wind  u";<br>
                :date = "01/05/18";<br>
                :time = "00:00";<br>
                :long_name = "Westerly component of wind  u";<br>
                :units = "m s-1";<br>
                :missing_value = 2.0E20f; // float<br>
                :_FillValue = 2.0E20f; // float<br>
                :valid_min = -24.836214f; // float<br>
                :valid_max = 21.292374f; // float<br>
          <br>
              float v(t=1, hybrid_ht=1, latitude_1=1153,
          longitude_1=1536);<br>
                :source = "Unified Model Output (Vn10.2):";<br>
                :name = "v";<br>
                :title = "Southerly component of wind v";<br>
                :date = "01/05/18";<br>
                :time = "00:00";<br>
                :long_name = "Southerly component of wind v";<br>
                :units = "m s-1";<br>
                :missing_value = 2.0E20f; // float<br>
                :_FillValue = 2.0E20f; // float<br>
                :valid_min = -19.5578f; // float<br>
                :valid_max = 26.530746f; // float<br>
          <br>
              float theta(t=1, hybrid_ht_1=1, latitude=1152,
          longitude_1=1536);<br>
                :source = "Unified Model Output (Vn10.2):";<br>
                :name = "theta";<br>
                :title = "Potential temperature";<br>
                :date = "01/05/18";<br>
                :time = "00:00";<br>
                :long_name = "Potential temperature";<br>
                :units = "K";<br>
                :missing_value = 2.0E20f; // float<br>
                :_FillValue = 2.0E20f; // float<br>
                :valid_min = 227.68872f; // float<br>
                :valid_max = 328.4967f; // float<br>
          <br>
              float temp(t=1, surface=1, latitude=1152,
          longitude_1=1536);<br>
                :source = "Unified Model Output (Vn10.2):";<br>
                :name = "temp";<br>
                :title = "Temperature T";<br>
                :date = "01/05/18";<br>
                :time = "00:00";<br>
                :long_name = "Temperature T";<br>
                :units = "K";<br>
                :missing_value = 2.0E20f; // float<br>
                :_FillValue = 2.0E20f; // float<br>
                :valid_min = 191.576f; // float<br>
                :valid_max = 329.6931f; // float<br>
          <br>
              float longitude(longitude=1536);<br>
                :units = "degrees_east";<br>
                :point_spacing = "even";<br>
                :modulo = " ";<br>
                :_CoordinateAxisType = "Lon";<br>
          <br>
              float latitude(latitude=1152);<br>
                :units = "degrees_north";<br>
                :point_spacing = "even";<br>
                :_CoordinateAxisType = "Lat";<br>
          <br>
              float hybrid_ht(hybrid_ht=1);<br>
                :units = "level";<br>
                :positive = "up";<br>
                :_CoordinateAxisType = "GeoZ";<br>
                :_CoordinateZisPositive = "up";<br>
          <br>
              float t(t=1);<br>
                :units = "days since 2018-05-01 00:00:00";<br>
                :time_origin = "01-MAY-2018:00:00:00";<br>
                :_CoordinateAxisType = "Time";<br>
          <br>
              float longitude_1(longitude_1=1536);<br>
                :units = "degrees_east";<br>
                :point_spacing = "even";<br>
                :modulo = " ";<br>
                :_CoordinateAxisType = "Lon";<br>
          <br>
              float latitude_1(latitude_1=1153);<br>
                :units = "degrees_north";<br>
                :point_spacing = "even";<br>
                :_CoordinateAxisType = "Lat";<br>
          <br>
              float hybrid_ht_1(hybrid_ht_1=1);<br>
                :units = "level";<br>
                :positive = "up";<br>
                :_CoordinateAxisType = "GeoZ";<br>
                :_CoordinateZisPositive = "up";<br>
          <br>
              float surface(surface=1);<br>
                :units = "level";<br>
                :positive = "up";<br>
                :_CoordinateAxisType = "GeoZ";<br>
                :_CoordinateZisPositive = "up";<br>
          <br>
            // global attributes:<br>
            :history = "Wed Jul  4 06:45:35 UTC 2018 - CONVSH V1.91
          16-February-2006";<br>
            :_CoordSysBuilder =
          "ucar.nc2.dataset.conv.DefaultConvention";<br>
          }<br>
          <br>
          <br>
          The descriptor file I used is the following:<br>
          <br>
          dset ^<a href="http://gdaps_anal_768_2018050100.nc"
            rel="noreferrer" target="_blank" moz-do-not-send="true">gdaps_anal_768_2018050100.nc</a><br>
          dtype netcdf<br>
          undef 2.0E20f_missing_value<br>
          xdef 1536 linear 0 360<br>
          ydef 1152 linear -90 90<br>
          tdef 1 linear 00Z01MAY2018 1<br>
          edef 1 linear 1 1<br>
          vars 3<br>
          u 1 t,z,y,x Westerly component of wind  u<br>
          v 1 t,z,y,x Easterly component of wind  v <br>
          t 1 t,z,y,x Temperature T<br>
          endvars<br>
          <br>
          The error says gadxdf error: Missing or invalid dimension
          size. I am guessing the error is the xdef and ydef. Can you
          help me on this?<br>
          <br>
          Thanks.<br>
          <br>
          Yours,<br>
          Joseph Basconcillo<br>
          _______________________________________________<br>
          gradsusr mailing list<br>
          <a href="mailto:gradsusr@gradsusr.org" target="_blank"
            moz-do-not-send="true">gradsusr@gradsusr.org</a><br>
          <a href="http://gradsusr.org/mailman/listinfo/gradsusr"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr"><font size="2"
                                face="trebuchet ms, sans-serif">Eduardo
                                Agosta Scarel<br>
                                <br>
                              </font>
                              <div><span style="font-size:12.8px">"The
                                  Carmelite NGO is a way to promote
                                  justice, peace and care for creation"</span><br>
                              </div>
                              <div><span style="font-size:12.8px">"La
                                  ONG Carmelita es una manera de
                                  promover la justicia, la paz y el
                                  cuidado de la creación"</span></div>
                              <div><font color="#0000ee"><u><a
                                      href="http://carmelitengo.org/"
                                      target="_blank"
                                      moz-do-not-send="true">http://carmelitengo.org/</a></u></font><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </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>