<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Hi, I am having a problem with assigning coordinate. Please tell me what I did wrong. Thanks!<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Part of the script:<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"> lat1d = fspan(lat_ll,lat_ll+lat_res*(numpix_y-1),numpix_y)<br> lat1d!0 = "south_north"<br> lat1d@units = "degrees_north"<br> lon1d = fspan(lon_ll,lon_ll+lon_res*(numpix_x-1),numpix_x)<br> lon1d!0 = "west_east"<br> lon1d@units = "degrees_east"<br><br> footavg=dim_avg_n(foot,0) ; foot has dims of (ntime, numpix_x, numpix_y)<br> footavg!0="south_north"<br> footavg!1="west_east" <br> footavg@south_north=lat1d<br> footavg@west_east=lon1d<br><br> plot = gsn_csm_contour_map(wks,footavg,res)<br><br><br></div>I GOT THIS ERROR:<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>Segmentation fault: 11</div></div>