NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #GFG-507049]: ncdump and ncgen

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Hi Ludovic,

That's an interesting problem that we haven't seen before.

Do any of the variables salinity, sndspeed, or density have an attribute named
C_format, and if so, what is its value?  Are these variables of type float or
double?

The problem you are seeing could be explained if they had attributes such as
  salinity:C_format="%.3gg" ;
instead of
  salinity:C_format="%.3g" ;

If that's not the problem, could you tell us what version of netCDF you are
using,
what operating system, and send us the output of "ncdump -c" on your file?

Thanks!

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: GFG-507049
Department: Support netCDF
Priority: Normal
Status: Closed