geodata.cutout#

Cutout class to handle a subset of a Dataset.

Attributes#

Classes#

Cutout

Cutout class to handle a subset of a Dataset.

Functions#

ds_reformat_index(→ xarray.DataArray)

Format the dataArray generated from the convert function.

coarsen(ori, tar[, func])

This function will reindex the original xarray dataset according to the coordiantes of the target.

calc_grid_area(lis_lats_lons)

Calculate area in km^2 for a grid cell given lats and lon border, with help from:

calc_shp_area(shp[, shp_projection])

calculate area in km^2 of the shapes for each shp object

Module Contents#

geodata.cutout.logger[source]#