Repository navigation
CLI_checker
Carles Tena edited this page Oct 6, 2026
·
1 revision
Checks all variables in a NetCDF file for NaN and/or Inf values.
nes check -i <input_file.nc> [--nan] [--no-nan] [--inf] [--no-inf] [--avoid_first_hours N]-
-i,--iile: Path to the NetCDF file to validate. (required) -
--nan: Enable NaN checking (default: enabled). -
--no-nan: Disable NaN checking. -
--inf: Enable Inf checking (default: enabled). -
--no-inf: Disable Inf checking. -
--avoid_first_hours N (int): Skips the firstNhours. -
-l,--var_list: Optional list of variables to check; defaults to all variables.
nes check -i output.ncDisables Inf checking:
nes check -i output.nc --no-infSkips first two hours:
nes check -i output.nc --avoid_first_hours 2