[Thread Prev][Thread Next][Index]
Re: [ferret_users] [Ferret] loop over arbitrary longitudes
- To: David Wang <climater@xxxxxxxxx>, ferret_users <ferret_users@xxxxxxxx>
- Subject: Re: [ferret_users] [Ferret] loop over arbitrary longitudes
- From: Mary Quinton <quintonmary@xxxxxxxxx>
- Date: Thu, 11 Aug 2005 10:05:30 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=y4BAI67OkODhHMxtE7dmhvIaUkLkL4XDXSHrumAhcr20gds6PPr0JxFgKC+cf3PcCmcwLfhbRDy0bm/1HHZVWtjJhv2dML4IzIbYKERnjXYl+4MHCOu6xqWrUl9kFvXq2/Pho4RTcmmF1vdMuyowecWKVOIxW0po1e7/U7Z9LTg= ;
- In-reply-to: <42FADFCE.5050007@gmail.com>
- Sender: owner-ferret_users@xxxxxxxxxxxxx
Hello David,
The way to do this is to make a list of the longitudes
you want and then loop over the index to the list. Do
them all in the coordinate system of the data,
longitude east
let long_list = {170,180,200,235}
repeat/i=1:`long_list,return=isize` \
(let xx= long_list[i=`m`]; shade rose[x=`xx`])
--- David Wang <climater@gmail.com> wrote:
> Hello Ferret users,
>
> I'm wondering if it is possible to create
> REPEAT-like loop over any
> arbitrary longitudes (or latitudes, depths, time),
> say to plot out a
> series cross sections along 170E, 180, 160W, 125W.
> REPEAT/I=lo:hi:inc or
> REPEAT/X=lo:hi:inc seems to only deal with even
> spacing loops.
>
> Thanks, D.W.
>
> --
> Daiwei (David) WANG Graduate Student
> Dept. of Earth and Environmental Sciences and
> Lamont-Doherty Earth Observatory
> Columbia University
> Email: dwang<AT>ldeo.columbia.edu
>
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement