Hi Ferret users,
I have a PLJ variable:
yes? list PLJ
01-JAN-2011 21 / 3: 0.00
02-JAN-2011 21 / 4: 0.00
03-JAN-2011 21 / 5: 0.00
04-JAN-2011 21 / 6: 0.00
05-JAN-2011 21 / 7: 0.00
06-JAN-2011 21 / 8: 0.00
07-JAN-2011 21 / 9: 0.00
08-JAN-2011 21 / 10: 0.00
09-JAN-2011 21 / 11: 0.00
10-JAN-2011 21 / 12: 0.00
11-JAN-2011 21 / 13: 0.00
12-JAN-2011 21 / 14: 0.00
............................................
Now, I would like to get the L value corresponding to T = 09-JAN-2011 21, ie L=11
I tried tu use @LOC on PLJ variable:
1) I defined PLJ0 at the given T value:
yes? let PLJ0 = PLJ[T="09-JAN-2011:21:00"]
yes? list PLJ0
VARIABLE : PLJ[T="09-JAN-2011:12:00"]
X : 1
TIME : 09-JAN-2011 21:00
0.0000
2) I got LL0 value from PLJ0 variable
yes? let LL0 = PLJ0[t=@loc]
yes? list LL0
VARIABLE : TIME of 0 in PLJ[T="09-JAN-2011:12:00"] (hours)
X : 1
TIME : 09-JAN-2011 09:00 to 10-JAN-2011 09:00 (location of 0)
973221.
It's not exactly the result I would like to have !
So, what's the best way to do that ?
Thanks in advance
--
Francois DELCLAUX
------------------------------------------------------------
UMR HydroSciences Montpellier
Universite Montpellier II - Place Eugene Bataillon
Case courrier MSE
34095 Montpellier Cedex 5 FRANCE
http://www.hydrosciences.org/
mailto: delclaux@xxxxxxxxxxxxxxxxxxx
Tel : (33) (0)4 67 14 90 11 Fax : (33) (0)4 67 14 47 74
------------------------------------------------------------