<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font size="4" class="">Dear Rashed,</font><div class=""><font size="4" class=""><br class=""></font></div><div class=""><font size="4" class="">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: </font></div><div class=""><font size="4" class=""><br class=""></font></div><div class=""><span style="font-size: large;" class="">fatal:VarVarWrite: Number of dimensions on left hand side does not match right hand side</span><font size="4" class=""><div class="">fatal:["Execute.c":8640]:Execute: Error occurred at or near line 47 in file fveg_replace.ncl</div><div class=""><br class=""></div><div class="">I think error occurs in this sentence: vegfra(0,y,x) = temp.</div><div class=""><br class=""></div><div class="">I have attached my revised code. Is there someone having a look at it?</div><div class=""><br class=""></div><div class="">I really appreciate your help!</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class=""><br class=""></div><div class="">Xueyan</div></font></div></body></html>