|
Emanuele, The issue here is the automatic detection the vertical axis. The Java netCDF software (before version 2.2.10) strictly applied the convention which says that the vertical axis should be determined by the presence of the "positive" attribute. The simplest fix for you will be to add this attribute to your netCDF files. This is a good idea anyway since it will remove the ambiguity of whether the positive values in the vertical axis go "up" or "down". The ncatted command (from NCO) can be used to created the attribute: ncatted -a positive,levelT,a,c,'down' gio2.nc gio3.nc You levelT will look like this: float levelT(levelT) ; levelT:long_name = "see depth" ; levelT:short_name = "depth" ; levelT:units = "m" ; levelT:positive = "down" ; This strict interpretation of the vertical axis has been relaxed in more recent releases of the Java netCDF software. We will use this new version in a later release, but there have been other changes in the library that we need to test before we can release addXML using this new library. Roland emanuele.lombardi@casaccia.enea.it wrote: Dear Roland, thank you very much for your kind help I gzipped the file and placed it into my anon ftp: ftp://clima.casaccia.enea.it/emanuele.lombardi/gio2.nc.gz It's only 259539 bytes long. Thanks again, Emanuele On 4 Nov, Roland Schweitzer wrote:Emanuele, I don't immediately see anything wrong with the CDL either. Is the file available via an OPeNDAP server or and FTP server? If so, let me know where I can get it. Otherwise, if it's not to big, please email it to me. I'll put it in the debugger and see what I can find. Thanks, Roland emanuele.lombardi@casaccia.enea.it wrote: |