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 lacuna_labels.py, round 2 #156

Merged
merged 1 commit into from
Mar 20, 2025
Merged
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
22 changes: 19 additions & 3 deletions fiboa_cli/datasets/lacuna_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class LacunaLabelsConverter(BaseConverter):
sources = "https://zenodo.org/records/11060871/files/mapped_fields_final.parquet?download=1"
sources = "https://africa-field-boundary-labels.s3.us-west-2.amazonaws.com/mapped_fields_final.parquet"
id = "lacuna"
short_name = "Lacuna Labels"
title = "A region-wide, multi-year set of crop field boundary labels for Africa"
Expand All @@ -22,7 +22,14 @@

Please refer to the [technical report](docs/report/technical-report.pdf)
for more details on the methods used to develop the dataset, an analysis
of label quality, and usage guidelines.
of label quality, and usage guidelines, and the publication:

Check failure on line 25 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:25:65: W291 Trailing whitespace

Estes, L. D., Wussah, A., Asipunu, M., Gathigi, M., Kovačič, P., Muhando, J.,

Check failure on line 27 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:27:82: W291 Trailing whitespace
Yeboah, B. V., Addai, F. K., Akakpo, E. S., Allotey, M. K., Amkoya, P., Amponsem, E.,

Check failure on line 28 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:28:90: W291 Trailing whitespace
Donkoh, K. D., Ha, N., Heltzel, E., Juma, C., Mdawida, R., Miroyo, A., Mucha, J.,

Check failure on line 29 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:29:86: W291 Trailing whitespace
Mugami, J., Mwawaza, F., Nyarko, D. A., Oduor, P., Ohemeng, K. N., Segbefia, S. I. D.,

Check failure on line 30 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:30:91: W291 Trailing whitespace
Tumbula, T., Wambua, F., Xeflide, G. H., Ye, S., Yeboah, F.(2024). A region-wide,

Check failure on line 31 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:31:86: W291 Trailing whitespace
multi-year set of crop field boundary labels for Africa. arXiv:2412.18483.

Data is published at https://zenodo.org/records/11060871 and can be used in accordance with
[Planet’s participant license agreement for the NICFI contract](https://go.planet.com/nicfi-pla-2024).
Expand All @@ -45,13 +52,22 @@
}

columns = {
"geometry": "geometry",
"id": "id",
"name": "name",
"assignment_id": "assignment_id",

Check failure on line 57 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:57:42: W291 Trailing whitespace
"image_date": "image_date",
"completion_time": "completion_time",
"category": "category",
"geometry": "geometry",

Check failure on line 62 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:62:1: W293 Blank line contains whitespace
}

missing_schemas = {
"properties": {
"name": {"type": "string"},
"category": {"type": "string"},
"assignment_id": {"type": "string"},
"image_date": {"type": "string"},

Check failure on line 70 in fiboa_cli/datasets/lacuna_labels.py

View workflow job for this annotation

GitHub Actions / ruff

fiboa_cli/datasets/lacuna_labels.py:70:46: W291 Trailing whitespace
"completion_time": {"type": "date-time"},
}
}
Loading