Uncomment the following line to install geemap if needed.
# !pip install geemap
import os
import geemap
# geemap.update_package()
First, you need to sign up a Planet account and get an API key. See https://developers.planet.com/quickstart/apis. Uncomment the following line to pass in your API key.
# os.environ["PLANET_API_KEY"] = "12345"
tile_format = "ipyleaflet"
if os.environ.get("USE_FOLIUM") is not None:
tile_format = "folium"
# geemap.planet_quarterly()
# geemap.planet_monthly()
# geemap.planet_catalog()
quarterly_tiles = geemap.planet_quarterly_tiles(tile_format=tile_format)
monthly_tiles = geemap.planet_monthly_tiles(tile_format=tile_format)
for tile in quarterly_tiles:
print(tile)
for tile in monthly_tiles:
print(tile)
m = geemap.Map()
m.add_planet_by_month(year=2020, month=8)
m
m = geemap.Map()
m.add_planet_by_quarter(year=2019, quarter=2)
m