[Thread Prev][Thread Next][Index]

[ferret_users] Unexpected behavior when plotting very specific data



Hi,

I've found a bug in Ferret. Here's the example:

--- Contents of data.dat:
2000 0.0
2010 0.0
---

--- Example script:
file/var="year,data" "test.dat"

let var1 = data[d=1]
let var2 = if data[d=1] eq -1 then data[d=1]

plot var1        ! Works
plot var2        ! Works
list var1,var2   ! Works
plot var1,var2   ! Doesn't work!
---

Plotting both variables individually works but plotting them together
does not work. Ferret simply doesn't produce any output. This error only
occurs when one variable is constant and exactly zero and the other one
is missing everywhere. I've tested it with Ferret v6.401 and v6.6.

As this is a very special case it's not a big issue, but it can break
batch processing when an output metafile is expected but not found.

Best regards,
Marco
-- 
***************************************
Marco Steinacher

Climate and Environmental Physics
Physics Institute, University of Bern
Sidlerstrasse 5, CH-3012 Bern

Phone ++41 (0)31 631 34 02
Fax   ++41 (0)31 631 87 42
steinacher@xxxxxxxxxxxxxxxx
http://www.climate.unibe.ch/~steinach
OpenPGP Key ID: 0x62937F7F
***************************************

Attachment: signature.asc
Description: OpenPGP digital signature


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement