Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Problems with NF_PUT_VARA_DOUBLE

Luiz,

>Date: Thu, 07 Aug 2003 15:36:16 -0300
>From: Luiz Paulo <lassad@xxxxxxxxxxx>
>To: netcdfgroup@xxxxxxxxxxxxxxxx
>Subject: Problems with NF_PUT_VARA_DOUBLE

The above message contained the following:

> -5.95210664162498e+240, -6.37638669064104e+240,
> -6.37638669064104e+240,
> -6.34742765105198e+273, -6.34742765105198e+273

The range of values that a floating-point netCDF variable can represent
is, necessarily, limited:

    Type        Minimum                 Maximum

    NC_FLOAT    -3.40282347e+38f        3.40282347e+38f
    NC_DOUBLE   -1.79769313486230e+308  1.79769313486230e+308

Are you trying to write values on the order of 1e+24 into an NC_FLOAT
netCDF variable?

Regards,
Steve Emmerson

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690