<div dir="ltr"><div><div>Hi,<br></div>Please help me to fix this bug? Here is part of my code and the error I get<br>x4d = reshape(precppicktimeAMJJAS,(/183,4,26,76/))<br>print(x4d(:,:,0,0))<br>;printVarSummary(precppicktimeAMJJAS) ;print out structure/basic info of the data<br>printVarSummary(x4d) ;print out structure/basic info of the data<br><br>xSumLon = dim_sum_n(x4d,1)<br>printVarSummary(xSumLon) ;print out structure/basic info of the data<br>xSumLon!0="time" ;added by feng<br>xSumLon!1="lat" ;added by feng<br>xSumLon!2="lon" ;added by feng<br>xSumLon&lat = x4d(0,0,:,0)<br>xSumLon&lon = x4d(0,0,0,:)<br>xd=xSumLon<br>;;;;;;;;;Areal average;;;;;;;;;;;;;;;;;;;;;;<br>printVarSummary(xSumLon)<br>zAvgLon = dim_avg_n_Wrap(xSumLon,(0))<br>printVarSummary(zAvgLon)<br>printMinMax(zAvgLon,0)<br>print(zAvgLon)<br>(0)   check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.<br>(0)   A valid latitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0)      'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'<br>(0)   check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.<br>(0)   A valid longitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0)      'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br><br></div>Thank you,<br><br><div><br></div></div>