<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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>
  </body>
</html>