[ncl-talk] a question about changing netcdf file

Zheng Lu cfluzheng at gmail.com
Thu Oct 30 23:51:19 MDT 2014


Hi, dear NCL group,

I would like to change the values in a large netcdf file (4000*6000). For
example, if I use the following expression:

in=addfile("a.nc","w")
in->A_Variable(123,1344)=12.3

it takes about only a few seconds,

However if I use

in->A_Variable(123,1344)=12.3*x

, where x is a variable. it takes forever to assign the value to A_Variables

Any idea why?

Thanks very much!


Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141030/b29a84c6/attachment.html 


More information about the ncl-talk mailing list