regrid_to_mesh.py#
Horizontal regrid to UGrid mesh#
Regrids data from a source grid to a target UGrid mesh using
ugants.regrid.command_line.Regrid. The result is written to an output
file. The application supports horizontal regridding only.
See also
Command Line Interface#
usage: regrid_to_mesh.py [-h] [--target-mesh-name TARGET_MESH_NAME]
--target-mesh TARGET_MESH --horizontal-regrid-scheme
{conservative,bilinear,nearest}
[--tolerance TOLERANCE]
[--input-weights INPUT_WEIGHTS]
[--output-weights OUTPUT_WEIGHTS]
source output
Positional Arguments#
- source
Path to source.
- output
Path to output the results from Regrid.
Named Arguments#
- --target-mesh-name
The name of the mesh contained in the file provided to ‘–target-mesh’.
- --target-mesh
Path to target_mesh.
- --horizontal-regrid-scheme
Possible choices: conservative, bilinear, nearest
- --tolerance
Default is 0.
- --input-weights
Default is .
- --output-weights
Default is .