[Thread Prev][Thread Next][Index]

bug: save/append bombs if leading time value is 0



One more bug that I couldn't find in the mail archives...

Andrew

----------------------------------------------------------------------
Andrew Wittenberg          Program in Atmospheric and Oceanic Sciences
andyw@splash.princeton.edu                        Princeton University
----------------------------------------------------------------------

! append_bug.jnl
! Demo of Ferret v5.22 save/append bug.
! save/append bombs if and only if leading time axis value is 0.
!
! Output of uname -a:
! Linux linux1 2.2.16 #5 Fri Aug 18 21:33:17 EDT 2000 i686 unknown
!
! Ferret info:
!       NOAA/PMEL TMAP
!       Program FERRET
!       Version 5.22 - 07/27/00
!       21-Mar-01 12:05     

! Try the following immediately after entering Ferret:

def ax/t=0:0:1 ax
let a = t[gt=ax]
let b = t[gt=ax]
save/q/file="ab.nc"/clobber a
save/q/file="ab.nc"/append b

! This is what I get:
! **TMAP ERR: error in line definition
!             disordered output coordinate value: 0 Axis: AX

! This ALWAYS occurs with save/append when the leading time axis 
! value is 0, regardless of the number of time axis values;
! and this NEVER occurs when the leading time axis value is anything
! other than 0.  (e.g. "def ax/t=-1:-1:1 ax" does work)
! This problem does not occur with axes other than time.




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement