Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
I appreciate the help I've had from this list on this, my apologies for my delayed response. The below solved my issue -- thanks for your help, Ben. In summary it looks like you can get a GeoGrid for a variable if 1) the variable has lat and lon dimensions, and 2) the corresponding lon and lat coordinate variables have units "degrees_north" and "degrees_east" respectively. Others have suggested that I also should include the attribute "coordinates" = "time lon lat", but this doesn't look to be required for a GeoGrid. Is the above correct, and/or is there a document that more fully explains this? --James On Sat, Jun 25, 2016 at 4:38 PM, Ben Caradoc-Davies <ben@xxxxxxxxxxxx> wrote: > 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 >
netcdf-java
archives: