regrid_to_grid.py#

Horizontal regrid to regular grid application.#

Regrids ugrid data to a target regular grid using ugants.regrid.applications.MeshToGridRegrid. The result is written to an output file. The application supports horizontal regridding only.

See also

ugants.regrid

Command Line Interface#

usage: regrid_to_grid.py [-h] --horizontal-regrid-scheme
                         {conservative,bilinear,nearest}
                         [--input-weights INPUT_WEIGHTS]
                         [--output-weights OUTPUT_WEIGHTS]
                         source target_grid output

Positional Arguments#

source

Path to source.

target_grid

Path to target_grid.

output

Path to output the results from MeshToGridRegrid.

Named Arguments#

--horizontal-regrid-scheme

Possible choices: conservative, bilinear, nearest

--input-weights

Default is .

--output-weights

Default is .