[Thread Prev][Thread Next][Index]
[ferret_users] Strange Ferret behavior
Hi everybody
I have a strange behavior with Ferret.
I have an error when shading my_var[K=@DDF]. If I first shade my_var, then shading my_var[K=@DDF] works ...
The script is attached. Needed data are accessible through OpenDap.
I've found a workaround, so it is not a real problem. But I find this strange. Is this a Ferret bug, or a bug between my chair and my keyboard ?
Thanks
Olivier
! Author : Olivier Marti - olivier.marti<at>lsce.ipsl.fr
! --- Access data ---
USE "http://dods.extra.cea.fr/cgi-bin/nph-dods/data/p86denv/2L28/Oce/SE/2L28_SE_2090_2099_grid_W.nc"
! --- Define axis ---
LET jpk = `votkeavt,RETURN=ksize`
LET kk = K[K=1:`jpk`]
LET knosurf = IF kk EQ 1 THEN 0 ELSE 1
DEFINE AXIS/Z=1:`jpk`/NPOINTS=`jpk`/UNIT="K Index" Kw
! --- Define variable ---
LET my_var = knosurf[GZ=Kw@ASN] * votkeavt[GZ=Kw@ASN]
! --- Tests ---
SHADE/K=2/L=1 my_var[K=@DDF] ! This one fails
SHADE/K=2/L=1 my_var ! After doing this one, the previous one works ...
--
Dr. Olivier Marti - mailto:olivier.marti@xxxxxxxxxxxx
Laboratoire des Sciences du Climat et de l'Environnement
Institut Pierre Simon Laplace
Laboratoire CEA-CNRS-UVSQ - UMR 8212
Tel : +33 1 69 08 77 27 - Mob : +33 6 45 36 43 74
Fax: +33 1 69 08 30 73
<http://www.lsce.ipsl.fr/Pisp/56/olivier.marti.html>
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement