Hi all.
I tried to use this function in one script, to find index of a model
grid, corresponding to definite lon,lat cordinates.
I have an 1-D array (i.e. latitude between 39 and 44, float, with 311
values).
If i try to pass to the closest_val function a value greater than the
max value in the array, the function give me as results the index 311,
that not exist.
It is correct ?
Thanks, ciao Marco
--
### ### ### ### ###
MARCO PASTORE
Istituto Nazionale di Geofisica e Vulcanologia
Gruppo Nazionale di Oceanografia Operativa
Viale Aldo Moro 44
40128, Bologna
Tel:(+39)051-3782649
Cel:(+39)339 8273965
Skype: mapas71
### ### ### ### ###
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Sep 06 2008 - 08:47:40 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 08 2008 - 14:49:02 MDT