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

  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: