Skip to content

Commit

Permalink
Merge pull request #6 from opengeos/map
Browse files Browse the repository at this point in the history
Add Map class
  • Loading branch information
giswqs authored Apr 16, 2024
2 parents 7285f6d + 1ed5ac3 commit a484b20
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypercoast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
__author__ = """Qiusheng Wu"""
__email__ = "[email protected]"
__version__ = "0.0.1"


from .hypercoast import *
15 changes: 15 additions & 0 deletions hypercoast/hypercoast.py
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
leafmap
numpy

0 comments on commit a484b20

Please sign in to comment.