lair.inventories.Vulcan.reproject#

Vulcan.reproject(resolution=0.01, regrid_method='conservative', inplace=False, force=False)[source]#

Reproject the data to a lat lon rectilinear grid.

Tip

This method is memory intensive and may require a lot of RAM. It is highly recommended to clip the data first.

Parameters:
  • resolution (float | tuple[x_res, y_res]) – The new resolution in degrees. If a single value is provided, the resolution is assumed to be the same in both dimensions.

  • regrid_method (str, optional) – The regridding method, by default ‘conservative’.

  • inplace (bool, optional) – Whether to modify the object in place. Default is False.

  • force (bool) – Whether to override the clipping requirement

Returns:

Vulcan – The reprojected inventory (on EPSG:4326 lat/lon).

Raises:

ValueError – If the data was not clipped first and force is False.

Return type:

Self

See also

Vulcan.clip

Clip first.