[ncl-talk] Replace values of a file without lat and lon with values from a file has lon and lat
Xueyan Zhang
xueyanzhang520 at gmail.com
Sun Jun 23 09:17:30 MDT 2019
Dear Rashed,
Thank you very much! However, the number of grid cells is difference between the two netcdf files, so I can not use your method. When I ran my code, it always reminded me of an error:
fatal:VarVarWrite: Number of dimensions on left hand side does not match right hand side
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 47 in file fveg_replace.ncl
I think error occurs in this sentence: vegfra(0,y,x) = temp.
I have attached my revised code. Is there someone having a look at it?
I really appreciate your help!
Sincerely,
Xueyan
> On Jun 23, 2019, at 2:50 AM, Rashed Mahmood <rashidcomsis at gmail.com> wrote:
>
> <replacevalues_noahmp_wrf.ncl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190623/cbb5eb0e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fveg_replace.ncl
Type: application/octet-stream
Size: 1566 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190623/cbb5eb0e/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190623/cbb5eb0e/attachment-0001.html>
More information about the ncl-talk
mailing list