sids_from_xy#
- sids_from_xy(lon, lat, level)#
Takes a list/array of lon and lat and returns a (set of) STARE index/ices
- Parameters
- lon: numerical/float
Longitude of point
- lat: numerical/float
Latitude of point
- level: int
STARE spatial level
- Returns
- sids
Array of STARE index values
Examples
>>> import starepandas >>> x = [10.1, 20.9] >>> y = [55.3, 60.1] >>> starepandas.sids_from_xy(x, y, level=15) array([4254264869405326191, 3640541580264132591])