175a5a2f55dd7066b1ce71f3148af4c4aef5da65,examples/crop-type-classification/Tasks/CropTypeClassTasks.py,,get_danish_crop_geopedia_idx_to_crop_id_mapping,#,463
Before Change
:return: pandas DataFrame with "crop_geopedia_idx" and corresponding crop id
:rtype: pandas.DataFrame
gpd_session = GeopediaSession()
to_crop_id = list(GeopediaFeatureIterator(layer="2050", gpd_session=gpd_session))
to_crop_id = [{"crop_geopedia_idx": code["id"], **code["properties"]} for code in to_crop_id]
to_crop_id = pd.DataFrame(to_crop_id)
to_crop_id["crop_geopedia_idx"] = pd.to_numeric(to_crop_id.crop_geopedia_idx)
return to_crop_id
After Change
:return: pandas DataFrame with "crop_geopedia_idx" and corresponding crop id
:rtype: pandas.DataFrame
return get_crop_features(2050)
class FixLPIS(EOTask):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 18
Instances Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_danish_crop_geopedia_idx_to_crop_id_mapping
Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_slovenia_crop_geopedia_idx_to_crop_id_mapping
Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_austria_crop_geopedia_idx_to_crop_id_mapping
Project Name: sentinel-hub/eo-learn
Commit Name: 175a5a2f55dd7066b1ce71f3148af4c4aef5da65
Time: 2021-03-06
Author: matej.batic@sinergise.com
File Name: examples/crop-type-classification/Tasks/CropTypeClassTasks.py
Class Name:
Method Name: get_danish_crop_geopedia_idx_to_crop_id_mapping