search_nodes v3.2.3

Mercurial revision 5786:5c8b45563631 | 2026-08-04


Description

search_nodes is a command-line tool that prints the number of mesh nodes contained within a specified polygon.


Usage

search_nodes [OPTIONS] -m mesh -p polygon

Options

Option

Description

-h, --help

Display this help message and exit.

-m <file>

Required. Path to the mesh file.

-p <file>

Required. Path to the polygon file defining the working area.


Examples

Basic Usage

Count the number of mesh nodes inside a polygon:

search_nodes -m mesh_file.nc -p polygon_file.txt

Using a Custom Mesh and Polygon

Specify a custom mesh and polygon file:

search_nodes -m /path/to/mesh.nc -p /path/to/polygon.txt