<div dir="ltr">Hello,<div>I am having trouble calculating the US county area averages using gridded CONUS data and US county shape file data.  The county polyline overlay works, but I cannot get the county area average function to work with my data.</div>



<div>Following the example script </div><div><a href="http://www.ncl.ucar.edu/Applications/Scripts/shapefiles_13.ncl" target="_blank">www.ncl.ucar.edu/Applications/Scripts/shapefiles_13.ncl</a></div><div>I am getting the following error:</div>



<div><br></div><div>fatal: Subscript out of range, error in subscript #0</div><div>fatal: An error occurred reading skip_check</div><div><br></div><div>;The CONUS data is land only for the coterminous US:</div><div><div>

<br></div><div>hf1 = addfile(&quot;<a href="http://conus.nc" target="_blank">conus.nc</a>&quot;,&quot;r&quot;)</div><div>data = hf1-&gt;tmaxhist(:,:)           ; ((/nlat,nlon/),float)</div></div><div>lat = hf1-&gt;lat</div>
<div>lon = hf1-&gt;lon</div>
<div><br></div><div>; The attributes of data and lat/lon are as follows:</div><div>;  nlat = 222</div>

<div>;  nlon = 462</div><div>;  minlat/maxlat = 25.1875/52.8125</div><div>;  minlon/maxlon = 235.312/292.938</div>
<div>;  lat@units = &quot;degrees_north&quot;</div><div>;  lon@units = &quot;degrees_east&quot;</div><div><br></div><div><br></div><div>Any help would be much appreciated.  Thank you.</div><div>-- <br><div dir="ltr"><div style="font-family:arial;font-size:small">

Cary Lynch</div><div style="font-family:arial;font-size:small">

<div style="font-family:Helvetica;font-size:12px"><br></div>

</div></div>
</div></div>