NCL bug

From: Ghassan J. Alaka, Jr. <gusalaka_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 12 2011 - 10:49:38 MDT

Hi,

I have found a bug in NCL version 5.1.1, although a colleague of mine
confirmed that the same error in NCL version 6.0.0.

If I create an array (called "x") that contains increments from 0 to 1
by 0.01, I run into problems when x should equal 0.9. The print()
function says that x(90) = 0.9, yet x(90) > 0.9 after some
investigation. This only seems to be occurring at x = 0.9. Why is this
the case?

I have attached a simple script to view this error.

Thank you,
Gus Alaka

-- 
Ghassan J. Alaka, Jr., Ph.D. Candidate
Department of Atmospheric Science
Colorado State University
1371 Campus Delivery
Fort Collins, CO 80523-1371
E: gusalaka@atmos.colostate.edu
P: (970) 491-1487


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Mon Sep 12 10:49:45 2011

This archive was generated by hypermail 2.1.8 : Mon Sep 12 2011 - 13:37:01 MDT