[Thread Prev][Thread Next][Index]
Re: Fw: north-south
Here is another way to reverse things within Ferret:
yes? use coads_climatology
yes? show data
currently SET data sets:
1> /opt/local/ferret/fer_dsets/descr/coads_climatology.des
(default)
name title I J
K L
SST SEA SURFACE TEMPERATURE 1:180 1:90 ...
1:12
AIRT AIR TEMPERATURE 1:180 1:90 ...
1:12
SPEH SPECIFIC HUMIDITY 1:180 1:90 ...
1:12
WSPD WIND SPEED 1:180 1:90 ...
1:12
UWND ZONAL WIND 1:180 1:90 ...
1:12
VWND MERIDIONAL WIND 1:180 1:90 ...
1:12
SLP SEA LEVEL PRESSURE 1:180 1:90 ...
1:12
yes? ! First we define an index which samples from hi to lo along J
yes? let reverse_j = 90 - j[g=sst]
yes? ! Then we sample sst using this reversed axis
yes? let sst_reverse_j = samplej(sst,reverse_j)
yes? shade/l=1 sst_reverse_j
-- Jonathan Callahan
lw wrote:
>
> I tried as Hein said, i.e., use 'order=x-yzt' instead of 'order=xyzt', but got an error message. Hein told me the option ''order=x-yzt' works well in his data. I guess maybe the data he used is in the netcdf format. I am trying to ultilize binary data now. The different data firmat makes the difference?
>
> Lw
>
> ----- Original Message -----
> From: "Hein Zelle" <zelle@knmi.nl>
> To: <ferret_users@ferret.wrc.noaa.gov>
> Sent: Friday, August 23, 2002 3:09 PM
> Subject: Re: north-south
>
> > lw wrote:
> >
> > > file/g=bg/form=str/var=tt/col=721*338/order=xyzvt test.dat
> > >
> > > For the 'test.dat', the first Y is on 90n, instead of 78.5s. Can I use
> > Ferret directly without changing the south-north direction in a Fortran
> > program beforehand?
> >
> > I believe the /order parameter also takes negative values, so you may
> > want to try /order=x-yzvt and see if that works. I used something
> > like that myself, on a netcdf file with the y axis reversed, and that
> > seemed to do the trick for making 'normal' plots and computations.
> >
> > Hein Zelle
> >
> > >-----------------------------------------------------------------<
> > Hein Zelle
> > Dept. of Oceographic Research
> > KNMI, The Netherlands
> > work: zelle@knmi.nl http://www.knmi.nl/~zelle
> > private: hein@icce.rug.nl http://www.icce.rug.nl/~hein
> > Phone: +31 (0)30 2206704
> > >-----------------------------------------------------------------<
> > --------------------------------------------------------------
> > Zie ook/see also: http://www.knmi.nl/maildisclaimer.html
> >
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement