Re: Vertical cross section of mixing ratio variables

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 23 2012 - 09:16:34 MDT

NCL does not allow array sizes to be 'dynamically' redefined like
(say) Matlab. NCL requires that arrays be explicitly deleted.

ZI think you need to

   delete(qc_plane)

or , more robustly,

   if (isvar("qc_plane")) then
       delete(qc_plane)
   end if

   delete(qc_plane
On 3/23/12 8: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
>
>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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:16:45 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 27 2012 - 08:50:24 MDT