polartoolkit.fetch.ibcso#
- ibcso(layer, reference='geoid', region=None, spacing=None, registration=None, **kwargs)[source]#
Load IBCSO v2 data, from Dorschel et al.[1] and Dorschel et al.[2].
By default the elevations are relative to Mean Sea Level (the geoid). To convert them to be relative to the WGS84 ellipsoid, set reference=âellipsoid which will add the EIGEN-6C4 geoid anomaly.
- Parameters:
layer (str) â choose which layer to fetch: âsurfaceâ, âbedâ
reference (str, optional) â choose which vertical reference to use, âgeoidâ or âellipsoidâ, by default âgeoidâ
region (tuple[float, float, float, float], optional) â region to clip the loaded grid to, in format [xmin, xmax, ymin, ymax], by default doesnât clip
spacing (str or int, optional) â grid spacing to resample the loaded grid to, by default 500m. If spacing >= 5000m, will resample the grid to 5km, and save it as a preprocessed grid, so future fetch calls are performed faster.
registration (str, optional) â change registration with either âpâ for pixel or âgâ for gridline registration, by default is None.
**kwargs (Any) â additional keyword arguments to pass to the resample_grid function
- Returns:
Returns a loaded, and optional clip/resampled grid of IBCSO data.
- Return type:
References