[Thread Prev][Thread Next][Index]

Re: samplexy



Hi Martin,
I get a result running Ferret version 5.0, with this Ferret script and the
levitus_climatology data, which is part of the Ferret release.  Can you
run this?   It is possible that your version of Ferret has a  bug in
SAMPLEXY, and that the solution will be for you to download a more
recent veraion of Ferret, since yours is a couple of releases back.
use levitus_climatology
let pente=-0.37
let xpts=34+j[j=1:60]*pente
let ypts=j[j=1:60]

!  Check the location of xpts,ypts
shade/k=1 temp
plot/vs/over xpts,ypts

! Sample temp and plot the profile
let profil = samplexy(temp,xpts,ypts)
stat profil
shade profil


Martin Junier wrote:

Dear Ferret users,

I'm trying to use the SAMPLEXY function. Following the example in the
users guide, I've been able to draw a line through my domain:

yes? let pente=-0.37
yes? let xpts=34+j[j=1:60]*pente
yes? let ypts=j[j=1:60]
yes? PLOT/VS/LINE/SYM=27 xpts,ypts

But when I try to make a fill contour plot, I get this:

yes? let profil = samplexy(o3,xpts,ypts)
yes? fill /L=10 profil
 **ERROR: all data have same value: data are all flagged as bad

Variable "o3" is defined on 4 dimensions:
name     title                             I         J         K
L
 O3                                        1:45      1:60      1:12
1:31

I'm using FERRET (V500beta1.1), on SunOS 5.6.

Thank's for help.

Martin Junier

 +-----------------------------------------------------+
 | Martin Junier                                       |
 | Laboratory of atmospheric pollution - LPA           |
 | Departement of Rural Ingeneering                    |
 | Swiss Federal Institute of Technology Lausanne      |
 | CH - 1015 Lausanne                                  |
 | tel.: ++41 21 693 57 01  -  fax.: ++41 21 693 51 45 |
 | e-mail: martin.junier@epfl.ch                       |
 +-----------------------------------------------------+

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246
 


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement