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

[netCDF #DHW-277522]: ncdump doesn't display enough digits



Yes.

On 8/24/2016 7:11 PM, Ryo Furue wrote:
> New Client Reply: ncdump doesn't display enough digits
>
> Hi Dennis,
>
> address@hidden> wrote:
>
>> One more point. The equality test used in ncdump:
>> Given two values v1 and v2
>>   |v1-v2| <= |double_eps * v2|
>> where the default double_eps is 2.2204460492503131e-16
>>
>
> Do you use this comparison to compare against the Fillvalue ?
>
> ncdump displays a Fillvalue in variables with "-", but for my sample netCDF
> file I sent you yesterday, the values very closed to Fillvalue in the
> variable are displayed as numbers, not with "-".
>
> By the way, in your code above, why do you use v2 for "double_eps * v2" ?
> I suppose it should be double_eps * max( abs(v1), abs(v2) ) or something
> like that? (Also, I suppose you use different epsilons are used for
> different precisions, right?)
>
> Regards,
>
> Ryo
>
>
>
> Ticket Details
> ===================
> Ticket ID: DHW-277522
> Department: Support netCDF
> Priority: Normal
> Status: Open
> Link:  
> https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=27425
>



Ticket Details
===================
Ticket ID: DHW-277522
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.