[Thread Prev][Thread Next][Index]
Vector Command with Defined Variables
Hi all,
Another problem, hopefully with an easy solution.
I am running ferret 4.91 on SGI Irix.
I have a cdf file as follows:
currently SET data sets:
1> ./winds.cdf (default)
name title I J K L
UCOM UCOM 1:129 1:129 1:1 1:365
VCOM VCOM 1:129 1:129 1:1 1:365
These are daily values of the u and v components of
the wind. I want to compute the jan avg by averaging
the first 30 days, feb avg using the secong 30 days,
and so on.
I am trying the following:
let u_jan = ucom[l=1:30@ave]
let v_jan = vcom[l=1:30@ave]
... and so on down to u_dec and v_dec.
I have listed the data and everything looks fine. The
averaging seems to have worked properly.
Then I try to use the vector command like:
vector/nolabels/length=5/xskip=7/yskip=7 u_jan, v_jan
vector/nolabels/length=5/xskip=7/yskip=7 u_feb, v_feb
I get plots, however the plots are identical, but the
listed data have different values.
stat u_jan
UCOM[L=1:30@AVE]
LONGITUDE: 132.5W(227.5) to 120W(240)
LATITUDE: 35N to 47.5N
Z: N/A
T (DAY): 0.5 to 30.5
DATA SET: ./winds.cdf
Total # of data points: 16641 (129*129*1*1)
# flagged as bad data: 0
Minimum value: -1.052
Maximum value: 4.3403
Mean value: 1.8451 (unweighted average)
Standard deviation: 1.3545
stat u_feb
UCOM[L=31:60@AVE]
LONGITUDE: 132.5W(227.5) to 120W(240)
LATITUDE: 35N to 47.5N
Z: N/A
T (DAY): 30.5 to 60.5
DATA SET: ./winds.cdf
Total # of data points: 16641 (129*129*1*1)
# flagged as bad data: 0
Minimum value: -0.90154
Maximum value: 4.2079
Mean value: 1.9157 (unweighted average)
Standard deviation: 1.3254
Do I need to re-grid u_jan and v_jan, ... variables
again? I read something about vector only being
applicable to 2-D variables.
Any assistance is appreciated.
Thanks,
Frank Schenk
Naval Postgraduate School
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement