Skip to content

Commit

Permalink
Merge pull request #84 from nasaharvest/new-kenya-data
Browse files Browse the repository at this point in the history
Add Kenya data
  • Loading branch information
ivanzvonkov authored Aug 22, 2022
2 parents 93486c5 + e0eecad commit eec94ac
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildings-example/openmapflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.1.3
version: 0.1.4
project: buildings-example
description: OpenMapFlow buildings example
gcloud:
Expand Down
2 changes: 1 addition & 1 deletion crop-mask-example/openmapflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.1.3
version: 0.1.4
project: crop-mask-example
description: OpenMapFlow crop mask example
gcloud:
Expand Down
2 changes: 1 addition & 1 deletion maize-example/openmapflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.1.3
version: 0.1.4
project: maize-example
description: OpenMapFlow maize example
gcloud:
Expand Down
2 changes: 1 addition & 1 deletion openmapflow/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 13 additions & 1 deletion openmapflow/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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]
1 change: 1 addition & 0 deletions openmapflow/labeled_dataset_existing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@dataclass
class ExistingLabeledDataset(LabeledDataset):

source_code_url: str = ""
download_url: str = ""
chunk_size: int = 1024

Expand Down

0 comments on commit eec94ac

Please sign in to comment.