[ncl-talk] Easier, more elegant way to do: ncl where() and keepMetaData?

Erik J. Schaffernicht eschaffe at uni-koeln.de
Tue Jun 23 05:14:15 MDT 2015


Is there an easier/shorter way(?) than the following to keep the metaData:

                             (sediProbab is a matrix with metaData)

w2=sediProbab
w2=where(landAreaFrV .lt. 0.5, w2 at _FillValue, w2)
copy_VarMeta(sediProbab,w2)
sediProbab=w2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5001 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150623/0ec8d960/attachment.bin 


More information about the ncl-talk mailing list