Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated asset id for modis dataset #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hydrafloods/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,14 +726,14 @@ def qa(self, img):

class Modis(Dataset):
def __init__(
self, *args, asset_id="MODIS/006/MOD09GA", use_qa=True, **kwargs
self, *args, asset_id="MODIS/061/MOD09GA", use_qa=True, **kwargs
):
"""Initialize MODIS Dataset class
Can be used with MOD09GA and MYD09GA

args:
*args: positional arguments to pass to `Dataset` (i.e. `region`, `start_time`, `end_time`)
asset_id (str): asset id of the MODIS earth engine collection. default="MODIS/006/MOD09GA"
asset_id (str): asset id of the MODIS earth engine collection. default="MODIS/061/MOD09GA"
use_qa (bool, optional): boolean to determine to use a private `self.qa()` function. default=True
rescale (bool, optional): boolean switch to convert units from scaled int (0-10000) to float (0-1). If false values will be scaled int. default = False
**kwargs (optional): addtional arbitrary keywords to pass to `Dataset`
Expand Down