
  <font size="-1"><tt>% lon/lat of grid corners</tt></font><br>
  <font size="-1"><tt>lon=[pin.Westernmost_Longitude:pin.Longitude_Step:pin.Easternmost_Longitude];</tt></font><br>
  <font size="-1"><tt>lat=[pin.Northernmost_Latitude:-pin.Latitude_Step:pin.Southernmost_Latitude];</tt></font><br>
  <br>
  <font size="-1"><tt>% Get the indices needed for the area of interest</tt></font><br>
  <font size="-1"><tt>[mn,ilt]=min(abs(lat-max(LATLIMS)));</tt></font><br>
  <font size="-1"><tt>[mn,ilg]=min(abs(lon-mi