Re: extract data according temperature level

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 10 2014 - 09:50:21 MDT

You might take a look at NCL's "where" function:

  http://ncl.ucar.edu/Document/Functions/Built-in/where.shtml

Assuming you have an array "x", perhaps something like this is what you
want?

 x = *where*(x.le.0 .and. x.ge.-20, x, x@_FillValue)


Hope that helps...
Rick


On Tue, Jun 10, 2014 at 6:13 AM, grace <313695096@qq.com> wrote:

> Hi,all:
> I am wondering how to extract data according temperature level?
> For example,I want to calculate the data between 0℃ and -20=
℃。Did NCL
> have such function?
> Or do you guys have some advice?
> any information will be appreciated
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

Received on Tue Jun 10 03:50:31 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT