NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 20 forks source link

TMAP ERR: attempt to redefine line axis TIME doesnt match CDF file #753

Closed karlmsmith closed 6 years ago

karlmsmith commented 6 years ago

Reported by remik.ziemlinski on 11 Dec 2006 16:26 UTC This error didn't occur with FERRET v5.70 (IRIX 6.5) but it fails with FERRET v6.01 (ia64 and i686). Input files will be attached separately.

! The commands are: set mem/size=100 use "a.nc" use "b.nc" save/clobber/file="out.nc" olr[d=1], swdn_toa[d=2]

! The error message: LISTing to file out.nc **TMAP ERR: attempt to redefine line axis TIME doesnt match CDF file

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1478

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 11 Dec 2006 18:15 UTC Further experiment: This works correctly...

set mem/size=100 use "a.nc" use "b.nc" save/clobber/file="out.nc" olr[d=1] save/append/file="out.nc" swdn_toa[d=2]

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 12 Dec 2006 16:40 UTC This is realted to the behavior described in bug 1461. The time axes in the input files are named with lowercase letters "time". When written to the file, TIME has been upcased, as is the Ferret default. When writing the second variable, Ferret checks whether the axis has already been written to the file, and whether the axis is consistent. Here the upcasing was not done, so the axis "time" was not recognized as the same as the axis "TIME" in the file.

Fixed in cd_isit_recdim.F

karlmsmith commented 6 years ago

Attachment from remik.ziemlinski on 11 Dec 2006 16:37 UTC input.tar.gz