radproc.arcgis.idTable_nineGrid

radproc.arcgis.idTable_nineGrid(inPointFC, idRaster, outPointFC, indexField)

Gets the IDs of point locations from an ID raster and calculates the IDs of the eight surrounding cells for every point.

Scientific background: Hydrometeors detected by the radar in higher altitudes do not necessarily reach the ground in the same pixel area due to wind drift. Consequently, it may be necessary to take the surrounding cells into account when comparing radar and gauge measurements. For instance, this nine cell grid is used by the German Weather Service (DWD) to compare weather radar and gauge measurements. The DWD uses the pixel from the nine cell grid with the least absolute difference between radar and gauge measurement to calculate the adjustment factors/differences.

Parameters:
inPointFC: String
Path and name of ArcGIS Point Feature Class or Shapefile defining the point locations, e.g. rain gauges, wind energy plants.
idRaster : string
Path to raster dataset containing ID values.
outPointFC : String
Path and name of the output point Feature Class to be created.
indexField : String
Field from inPointFC containing the index values for the point locations, e.g. the station names.
Returns:
idTable : pandas DataFrame
containing the nine cell IDs (columns) for every point.