IDL moment command problems [message #92718] |
Tue, 16 February 2016 11:14 |
wdolan
Messages: 29 Registered: June 2015
|
Junior Member |
|
|
Hi All,
I'm trying to do something fairly simple, and am getting a very weird result, and I'm not sure why.
I am trying to get the mean of a bunch of CO concentrations,
mm05=moment(strucCO_2005.species[3, ind05])
backg_CO=mm05(0)
where '3' is the location in the matrix of the pressure we want to look at, and ind05 is all of the scans in the correct lat/lon region
When you look at 'print, strucCO_2005.species(3, ind05)', the values form a 1d array with values on the order of magnitude of 1e-9 to 1e-7.
but when I go to look at the values 'print, mm05' I get [-1.59755 1594.21 -24.9277 619.702]
none of these numbers should be negative, and the mean should be on the same order of magnitude as the numbers that are being inputed.
Help!
|
|
|