polartoolkit.change_registration

polartoolkit.change_registration#

change_registration(grid)[source]#

Use GMT grdedit to change the registration type in the metadata.

Parameters:

grid (xarray.DataArray) – input grid to change the reg for.

Returns:

returns a xarray.DataArray with switched reg type.

Return type:

xarray.DataArray