diff --git a/buildings-example/openmapflow.yaml b/buildings-example/openmapflow.yaml index 43510949..22b06df0 100644 --- a/buildings-example/openmapflow.yaml +++ b/buildings-example/openmapflow.yaml @@ -1,4 +1,4 @@ -version: 0.1.3 +version: 0.1.4 project: buildings-example description: OpenMapFlow buildings example gcloud: diff --git a/crop-mask-example/openmapflow.yaml b/crop-mask-example/openmapflow.yaml index 346ff08d..01a4bf74 100644 --- a/crop-mask-example/openmapflow.yaml +++ b/crop-mask-example/openmapflow.yaml @@ -1,4 +1,4 @@ -version: 0.1.3 +version: 0.1.4 project: crop-mask-example description: OpenMapFlow crop mask example gcloud: diff --git a/maize-example/openmapflow.yaml b/maize-example/openmapflow.yaml index d2ba7436..8f46a5d5 100644 --- a/maize-example/openmapflow.yaml +++ b/maize-example/openmapflow.yaml @@ -1,4 +1,4 @@ -version: 0.1.3 +version: 0.1.4 project: maize-example description: OpenMapFlow maize example gcloud: diff --git a/openmapflow/constants.py b/openmapflow/constants.py index 3eb68a5d..48c07a42 100644 --- a/openmapflow/constants.py +++ b/openmapflow/constants.py @@ -13,7 +13,7 @@ TEMPLATE_README = TEMPLATES_DIR / "README.md" TEMPLATE_DEPLOY_YML = TEMPLATES_DIR / "github-deploy.yaml" TEMPLATE_TEST_YML = TEMPLATES_DIR / "github-test.yaml" -VERSION = "0.1.3" +VERSION = "0.1.4" # -------------- Dataframe column names -------------------------------------- SOURCE = "source" diff --git a/openmapflow/datasets.py b/openmapflow/datasets.py index f317216d..518251f4 100644 --- a/openmapflow/datasets.py +++ b/openmapflow/datasets.py @@ -10,6 +10,7 @@ license="CC BY-3.0", country="global", download_url="https://storage.googleapis.com/harvest-public-assets/openmapflow/datasets/crop/geowiki_landcover_2017.csv", + source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py", ) togo_crop_2019 = ExistingLabeledDataset( @@ -24,6 +25,17 @@ + "crop maps in data sparse regions. In ACM SIGKDD Conference on Data Mining and " + "Knowledge Discovery Workshops, 2020." ), + source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py", ) -datasets = [geowiki_landcover_2017, togo_crop_2019] +kenya_crop_2018_2019 = ExistingLabeledDataset( + country="Kenya", + dataset="Kenya_2018_2019", + label_type="binary", + license="CC BY-4.0", + download_url="https://storage.googleapis.com/harvest-public-assets/openmapflow/datasets/crop/Kenya_2018_2019.csv", + source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py", +) + + +datasets = [geowiki_landcover_2017, togo_crop_2019, kenya_crop_2018_2019] diff --git a/openmapflow/labeled_dataset_existing.py b/openmapflow/labeled_dataset_existing.py index 5327d026..bab13a86 100644 --- a/openmapflow/labeled_dataset_existing.py +++ b/openmapflow/labeled_dataset_existing.py @@ -10,6 +10,7 @@ @dataclass class ExistingLabeledDataset(LabeledDataset): + source_code_url: str = "" download_url: str = "" chunk_size: int = 1024