Skip to content

Commit eec94ac

Browse files
authored
Merge pull request #84 from nasaharvest/new-kenya-data
Add Kenya data
2 parents 93486c5 + e0eecad commit eec94ac

6 files changed

Lines changed: 18 additions & 5 deletions

File tree

buildings-example/openmapflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.1.3
1+
version: 0.1.4
22
project: buildings-example
33
description: OpenMapFlow buildings example
44
gcloud:

crop-mask-example/openmapflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.1.3
1+
version: 0.1.4
22
project: crop-mask-example
33
description: OpenMapFlow crop mask example
44
gcloud:

maize-example/openmapflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.1.3
1+
version: 0.1.4
22
project: maize-example
33
description: OpenMapFlow maize example
44
gcloud:

openmapflow/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
TEMPLATE_README = TEMPLATES_DIR / "README.md"
1414
TEMPLATE_DEPLOY_YML = TEMPLATES_DIR / "github-deploy.yaml"
1515
TEMPLATE_TEST_YML = TEMPLATES_DIR / "github-test.yaml"
16-
VERSION = "0.1.3"
16+
VERSION = "0.1.4"
1717

1818
# -------------- Dataframe column names --------------------------------------
1919
SOURCE = "source"

openmapflow/datasets.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
license="CC BY-3.0",
1111
country="global",
1212
download_url="https://storage.googleapis.com/harvest-public-assets/openmapflow/datasets/crop/geowiki_landcover_2017.csv",
13+
source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py",
1314
)
1415

1516
togo_crop_2019 = ExistingLabeledDataset(
@@ -24,6 +25,17 @@
2425
+ "crop maps in data sparse regions. In ACM SIGKDD Conference on Data Mining and "
2526
+ "Knowledge Discovery Workshops, 2020."
2627
),
28+
source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py",
2729
)
2830

29-
datasets = [geowiki_landcover_2017, togo_crop_2019]
31+
kenya_crop_2018_2019 = ExistingLabeledDataset(
32+
country="Kenya",
33+
dataset="Kenya_2018_2019",
34+
label_type="binary",
35+
license="CC BY-4.0",
36+
download_url="https://storage.googleapis.com/harvest-public-assets/openmapflow/datasets/crop/Kenya_2018_2019.csv",
37+
source_code_url="https://github.com/nasaharvest/crop-mask/blob/master/datasets.py",
38+
)
39+
40+
41+
datasets = [geowiki_landcover_2017, togo_crop_2019, kenya_crop_2018_2019]

openmapflow/labeled_dataset_existing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@dataclass
1111
class ExistingLabeledDataset(LabeledDataset):
1212

13+
source_code_url: str = ""
1314
download_url: str = ""
1415
chunk_size: int = 1024
1516

0 commit comments

Comments
 (0)