diff --git a/hypercoast/__init__.py b/hypercoast/__init__.py index 66d66909..1d7586c6 100644 --- a/hypercoast/__init__.py +++ b/hypercoast/__init__.py @@ -3,3 +3,6 @@ __author__ = """Qiusheng Wu""" __email__ = "giswqs@gmail.com" __version__ = "0.0.1" + + +from .hypercoast import * diff --git a/hypercoast/hypercoast.py b/hypercoast/hypercoast.py index dd0b80ed..c88424aa 100644 --- a/hypercoast/hypercoast.py +++ b/hypercoast/hypercoast.py @@ -1 +1,16 @@ """Main module.""" + +import leafmap + + +class Map(leafmap.Map): + def __init__(self, **kwargs): + super().__init__(**kwargs) + + def search_emit(self, default_datset="EMITL2ARFL"): + """Search for Earth Engine datasets.""" + self.add("nasa_earth_data", default_dataset=default_datset) + + def search_pace(self, default_datset="PACE_OCI_L2_AOP_NRT"): + """Search for Earth Engine datasets.""" + self.add("nasa_earth_data", default_dataset=default_datset) diff --git a/requirements.txt b/requirements.txt index 24ce15ab..2c15a196 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ +leafmap numpy