[Thread Prev][Thread Next][Index]
Re: defining varaible ii corresponding to x
Francois,
Here is an example of how to get this information:
yes? use coads_climatology
yes? let ix = i[gx=sst]
yes? let jy = j[gy=sst]
yes? set region/x=45w/y=85s
yes? list ix,jy
DATA SET:
/home/ja9/tmap/fer_dsets/descr/coads_climatology.des
COADS Monthly Climatology (1946-1989)
LONGITUDE: 45W
LATITUDE: ???
Column 1: IX is I[GX=SST]
Column 2: JY is J[GY=SST]
IX JY
I / *: 148.0 3.000
-- Jonathan Callahan
Francois Delclaux wrote:
>
> Hi,
>
> In a .jnl script, I would like to define a variable as the index I (or
> J)
> corresponding to the box including the X-coordinate (or Y) of
> a given point M(X, Y).
>
> I looked on the E-mail archives, but did not find the solution
> for that (maybe too !) simple problem.
>
> Thanks in advance for your answers.
>
> Francois DELCLAUX
> ------------------------------------------------------------
> UMR HydroSciences Montpellier
> Universite Montpellier II - Place Eugene Bataillon
> Case courrier MSE
> 34095 Montpellier Cedex 5 FRANCE
> http://www.maisondeleau.org
> mailto: delclaux@msem.univ-montp2.fr
> Tel : (33) (0)4 67 14 90 11 Fax : (33) (0)4 67 14 47 74
> ------------------------------------------------------------
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement