<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> fatal:Coordinate variables must be the same dimension as their dimension<br></div> Any help in this issue will be appreciated.</blockquote></div><br><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:verdana,sans-serif">​The solution is in the error message.  NCL can&#39;t copy the metadata of 3 dimensions ​to a variable that only has 2 dimensions. </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">​I think the general way to &quot;trick&quot; NCL into doing this is </div><div class="gmail_default" style="font-family:verdana,sans-serif">if a is lev,lat,lon and b is lat,lon</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default"><font face="monospace, monospace">copy_VarMeta(a(0,:,:), b)​</font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">b will likely have a &quot;lev&quot; attribute after that which you will probably wan&#39;t to make sure is correct or delete it. </div><br></div><div class="gmail_extra"><br></div></div>