xdggs.H3Info.geographic2cell_ids#
- H3Info.geographic2cell_ids(lon, lat)#
Convert cell ids to geographic coordinates
This will perform a binning operation: any point within a grid cell will be assign that cell’s ID.
- Parameters:
lon (array-like) – The longitude coordinate values in degree
lat (array-like) – The latitude coordinate values in degree
- Returns:
cell_ids (array-like) – Array-like containing the cell ids.