NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: [netcdf-java] Unable to get a GeoGrid from a GridDataset

  • To: James Adams - NOAA Affiliate <james.adams@xxxxxxxx>
  • Subject: Re: [netcdf-java] Unable to get a GeoGrid from a GridDataset
  • From: Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
  • Date: Sun, 26 Jun 2016 08:38:26 +1200
James,

these units are invalid. "degrees_north" is a unit of latitude, and "degrees_west" is a unit of longitude. This file has them transposed. I do not know if this is the cause of your problem, but it seems suspicious to me.

Kind regards,
Ben.

On 26/06/16 05:41, James Adams - NOAA Affiliate wrote:
        float lon(lon=1405);
          :long_name = "longitude";
          :standard_name = "longitude";
          :units = "degrees_north";

        float lat(lat=621);
          :long_name = "latitude";
          :standard_name = "latitude";
          :units = "degrees_west";

--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <http://transient.nz/>
New Zealand