[ncl-talk] Remove data for specific area

Guido Cioni guidocioni at gmail.com
Tue Aug 29 02:06:55 MDT 2017


Hi,
if you have a _FillValue correctly set I would advise you to replace the data of SST in that box with missing values. It will keep the dimensionality but prevent you from using those data when computing the correlation.
You can use the where function (https://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml <https://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml>). Look at Example #3

Cheers

> On 29. Aug 2017, at 10:01, Dinuka Silva <dinu.kera at gmail.com> wrote:
> 
> Hi all,
> 
> I want to remove SST data of one box ({03N - 12N}, {90E- 140E}) and then find the correlation between remaining SST data and rainfall index. I want to know how can I remove the SST data of that box.
> 
> Thank you .
> 
> Dinuka
> 
>  <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>	Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> <x-msg://4/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk


Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170829/79486db4/attachment.html>


More information about the ncl-talk mailing list