<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi, Gary —
<div>Jim is right, you need a descriptor file for the “BAD” file with the extra dimensions. An example is below, but since your ncdump output didn’t show any metadata for the coordinates, I set everything to ‘abstract’ grid dimensions. You also need to alias
the variables that have upper case letters and are >16 characters. </div>
<div><br>
</div>
<div>
<div><font face="Courier" size="2">dset ^ENAAPS_2013080200_24hr.nc</font></div>
<div><font face="Courier" size="2">dtype netcdf</font></div>
<div><font face="Courier" size="2">undef -9.99e8</font></div>
<div><font face="Courier" size="2">xdef 360 linear 1 1</font></div>
<div><font face="Courier" size="2">ydef 180 linear 1 1</font></div>
<div><font face="Courier" size="2">zdef 25 linear 1 1</font></div>
<div><font face="Courier" size="2">tdef 2 linear 02aug2013 1dy</font></div>
<div><font face="Courier" size="2">edef 12 names 1 2 3 4 5 6 7 8 9 10 11 12</font></div>
<div><font face="Courier" size="2">vars 7</font></div>
<div><font face="Courier" size="2">sigma 25 z mid-level sigma b</font></div>
<div><font face="Courier" size="2">height 25 t,e,z,y,x elevation above surface [m]</font></div>
<div><font face="Courier" size="2">pressure 25 t,e,z,y,x mid-level pressure [hPa]</font></div>
<div><font face="Courier" size="2">ABF_mass_concentration=>abfmc 25 t,e,z,y,x Anthropogenic and Biogenic fine mass concentration [ug/m^3]</font></div>
<div><font face="Courier" size="2">dust_mass_concentration=>dustmc 25 t,e,z,y,x Dust mass concentration [ug/m^3]</font></div>
<div><font face="Courier" size="2">smoke_mass_concentration=>smokemc 25 t,e,z,y,x Smoke mass concentration [ug/m^3]</font></div>
<div><font face="Courier" size="2">seasalt_mass_concentration=>saltmc 25 t,e,z,y,x Seasalt mass concentration [ug/m^3]</font></div>
<div><font face="Courier" size="2">endvars</font></div>
</div>
<div><br>
</div>
<div>—Jennifer</div>
<div><br>
</div>
<div><br>
<div>
<div>On Jun 30, 2016, at 9:32 PM, James T. Potemra <<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi Gary,</p>
<p>You are likely having problems because of the extra dimensions on your variables, specifically "copy" and "vert" (the good file has var(time,lat,lon) while the bad file has var(time,copy,vert,lat,lon). You might be able to use a control file and map "vert"
to ZDEF and "copy" to ensemble or something like that.</p>
<p>Jim<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/30/16 2:14 PM, Love, Mr. Gary, Contractor, Code 7542 wrote:<br>
</div>
<blockquote cite="mid:ae81899b753b45818f1d93a9a7ccc9ad@ZEUS-2.nrlmry.navy.mil" type="cite">
<pre wrap="">I have seen this problem reported earlier in the grads forum, but no clear
solution has emerged.
I'm using 2.0.2 on platform: Linux 2.6.32.59-0.7-default #1 SMP 2012-07-13
15:50:56 +0200 x86_64 x86_64 x86_64 GNU/Linux
Some .nc files do not open and give an error.
gadsdf: SDF file does not have any non-coordinate variables.
No script is being used. This occurs at the command line when attempting to
sdfopen the file.
The results from ncdump -h for the bad file and a similar good file appear
below..
The issue may be related to the "copy" variable.
Thanks for any advice, I did not write these files but have access to the
author who doesn't know what the problem is either.
Gary Love
NRL Monterey, CA
BAD FILE
_______
netcdf ENAAPS_2013080200_24hr {
dimensions:
        lat = 180 ;
        lon = 360 ;
        vert = 25 ;
        copy = 12 ;
        time = 2 ;
variables:
        int time(time) ;
                time:units = "seconds since 2013-08-02 00:00:00" ;
                time:standard_name = "time" ;
        int forecast_reference_time ;
                forecast_reference_time:units = "seconds since 1970-01-01
00:00:00" ;
                forecast_reference_time:standard_name =
"forecast_reference_time" ;
        float lat(lat) ;
                lat:units = "degrees_north" ;
                lat:long_name = "latitude" ;
        float lon(lon) ;
                lon:units = "degrees_east" ;
                lon:long_name = "longitude" ;
        float sigma(vert) ;
                sigma:units = "sigma_level" ;
                sigma:long_name = "mid-level sigma b" ;
        float height(time, copy, vert, lat, lon) ;
                height:units = "m" ;
                height:long_name = "elevation above surface" ;
        float pressure(time, copy, vert, lat, lon) ;
                pressure:units = "hPa" ;
                pressure:long_name = "mid-level Pressure" ;
        float ABF_mass_concentration(time, copy, vert, lat, lon) ;
                ABF_mass_concentration:units = "ug/m^3" ;
                ABF_mass_concentration:long_name = "Anthropogenic and
Biogenic fine mass concentration" ;
        float dust_mass_concentration(time, copy, vert, lat, lon) ;
                dust_mass_concentration:units = "ug/m^3" ;
                dust_mass_concentration:long_name = "Dust mass
concentration" ;
        float smoke_mass_concentration(time, copy, vert, lat, lon) ;
                smoke_mass_concentration:units = "ug/m^3" ;
                smoke_mass_concentration:long_name = "Smoke mass
concentration" ;
        float seasalt_mass_concentration(time, copy, vert, lat, lon) ;
                seasalt_mass_concentration:units = "ug/m^3" ;
                seasalt_mass_concentration:long_name = "Seasalt mass
concentration" ;
// global attributes:
                :Conventions = "CF-1.0" ;
data:
time = 0, 86400 ;
}
GOOD FILE
________
netcdf ENAAPS_2013081518_24hr_e1 {
dimensions:
        lat = 180 ;
        lon = 360 ;
        time = 5 ;
variables:
        int time(time) ;
                time:units = "seconds since 2013-08-15 18:00:00" ;
                time:standard_name = "time" ;
        int forecast_reference_time ;
                forecast_reference_time:units = "seconds since 1970-01-01
00:00:00" ;
                forecast_reference_time:standard_name =
"forecast_reference_time" ;
        float lat(lat) ;
                lat:units = "degrees_north" ;
                lat:long_name = "latitude" ;
        float lon(lon) ;
                lon:units = "degrees_east" ;
                lon:long_name = "longitude" ;
        float total_aod(time, lat, lon) ;
        float sulfate_aod(time, lat, lon) ;
        float dust_aod(time, lat, lon) ;
        float smoke_aod(time, lat, lon) ;
        float seasalt_aod(time, lat, lon) ;
// global attributes:
                :Conventions = "CF-1.0" ;
data:
time = 0, 21600, 43200, 64800, 86400 ;
}
</pre>
<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>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>