-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from opengeos/map
Add Map class
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ | |
__author__ = """Qiusheng Wu""" | ||
__email__ = "[email protected]" | ||
__version__ = "0.0.1" | ||
|
||
|
||
from .hypercoast import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
leafmap | ||
numpy |