Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

The meaning of nearest_neighbor for categorical datasets

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

juelun

New member
In the users guide, the explanatory note for nearest_neighbor for categorical datasets is
For categorical datasets (i.e., datasets that have
type=categorical in their index files), this option actually causes the geogrid program
to consider all source pixels that lie within each WRF grid cell, and to find the fraction of
the WRF grid cell that is comprised of each category in the source data.
And I want to know if it has more algorithm details for this interpolation option.
 
Hi,
For details regarding this calculation, you can see the code in WPS/geogrid/src/proc_point_module.F.
 
Top