Re: finding the top and bottom

From: <Oliver.Fuhrer_at_nyahnyahspammersnyahnyah>
Date: Wed, 22 Apr 2009 08:01:21 +0200

Sorry, the code before still had a small typo...

Hi Cory,

A loop like this would also work fine (note that negative loop strides
don't work)...

do k=0,z
  top = where(data(:,:,z-k).gt.0.0,z-k,top)
end do

Hope this helps,
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Apr 22 2009 - 00:01:21 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 14:12:40 MDT