<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear NCL Team<div><br></div><div>In the NCL example script,  <span style="color:rgb(0,0,0);white-space:pre-wrap">skewt_10.ncl. The following loop is not working. I am also copying the error below.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"> </span><span style="color:rgb(0,0,0);white-space:pre-wrap">;---Calculate coordinates of hodograph grid circles</span></div><pre style="color:rgb(0,0,0);white-space:pre-wrap"> circle_rad   = ispan(20,240,20)                     ; hodograph grid circle radii
 n_circle_rad = dimsizes(circle_rad)
 circle_deg   = ispan(0,360,2)                       ; points 360 deg around hodograph circle
 n_deg        = dimsizes(circle_deg)
 cir_x_pts    = new((/n_circle_rad,n_deg/),"float")  ; x coordinates for hodograph circles
 cir_y_pts    = new((/n_circle_rad,n_deg/),"float")  ; y coordinates for hodograph circles

 do cc=0,n_deg-1                                         ; loop through all degrees in circle
  do dd=0,n_circle_rad-1                                 ; loop through all radii
   uv = wind_component(circle_rad(dd),circle_deg(cc),0)  ; calculate x,y coordinates using wind_component fx
   cir_x_pts(dd,cc) = uv(0,0)                            ; x coordinates are in index 0
   cir_y_pts(dd,cc) = uv(1,0)                            ; y coordinates are in index 1
  end do
 end do</pre><pre style="color:rgb(0,0,0);white-space:pre-wrap"><br></pre><pre style="overflow-wrap: break-word;"><font color="#000000"><span style="white-space:pre-wrap">warning:New: Could not coerce missing value parameter into appropriate type, using default
fatal:Number of subscripts (1) and number of dimensions (2) do not match for variable (uv)
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 1279 in file /opt/ncl/lib/ncarg/nclscripts/csm/contributed.ncl<br></span></font></pre><pre style="overflow-wrap: break-word;"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></pre><pre style="overflow-wrap: break-word;">I would be grateful if I can get a reply to this question.</pre></div></div></div></div>