<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi, Edu:</div><div><br></div><div>Yes, I have tried it just now and it does not work as well. I know the variables are there as indicated by the header file. So I was wondering why calling it by 'sdfopen' does not work. </div><div><br></div><div>Joseph </div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Eduardo Agosta Scarel" <eduardo.agosta@gmail.com><br><b>To: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>Sent: </b>Thursday, August 2, 2018 10:44:33 PM<br><b>Subject: </b>Re: [gradsusr] GrADS is displaying only 1 variable<br><div><br></div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-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" data-mce-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" data-mce-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" data-mce-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" data-mce-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" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-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" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-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" target="_blank" data-mce-href="mailto:jbasconcillo@pagasa.dost.gov.ph">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" data-mce-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" data-mce-href="http://gdaps_anal_768_2018050100.nc">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 file:/G:/<a href="http://gdaps_anal_768_2018050100.nc" rel="noreferrer" target="_blank" data-mce-href="http://gdaps_anal_768_2018050100.nc">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" data-mce-href="http://gdaps_anal_768_2018050100.nc">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" data-mce-href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank" data-mce-href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="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"><span face="trebuchet ms, sans-serif" size="2" data-mce-style="font-family: 'trebuchet ms', sans-serif; font-size: small;" style="font-family: 'trebuchet ms', sans-serif; font-size: small;"><span face="trebuchet ms, sans-serif" size="2" data-mce-style="font-family: 'trebuchet ms', sans-serif; font-size: small;" style="font-family: 'trebuchet ms', sans-serif; font-size: small;">Eduardo Agosta Scarel<br></span></span><div><br></div><div><span style="font-size:12.8px" data-mce-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" data-mce-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><span color="#0000ee" data-mce-style="color: #0000ee;" style="color: #0000ee;"><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"><a href="http://carmelitengo.org/" target="_blank" data-mce-href="http://carmelitengo.org/">http://carmelitengo.org/</a></span></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div><div><br></div></div></body></html>