[Thread Prev][Thread Next][Index]

Re: [ferret_users] bug on creation of axis



Hi Patrick,
Can you update to v6.2?  This appears to be a bug in that version of Ferret which is now fixed.  There are executables for both x86_64 and ia64, and I can verify that your script works correctly for x86_64 running Ferret v6.2:

        NOAA/PMEL TMAP
        FERRET v6.2 
        Linux(g77) 2.6.9-22. - 05/19/09
        31-Aug-09 11:57    

yes? def axis/x=1.8:358.2:3.6/units="degrees_east"/modulo LONGITUDE
yes? sh axis longitude
 name       axis              # pts   start                end
 LONGITUDE LONGITUDE          100mr   1.8E                 1.8W
   Axis span (to cell edges) = 360 (modulo length = axis span)
yes? list x[gx=longitude]
             VARIABLE : X
                        axis LONGITUDE
             SUBSET   : 100 points (LONGITUDE)
 1.8E   /   1:    1.8
 5.4E   /   2:    5.4
 9E     /   3:    9.0
 12.6E  /   4:   12.6
 16.2E  /   5:   16.2
 19.8E  /   6:   19.8

Ansley

Brockmann Patrick wrote:
Hi all,

I have encountered a problem when creating a simple axis
depending on what platform you use. Very annoying.

#############################
Expected result are given on i686 with ferret 6.08
yes? def axis/x=1.8:358.2:3.6/units="degrees_east"/modulo LONGITUDE
yes? show axis LONGITUDE
yes? list x[gx=LONGITUDE]
            VARIABLE : X
                       axis LONGITUDE
            SUBSET   : 100 points (LONGITUDE)
1.8E   /   1:    1.8
5.4E   /   2:    5.4
9E     /   3:    9.0
12.6E  /   4:   12.6
16.2E  /   5:   16.2
19.8E  /   6:   19.8
23.4E  /   7:   23.4
...

#############################
x86_64 and ia64 with ferret 6.08
I get a single point axis !

yes? list x[gx=LONGITUDE]
            VARIABLE : X
                       axis LONGITUDE
            LONGITUDE: 1.8E
         1.800

Any help welcome...

Patrick



[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement