[Thread Prev][Thread Next][Index]

Re: combination of variables with same sizes

Hello Xin,
You can use "index-stamping"  to do this kind of thing.  Define
a new, axis, say in the K direction.  Then

LET combined = IF k eq 1 THEN var1 ELSE var2

from which combined[k=1] gives var1 and combined[k=2] gives

Ansley Manke

Xin Jin wrote:

Hi Ferreters,

How can I combine two variables with same sizes to form another variable? For example,

I have a variable from two data sets, let's say, temp1 and temp2.  I want to get a variable temp with


Are there any methods to do this?

Xin Jin
Inst.of Geophysics and Planetary Physics
University of California Los Angeles
5845 Slichter Hall
Los Angeles, CA 90095-4996, USA
phone: (310) 825 4526
fax  : (310) 206 3051
email: xjin@igpp.ucla.edu

Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement