On 17/11/16 02:27, Daniele Romagnoli wrote:
> As you can see the coordinates go from 335.05 to 44.04988.
> The CoordSys tab of ToolsUI also reports Longitude axis type as a not
> regular axis.
> So I think the problem is in how the coordinates are reported back by
> NetCDF-Java.

I see the same raw values with "ncdump -v longitude" so this behaviour 
is not specific to NetCDF-Java. The longitude values in this file are 
not monotonic and appear to have been mapped into (0, 360).

> As far as I remember, in the past we dealt with coordinates in the range
> [180, 540] but they were increasing (monotone).
> These ones aren't monotone, instead.
> Wondering if the problem is due to that. I will double check.

Christiane indicated off-list that this sample file has been extracted 
from an even larger file. The longitude values might have been modified 
on extraction.

Christiane, please check the raw longitude values in your original 
full-size file with "ncdump -v longitude".

Panoply might be able to handle non-monotonic longitudes, but I do not 
think gt-netcdf can.

Kind regards,

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

------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to