from_lonlat#

from_lonlat(lon, lat, level)#

Converts longitudes and latitudes to SIDs at the given level. (c.f. from_latlon()).

Examples

>>> lats = [34.4]
>>> lons = [-119.7]
>>> pystare.from_lonlat(lon=lons, lat=lats, level=7)
array([3331783833575763399])