dggrid4py.DGGRIDv7

class dggrid4py.DGGRIDv7(executable='dggrid', working_dir=None, capture_logs=True, silent=False, tmp_geo_out_legacy=False, has_gdal=True, debug=False)
__init__(executable='dggrid', working_dir=None, capture_logs=True, silent=False, tmp_geo_out_legacy=False, has_gdal=True, debug=False)

Methods

__init__([executable, working_dir, ...])

is_runnable()

check_gdal_support()

post_process_split_dateline(gdf)

run(dggs_meta_ops)

grid_cell_polygons_for_extent(dggs_type, ...)

generates a DGGS grid and returns all the cells as Geodataframe with geometry type Polygon

grid_cell_centroids_for_extent(dggs_type, ...)

generates a DGGS grid and returns all the cell's centroid as Geodataframe with geometry type Point

grid_cell_polygons_from_cellids(...[, ...])

generates a DGGS grid and returns all the cells as Geodataframe with geometry type Polygon

grid_cell_centroids_from_cellids(...[, ...])

generates a DGGS grid and returns all the cell's centroid as Geodataframe with geometry type Point

grid_cellids_for_extent(dggs_type, resolution)

generates a DGGS grid and returns all the cellids as a pandas dataframe (TODO extend for Z3, Z7, ZORDER ..)

cells_for_geo_points(geodf_points_wgs84, ...)

takes a geodataframe with point geometry and optional additional value columns and returns:

grid_stats_table(dggs_type, resolution[, ...])

generates the area and cell statististcs for the given DGGS from resolution 0 to the given resolution of the DGGS

dgapi_grid_gen(dggs, subset_conf, output_conf)

Grid Generation.

dgapi_grid_stats(dggs)

Output Grid Statistics.

dgapi_grid_transform(dggs, subset_conf, ...)

Address Conversion.

dgapi_point_value_binning(dggs, subset_conf, ...)

Point Value Binning.

dgapi_pres_binning(dggs, subset_conf, ...)

Presence/Absence Binning.

cells_for_geo_points(geodf_points_wgs84, ...)

takes a geodataframe with point geometry and optional additional value columns and returns:

address_transform(cell_id_list, dggs_type, ...)

generates the DGGS for the input cell_ids and returns all the transformed cell_ids cell_id_list is a list/numpy array, takes this list as seqnums ids (potentially also Z3, Z7, or ZORDER .