/
report.py
40 lines (35 loc) · 1.11 KB
/
report.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""Module for reporting issues with geemap."""
# *******************************************************************************#
# This module contains extra features of the geemap package. #
# The geemap community will maintain the extra features. #
# *******************************************************************************#
import scooby
from typing import Optional
class Report(scooby.Report):
def __init__(
self,
additional: Optional[dict] = None,
ncol: int = 3,
text_width: int = 80,
sort: bool = False,
):
"""Initiate a scooby.Report instance."""
core = [
"geemap",
"ee",
"ipyleaflet",
"folium",
"jupyterlab",
"notebook",
"ipyevents",
]
optional = ["geopandas", "localtileserver"]
scooby.Report.__init__(
self,
additional=additional,
core=core,
optional=optional,
ncol=ncol,
text_width=text_width,
sort=sort,
)