[ncl-talk] Remove SST data for specific area
Dinuka Silva
dinu.kera at gmail.com
Tue Aug 29 23:30:12 MDT 2017
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. SST data has 3
dimensions. I used mask function but I got error message.
x = fin2->sst(:,:,:)
x at lat2d = fin2->latitude
x at lon2d = fin2->longitude
latMin = 03
latMax = 12
lonMin = 90
lonMax = 140
x = mask (x, conform(x, (x at lat2d.ge.latMin .and.x at lat2d.le.latMax
.and.x at lon2d.ge.lonMin .and.x at lon2d.le.lonMax), (/1,2/)), True)
printVarSummary(x)
The error message : Dimension size, for dimension number 0, of operands
does not match, can't continue
Thanks for your help.
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>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170830/53da195e/attachment.html>
More information about the ncl-talk
mailing list