comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL moment command problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL moment command problems [message #92718] Tue, 16 February 2016 11:14
wdolan is currently offline  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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Continuous check for new files and processing possible?
Next Topic: Dimension Keywords

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:23:52 PDT 2025

Total time taken to generate the page: 0.00433 seconds