Swath function

Some netCDF or HDF datasets store their geolocation as irregularly spaced arrays. When adding these datasets to a mosaic dataset, the swath function takes the irregularly gridded data and resamples it so that each pixel is of uniform size and is square.

Notes

Parameters

Parameter nameDescription
Raster

The irregularly gridded raster to be resampled.

Interpolation Method

There are four resampling methods for this function:

  • Nearest Neighbor—Calculates pixel value using the nearest pixel. If no source pixel exists, no new pixel can be created in the output.
  • Bilinear—Calculates pixel value using the distance-weighted value of four nearest pixels.
  • Linear Tinning—Uses a triangulated irregular network from the center points of each cell in the irregular raster to interpolate a surface that is then converted to a regular raster.
  • Natural Neighbor—Performs a nearest neighbor assignment, is the fastest of the interpolation methods. It is used primarily for discrete data, such as a land-use classification, since it will not change the values of the cells. The maximum spatial error will be one-half the cell size.

Cellsize

The cell size for the output raster will be automatically detected; however, you can change this if you want to. The cell size can be changed, but the extent of the raster dataset will remain the same.


In this topic
  1. Notes
  2. Parameters