From fd5608daa9d2e0db41a9581b23bd42381fe72250 Mon Sep 17 00:00:00 2001 From: Barasakar Date: Thu, 25 Jul 2024 12:28:14 -0500 Subject: [PATCH 1/5] Brazil converter done. Needs some reviews --- fiboa_cli/datasets/fs_br.py | 206 ++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 fiboa_cli/datasets/fs_br.py diff --git a/fiboa_cli/datasets/fs_br.py b/fiboa_cli/datasets/fs_br.py new file mode 100644 index 0000000..ad13fba --- /dev/null +++ b/fiboa_cli/datasets/fs_br.py @@ -0,0 +1,206 @@ +from ..convert_utils import convert as convert_ +import re +import pandas as pd + +# Please REMOVE the comment after review: +# I was actually using this link "https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/vz6d7tw87f-1.zip" which is copied from the +# "Download All" button from the website (https://data.mendeley.com/datasets/vz6d7tw87f/1). +# But output an error saying """/vsizip//tmp/tmp7puy6g90/vz6d7tw87f-1.zip' not recognized as a supported file format. +# It might help to specify the correct driver explicitly by prefixing the file path with ':', e.g. 'CSV:path'"""" +SOURCES = "https://github.com/fiboa/data/files/15438544/LEM_dataset.zip" + + +ID = "br" +SHORT_NAME = "Brazil" +TITLE = "Field boundaries for Brazil" +DESCRIPTION = """ +This dataset is the supplementary data of a paper published in the Data in Brief Journal. + +The dataset, in ESRI shapefile format (spatial reference system: WGS 84, EPSG: 4326), provides monthly land use +information about 1854 fields from October 2019 to September 2020 from Luís Eduardo Magalhães (LEM) and other +municipalities in the west of Bahia state, Brazil. The majority of the 16 land uses classes are related to crops. +""" + + +PROVIDERS = [ + { + "name": "Mendeley Data", + "url": "https://data.mendeley.com/datasets/vz6d7tw87f/1#file-5ac1542b-12ef-4dce-8258-113b5c5d87c9", + "roles": ["producer", "licensor"] + } +] + +ATTRIBUTION = "Copyright © 2024 Elsevier inc, its licensors, and contributors." +LICENSE = "CC-BY-4.0" + +# Please REMOVE the comment after review: +# The commented variables are my proposed columns attributes, but it doesn't seem +# logical to me to have months and years as the data's attributes. What do you think? +COLUMNS = { + 'geometry': 'geometry', + 'id': 'id', + # 'OCT_2019': 'oct_2019', + # 'NOV_2019': 'nov_2019', + # 'DEC_2019': 'dec_2019', + # 'JAN_2020': 'jan_2020', + # 'FEB_2020': 'feb_2020', + # 'MAR_2020': 'mar_2020', + # 'APR_2020': 'apr_2020', + # 'MAY_2020': 'may_2020', + # 'JUN_2020': 'jun_2020', + # 'JUL_2020': 'jul_2020', + # 'AUG_2020': 'aug_2020', + # 'SEP_2020': 'sep_2020', + # 'NOTE': 'note' +} + +# Please REMOVE the comment after review: +# I do think it is safe to assume the determination date is the last date of September in 2020 as the dataset +# has SEP_2020 (which is the latests time) as one of its column attributes. +ADD_COLUMNS = { + "determination_datetime": "2020-09-30T00:00:00Z" +} + +EXTENSIONS = [] + +COLUMN_MIGRATIONS = { +} + +COLUMN_FILTERS = { +} + +MIGRATION = None + +FILE_MIGRATION = None + +# Please REMOVE the comment after review: +# There is one field that I omitted, which is the `NOTE` field in the dataset. +# This is because it is nullable. +MISSING_SCHEMAS = { + # "required": ["oct_2019"], + # "properties": { + # "oct_2019": { + # "type": "string" + # } + # }, + # "required": ["nov_2019"], + # "properties": { + # "nov_2019": { + # "type": "string" + # } + # }, + # "required": ["dec_2019"], + # "properties": { + # "dec_2019": { + # "type": "string" + # } + # }, + # "required": ["jan_2020"], + # "properties": { + # "jan_2020": { + # "type": "string" + # } + # }, + # "required": ["feb_2020"], + # "properties": { + # "feb_2020": { + # "type": "string" + # } + # }, + # "required": ["mar_2020"], + # "properties": { + # "mar_2020": { + # "type": "string" + # } + # }, + # "required": ["apr_2020"], + # "properties": { + # "apr_2020": { + # "type": "string" + # } + # }, + # "required": ["may_2020"], + # "properties": { + # "may_2020": { + # "type": "string" + # } + # }, + # "required": ["jun_2020"], + # "properties": { + # "jun_2020": { + # "type": "string" + # } + # }, + # "required": ["jul_2020"], + # "properties": { + # "jun_2020": { + # "type": "string" + # } + # }, + # "required": ["aug_2020"], + # "properties": { + # "aug_2020": { + # "type": "string" + # } + # }, + # "required": ["sep_2020"], + # "properties": { + # "sep_2020": { + # "type": "string" + # } + # }, +} + + +# Conversion function, usually no changes required +def convert(output_file, input_files = None, cache = None, source_coop_url = None, collection = False, compression = None): + """ + Converts the field boundary datasets to fiboa. + + For reference, this is the order in which the conversion steps are applied: + 0. Read GeoDataFrame from file(s) / layer(s) and run the FILE_MIGRATION function if provided + 1. Run global migration (if provided through MIGRATION) + 2. Run filters to remove rows that shall not be in the final data + (if provided through COLUMN_FILTERS) + 3. Add columns with constant values + 4. Run column migrations (if provided through COLUMN_MIGRATIONS) + 5. Duplicate columns (if an array is provided as the value in COLUMNS) + 6. Rename columns (as provided in COLUMNS) + 7. Remove columns (if column is not present as value in COLUMNS) + 8. Create the collection + 9. Change data types of the columns based on the provided schemas + (fiboa spec, extensions, and MISSING_SCHEMAS) + 10. Write the data to the Parquet file + + Parameters: + output_file (str): Path where the Parquet file shall be stored. + cache (str): Path to a cached folder for the data. Default: None. + Can be used to avoid repetitive downloads from the original data source. + source_coop_url (str): URL to the (future) Source Cooperative repository. Default: None + collection (bool): Additionally, store the collection separate from Parquet file. Default: False + compression (str): Compression method for the Parquet file. Default: zstd + kwargs: Additional keyword arguments for GeoPanda's read_file() or read_parquet() function. + """ + convert_( + output_file, + cache, + SOURCES, + COLUMNS, + ID, + TITLE, + DESCRIPTION, + input_files=input_files, + providers=PROVIDERS, + source_coop_url=source_coop_url, + extensions=EXTENSIONS, + missing_schemas=MISSING_SCHEMAS, + column_additions=ADD_COLUMNS, + column_migrations=COLUMN_MIGRATIONS, + column_filters=COLUMN_FILTERS, + migration=MIGRATION, + file_migration=FILE_MIGRATION, + attribution=ATTRIBUTION, + store_collection=collection, + license=LICENSE, + compression=compression, + ) From f941a6c7d1443e26455d51e7603c246e37334c69 Mon Sep 17 00:00:00 2001 From: Barasakar Date: Fri, 26 Jul 2024 11:46:14 -0500 Subject: [PATCH 2/5] updates on naming and missing schemas --- fiboa_cli/datasets/{fs_br.py => br_lem_ba.py} | 150 ++++++------------ 1 file changed, 52 insertions(+), 98 deletions(-) rename fiboa_cli/datasets/{fs_br.py => br_lem_ba.py} (59%) diff --git a/fiboa_cli/datasets/fs_br.py b/fiboa_cli/datasets/br_lem_ba.py similarity index 59% rename from fiboa_cli/datasets/fs_br.py rename to fiboa_cli/datasets/br_lem_ba.py index ad13fba..102c93b 100644 --- a/fiboa_cli/datasets/fs_br.py +++ b/fiboa_cli/datasets/br_lem_ba.py @@ -1,13 +1,13 @@ from ..convert_utils import convert as convert_ -import re -import pandas as pd # Please REMOVE the comment after review: # I was actually using this link "https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/vz6d7tw87f-1.zip" which is copied from the # "Download All" button from the website (https://data.mendeley.com/datasets/vz6d7tw87f/1). # But output an error saying """/vsizip//tmp/tmp7puy6g90/vz6d7tw87f-1.zip' not recognized as a supported file format. # It might help to specify the correct driver explicitly by prefixing the file path with ':', e.g. 'CSV:path'"""" -SOURCES = "https://github.com/fiboa/data/files/15438544/LEM_dataset.zip" +SOURCES = { + "https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/vz6d7tw87f-1.zip": "LEM_dataset.shp" +} ID = "br" @@ -33,32 +33,25 @@ ATTRIBUTION = "Copyright © 2024 Elsevier inc, its licensors, and contributors." LICENSE = "CC-BY-4.0" -# Please REMOVE the comment after review: -# The commented variables are my proposed columns attributes, but it doesn't seem -# logical to me to have months and years as the data's attributes. What do you think? COLUMNS = { 'geometry': 'geometry', 'id': 'id', - # 'OCT_2019': 'oct_2019', - # 'NOV_2019': 'nov_2019', - # 'DEC_2019': 'dec_2019', - # 'JAN_2020': 'jan_2020', - # 'FEB_2020': 'feb_2020', - # 'MAR_2020': 'mar_2020', - # 'APR_2020': 'apr_2020', - # 'MAY_2020': 'may_2020', - # 'JUN_2020': 'jun_2020', - # 'JUL_2020': 'jul_2020', - # 'AUG_2020': 'aug_2020', - # 'SEP_2020': 'sep_2020', - # 'NOTE': 'note' + 'OCT_2019': '2019-10', + 'NOV_2019': '2019-11', + 'DEC_2019': '2019-12', + 'JAN_2020': '2020-01', + 'FEB_2020': '2020-02', + 'MAR_2020': '2020-03', + 'APR_2020': '2020-04', + 'MAY_2020': '2020-05', + 'JUN_2020': '2020-06', + 'JUL_2020': '2020-07', + 'AUG_2020': '2020-08', + 'SEP_2020': '2020-09', + 'NOTE': 'note' } -# Please REMOVE the comment after review: -# I do think it is safe to assume the determination date is the last date of September in 2020 as the dataset -# has SEP_2020 (which is the latests time) as one of its column attributes. ADD_COLUMNS = { - "determination_datetime": "2020-09-30T00:00:00Z" } EXTENSIONS = [] @@ -73,82 +66,43 @@ FILE_MIGRATION = None -# Please REMOVE the comment after review: -# There is one field that I omitted, which is the `NOTE` field in the dataset. -# This is because it is nullable. +TYPE_SCHEMA = { + "type": "string", + "enum": [ + "Beans", + "Brachiaria", + "Cerrado", + "Coffee", + "Conversion area", + "Corn", + "Cotton", + "Crotalaria", + "Eucalyptus", + "Hay", + "Millet", + "Not identified", + "Pasture", + "Sorghum", + "Soybean", + "Uncultivated soil", + ] +} MISSING_SCHEMAS = { - # "required": ["oct_2019"], - # "properties": { - # "oct_2019": { - # "type": "string" - # } - # }, - # "required": ["nov_2019"], - # "properties": { - # "nov_2019": { - # "type": "string" - # } - # }, - # "required": ["dec_2019"], - # "properties": { - # "dec_2019": { - # "type": "string" - # } - # }, - # "required": ["jan_2020"], - # "properties": { - # "jan_2020": { - # "type": "string" - # } - # }, - # "required": ["feb_2020"], - # "properties": { - # "feb_2020": { - # "type": "string" - # } - # }, - # "required": ["mar_2020"], - # "properties": { - # "mar_2020": { - # "type": "string" - # } - # }, - # "required": ["apr_2020"], - # "properties": { - # "apr_2020": { - # "type": "string" - # } - # }, - # "required": ["may_2020"], - # "properties": { - # "may_2020": { - # "type": "string" - # } - # }, - # "required": ["jun_2020"], - # "properties": { - # "jun_2020": { - # "type": "string" - # } - # }, - # "required": ["jul_2020"], - # "properties": { - # "jun_2020": { - # "type": "string" - # } - # }, - # "required": ["aug_2020"], - # "properties": { - # "aug_2020": { - # "type": "string" - # } - # }, - # "required": ["sep_2020"], - # "properties": { - # "sep_2020": { - # "type": "string" - # } - # }, + "required": ["2019-10", "2019-11", "2019-12", "2020-01", "2020-02", "2020-03", "2020-04", "2020-05", "2020-06", "2020-07", "2020-08", "2020-09"], + "properties": { + "2019-10": TYPE_SCHEMA, + "2019-11": TYPE_SCHEMA, + "2019-12": TYPE_SCHEMA, + "2020-01": TYPE_SCHEMA, + "2020-02": TYPE_SCHEMA, + "2020-03": TYPE_SCHEMA, + "2020-04": TYPE_SCHEMA, + "2020-05": TYPE_SCHEMA, + "2020-06": TYPE_SCHEMA, + "2020-07": TYPE_SCHEMA, + "2020-08": TYPE_SCHEMA, + "2020-09": TYPE_SCHEMA, + }, } From c492130a65790ecef23a3cf96f513963b1908415 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 26 Jul 2024 18:52:39 +0200 Subject: [PATCH 3/5] Update and rename br_lem_ba.py to lem_br_ba.py --- fiboa_cli/datasets/br_lem_ba.py | 160 -------------------------------- fiboa_cli/datasets/lem_br_ba.py | 110 ++++++++++++++++++++++ 2 files changed, 110 insertions(+), 160 deletions(-) delete mode 100644 fiboa_cli/datasets/br_lem_ba.py create mode 100644 fiboa_cli/datasets/lem_br_ba.py diff --git a/fiboa_cli/datasets/br_lem_ba.py b/fiboa_cli/datasets/br_lem_ba.py deleted file mode 100644 index 102c93b..0000000 --- a/fiboa_cli/datasets/br_lem_ba.py +++ /dev/null @@ -1,160 +0,0 @@ -from ..convert_utils import convert as convert_ - -# Please REMOVE the comment after review: -# I was actually using this link "https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/vz6d7tw87f-1.zip" which is copied from the -# "Download All" button from the website (https://data.mendeley.com/datasets/vz6d7tw87f/1). -# But output an error saying """/vsizip//tmp/tmp7puy6g90/vz6d7tw87f-1.zip' not recognized as a supported file format. -# It might help to specify the correct driver explicitly by prefixing the file path with ':', e.g. 'CSV:path'"""" -SOURCES = { - "https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/vz6d7tw87f-1.zip": "LEM_dataset.shp" -} - - -ID = "br" -SHORT_NAME = "Brazil" -TITLE = "Field boundaries for Brazil" -DESCRIPTION = """ -This dataset is the supplementary data of a paper published in the Data in Brief Journal. - -The dataset, in ESRI shapefile format (spatial reference system: WGS 84, EPSG: 4326), provides monthly land use -information about 1854 fields from October 2019 to September 2020 from Luís Eduardo Magalhães (LEM) and other -municipalities in the west of Bahia state, Brazil. The majority of the 16 land uses classes are related to crops. -""" - - -PROVIDERS = [ - { - "name": "Mendeley Data", - "url": "https://data.mendeley.com/datasets/vz6d7tw87f/1#file-5ac1542b-12ef-4dce-8258-113b5c5d87c9", - "roles": ["producer", "licensor"] - } -] - -ATTRIBUTION = "Copyright © 2024 Elsevier inc, its licensors, and contributors." -LICENSE = "CC-BY-4.0" - -COLUMNS = { - 'geometry': 'geometry', - 'id': 'id', - 'OCT_2019': '2019-10', - 'NOV_2019': '2019-11', - 'DEC_2019': '2019-12', - 'JAN_2020': '2020-01', - 'FEB_2020': '2020-02', - 'MAR_2020': '2020-03', - 'APR_2020': '2020-04', - 'MAY_2020': '2020-05', - 'JUN_2020': '2020-06', - 'JUL_2020': '2020-07', - 'AUG_2020': '2020-08', - 'SEP_2020': '2020-09', - 'NOTE': 'note' -} - -ADD_COLUMNS = { -} - -EXTENSIONS = [] - -COLUMN_MIGRATIONS = { -} - -COLUMN_FILTERS = { -} - -MIGRATION = None - -FILE_MIGRATION = None - -TYPE_SCHEMA = { - "type": "string", - "enum": [ - "Beans", - "Brachiaria", - "Cerrado", - "Coffee", - "Conversion area", - "Corn", - "Cotton", - "Crotalaria", - "Eucalyptus", - "Hay", - "Millet", - "Not identified", - "Pasture", - "Sorghum", - "Soybean", - "Uncultivated soil", - ] -} -MISSING_SCHEMAS = { - "required": ["2019-10", "2019-11", "2019-12", "2020-01", "2020-02", "2020-03", "2020-04", "2020-05", "2020-06", "2020-07", "2020-08", "2020-09"], - "properties": { - "2019-10": TYPE_SCHEMA, - "2019-11": TYPE_SCHEMA, - "2019-12": TYPE_SCHEMA, - "2020-01": TYPE_SCHEMA, - "2020-02": TYPE_SCHEMA, - "2020-03": TYPE_SCHEMA, - "2020-04": TYPE_SCHEMA, - "2020-05": TYPE_SCHEMA, - "2020-06": TYPE_SCHEMA, - "2020-07": TYPE_SCHEMA, - "2020-08": TYPE_SCHEMA, - "2020-09": TYPE_SCHEMA, - }, -} - - -# Conversion function, usually no changes required -def convert(output_file, input_files = None, cache = None, source_coop_url = None, collection = False, compression = None): - """ - Converts the field boundary datasets to fiboa. - - For reference, this is the order in which the conversion steps are applied: - 0. Read GeoDataFrame from file(s) / layer(s) and run the FILE_MIGRATION function if provided - 1. Run global migration (if provided through MIGRATION) - 2. Run filters to remove rows that shall not be in the final data - (if provided through COLUMN_FILTERS) - 3. Add columns with constant values - 4. Run column migrations (if provided through COLUMN_MIGRATIONS) - 5. Duplicate columns (if an array is provided as the value in COLUMNS) - 6. Rename columns (as provided in COLUMNS) - 7. Remove columns (if column is not present as value in COLUMNS) - 8. Create the collection - 9. Change data types of the columns based on the provided schemas - (fiboa spec, extensions, and MISSING_SCHEMAS) - 10. Write the data to the Parquet file - - Parameters: - output_file (str): Path where the Parquet file shall be stored. - cache (str): Path to a cached folder for the data. Default: None. - Can be used to avoid repetitive downloads from the original data source. - source_coop_url (str): URL to the (future) Source Cooperative repository. Default: None - collection (bool): Additionally, store the collection separate from Parquet file. Default: False - compression (str): Compression method for the Parquet file. Default: zstd - kwargs: Additional keyword arguments for GeoPanda's read_file() or read_parquet() function. - """ - convert_( - output_file, - cache, - SOURCES, - COLUMNS, - ID, - TITLE, - DESCRIPTION, - input_files=input_files, - providers=PROVIDERS, - source_coop_url=source_coop_url, - extensions=EXTENSIONS, - missing_schemas=MISSING_SCHEMAS, - column_additions=ADD_COLUMNS, - column_migrations=COLUMN_MIGRATIONS, - column_filters=COLUMN_FILTERS, - migration=MIGRATION, - file_migration=FILE_MIGRATION, - attribution=ATTRIBUTION, - store_collection=collection, - license=LICENSE, - compression=compression, - ) diff --git a/fiboa_cli/datasets/lem_br_ba.py b/fiboa_cli/datasets/lem_br_ba.py new file mode 100644 index 0000000..1a2dad0 --- /dev/null +++ b/fiboa_cli/datasets/lem_br_ba.py @@ -0,0 +1,110 @@ +from ..convert_utils import convert as convert_ + +SOURCES = { + "https://data.mendeley.com/public-files/datasets/vz6d7tw87f/files/57c83c3f-b5a9-45f5-94f8-ac1df8fab923/file_downloaded": [ + "LEM_dataset.shp" + ] +} + +ID = "lem_br_ba" +SHORT_NAME = "West of Bahia, Brazil" +TITLE = "Field boundaries for the west of Bahia state, Brazil" +DESCRIPTION = """ +This dataset is the supplementary data of a paper published in the Data in Brief Journal. + +The dataset, in ESRI shapefile format (spatial reference system: WGS 84, EPSG: 4326), provides monthly land use +information about 1854 fields from October 2019 to September 2020 from Luís Eduardo Magalhães (LEM) and other +municipalities in the west of Bahia state, Brazil. The majority of the 16 land uses classes are related to crops. +""" + +PROVIDERS = [ + { + "name": "Mendeley Data", + "url": "https://data.mendeley.com/datasets/vz6d7tw87f/1#file-5ac1542b-12ef-4dce-8258-113b5c5d87c9", + "roles": ["producer", "licensor"] + } +] + +ATTRIBUTION = "Copyright © 2024 Elsevier inc, its licensors, and contributors." +LICENSE = "CC-BY-4.0" + +COLUMNS = { + 'geometry': 'geometry', + 'id': 'id', + 'Oct_2019': '2019-10', + 'Nov_2019': '2019-11', + 'Dec_2019': '2019-12', + 'Jan_2020': '2020-01', + 'Feb_2020': '2020-02', + 'Mar_2020': '2020-03', + 'Apr_2020': '2020-04', + 'May_2020': '2020-05', + 'Jun_2020': '2020-06', + 'Jul_2020': '2020-07', + 'Aug_2020': '2020-08', + 'Sep_2020': '2020-09', + 'Note': 'note' +} + +TYPE_SCHEMA = { + "type": "string", + "enum": [ + "Beans", + "Brachiaria", + "Cerrado", + "Coffee", + "Conversion area", + "Corn", + "Cotton", + "Crotalaria", + "Eucalyptus", + "Hay", + "Millet", + "Not identified", + "Pasture", + "Sorghum", + "Soybean", + "Uncultivated soil", + ] +} +MISSING_SCHEMAS = { + "required": ["2019-10", "2019-11", "2019-12", "2020-01", "2020-02", "2020-03", "2020-04", "2020-05", "2020-06", "2020-07", "2020-08", "2020-09"], + "properties": { + "2019-10": TYPE_SCHEMA, + "2019-11": TYPE_SCHEMA, + "2019-12": TYPE_SCHEMA, + "2020-01": TYPE_SCHEMA, + "2020-02": TYPE_SCHEMA, + "2020-03": TYPE_SCHEMA, + "2020-04": TYPE_SCHEMA, + "2020-05": TYPE_SCHEMA, + "2020-06": TYPE_SCHEMA, + "2020-07": TYPE_SCHEMA, + "2020-08": TYPE_SCHEMA, + "2020-09": TYPE_SCHEMA, + "note": { + "type": "string" + } + } +} + + +# Conversion function, usually no changes required +def convert(output_file, input_files = None, cache = None, source_coop_url = None, collection = False, compression = None): + convert_( + output_file, + cache, + SOURCES, + COLUMNS, + ID, + TITLE, + DESCRIPTION, + input_files=input_files, + providers=PROVIDERS, + source_coop_url=source_coop_url, + missing_schemas=MISSING_SCHEMAS, + attribution=ATTRIBUTION, + store_collection=collection, + license=LICENSE, + compression=compression, + ) From e414895e7c4159d45be11a427bbd33fa115e22e8 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 26 Jul 2024 19:04:34 +0200 Subject: [PATCH 4/5] Update and rename lem_br_ba.py to br_ba_lem.py --- fiboa_cli/datasets/{lem_br_ba.py => br_ba_lem.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename fiboa_cli/datasets/{lem_br_ba.py => br_ba_lem.py} (98%) diff --git a/fiboa_cli/datasets/lem_br_ba.py b/fiboa_cli/datasets/br_ba_lem.py similarity index 98% rename from fiboa_cli/datasets/lem_br_ba.py rename to fiboa_cli/datasets/br_ba_lem.py index 1a2dad0..2a27487 100644 --- a/fiboa_cli/datasets/lem_br_ba.py +++ b/fiboa_cli/datasets/br_ba_lem.py @@ -6,8 +6,8 @@ ] } -ID = "lem_br_ba" -SHORT_NAME = "West of Bahia, Brazil" +ID = "br_ba_lem" +SHORT_NAME = "West Bahia, Brazil" TITLE = "Field boundaries for the west of Bahia state, Brazil" DESCRIPTION = """ This dataset is the supplementary data of a paper published in the Data in Brief Journal. From 19425137d71874349303adecd48a3562b02de4c0 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 26 Jul 2024 19:05:35 +0200 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b922e7..4fcf1b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Converter for Luís Eduardo Magalhães (LEM) and other municipalities in the west of Bahia state, Brazil (`br_ba_lem`) + ## [v0.6.0] - 2024-07-25 ### Added