If then and missing data

From: Correia, James <james.correia_at_nyahnyahspammersnyahnyah>
Date: Tue, 28 Jul 2009 16:00:21 -0700

Hi-
I have a time series that I need to QC on the fly. The tail end of this time
series looks like this

Time(:,:) Temperature(:,:)
1310 284
1330 285
1350 285
1370 285
1310 285
1330 285
-999 -999
-999 -999
-999 -999

How can I set these apparently out of order time sequence data to missing? I
tried using an if then, in a loop, but I always get the conditional error
that returns a missing value.

I have 50 time series that may have these errors at the end of the time
series with variable number of tail end missing values.

My goal is to use ftcurvs to get a smoother version of the observations I am
using, but ftcurvs errors if the 1st argument is not increasing.

Thanks

James Correia Jr., PhD
Climate Physics Group
Post. Doc.
Pacific Northwest National Lab

"Wisdom. Strength. Courage. Generosity. Each of us are born with one of
these. It is up to us to find the other three inside of us."
-Into the West

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 28 2009 - 17:00:21 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 09:07:41 MDT