NEAREST_GRID(1)
π NEAREST_GRID(1) π
okay bestie, welcome to the User Commands section of the manual, and today's main character is nearest_grid β¨
πΈ NAME πΈ
nearest_grid β literally just nearest_grid, she's giving minimalism, she's giving "the name is the name" π
π¦ SYNOPSIS π¦
nearest_grid input.grd output.grd [search_radius]
that's it. that's the whole vibe. two files you gotta give her, and one little optional extra in square brackets π
π DESCRIPTION π
so first things first: this program is part of GMTSAR π«Ά
and here's the tea you actually came for β the NaNs get interpolated to their nearest neighbour. yes, that's the whole personality. the missing-data girlies get matched up with whoever's closest and honestly? slay π
here's the usage, verbatim, because I would never gatekeep:
Usage: nearest_grid input.grd output.grd [search_radius]
and to say it again in case you skipped the top (no judgement, I do it too π):
NaNs will be interpolated to its nearest neighbour
so you hand her an input.grd, you tell her where to drop the output.grd, and if you're feeling spicy you can also pass a search_radius β she'll take it, she's not gonna complain β¨
and that's the whole page bestie, no cap, every crumb of it π
this iconic little number comes to you from nearest_grid, dated May 2024, filed under NEAREST_GRID(1) π go interpolate something, you got this π
π¦ where this page comes from
- debian trixie: gmtsar-core 6.5+ds-3 Β· GPL-3.0-only
- ubuntu questing: gmtsar-core 6.5+ds-3
- ubuntu resolute: gmtsar-core 6.6+ds-1build1 Β· GPL-3.0-only
- ubuntu stonking: gmtsar-core 6.7+ds-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms