Cecille,
The error is telling you that the function you're calling, I believe it is "wrf_user_intrp3d" in this case, is returning an array that doesn't match the size of the array you are specifying on the left side of the "=" sign.
You will need to delete this variable before the next time in the loop, because NCL will not allow you to do this kind of thing.
Try adding:
delete(qc_plane)
just before the "end do"
If you need to delete multiple variables, *and* you are using NCl V6.0.0, then you can delete multiple variables:
delete([/qc_plane,qv_plane,tc_plane/])
--Mary
On Mar 23, 2012, at 9:49 AM, Cecille Villanueva-Birriel wrote:
>
>
> Hello,
>
> I am in the middle of modifying an ncl script to get vertical cross sections of different mixing ratio variables from my WRF idealize run. However, every time I run it I get this error
>
> fatal:Dimension sizes of left hand side and right hand side of assignment do not match
> fatal:Execute: Error occurred at or near line 116 in file wrf_CrossSection_2.ncl
>
> If I get rid of that variable (which is qc), it will happen with the next mixing ratio variable. I Don't know what is wrong. I have looked and I don't see any errors. Here is the ncl script.
>
> Thanks,
> Cecille
>
>
>>
> <wrf_CrossSection_2.ncl>
>>
>>
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 23 09:10:51 2012
This archive was generated by hypermail 2.1.8 : Tue Mar 27 2012 - 08:50:24 MDT