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

added figures on data availability #206

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
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
Binary file added notebooks/resources/cropland_data_Ph1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/resources/croptype_data_Ph1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 19 additions & 2 deletions notebooks/worldcereal_v1_demo_custom_cropland.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,27 @@
"source": [
"### 2. Extract public reference data\n",
"\n",
"Here we query existing reference data that have already been processed by WorldCereal and are ready to use.\n",
"Here we query existing public reference data that have already been processed by WorldCereal and are ready to use.\n",
"To increase the number of hits, we expand the search area by 250 km in all directions.\n",
"\n",
"We print the number of training samples retrieved per year."
"We print the number of training samples retrieved per year.\n",
"\n",
"To give you an idea on the regions where public land cover training data is available, consult the figure below:\n",
"\n",
"<p align=\"center\">\n",
"<img src=\"./resources/cropland_data_Ph1.png\" alt=\"crop-data\" width=\"400\"/>\n",
"</p>\n",
"\n",
"\n",
"<div class=\"alert alert-block alert-warning\">\n",
"<b>What to do in case no samples were found?</b><br> \n",
"\n",
"1. **Increase the buffer size**: Try increasing the buffer size by passing the `buffer` parameter to the `query_public_extractions` function (to a reasonable extent).\n",
" *Current setting is: 250000 m².*\n",
"2. **Pick another area**\n",
"3. **Contribute data**: Collect some data and contribute to our global database! 🌍🌾 [Learn how to contribute here.](https://worldcereal.github.io/worldcereal-documentation/rdm/upload.html)\n",
"\n",
"</div>"
]
},
{
Expand Down
20 changes: 18 additions & 2 deletions notebooks/worldcereal_v1_demo_custom_croptype.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,26 @@
"source": [
"### 3. Extract public reference data\n",
"\n",
"Here we query existing reference data that have already been processed by WorldCereal and are ready to use.\n",
"Here we query existing public reference data that have already been processed by WorldCereal and are ready to use.\n",
"To increase the number of hits, we expand the search area by 250 km in all directions.\n",
"\n",
"We print the number of training samples retrieved per year."
"We print the number of training samples retrieved per year.\n",
"\n",
"To give you an idea on the regions where public crop type training data is available, consult the figure below:\n",
"\n",
"<p align=\"center\">\n",
"<img src=\"./resources/croptype_data_Ph1.png\" alt=\"crop-data\" width=\"400\"/>\n",
"</p>\n",
"\n",
"<div class=\"alert alert-block alert-warning\">\n",
"<b>What to do in case no samples were found?</b><br> \n",
"\n",
"1. **Increase the buffer size**: Try increasing the buffer size by passing the `buffer` parameter to the `query_public_extractions` function (to a reasonable extent).\n",
" *Current setting is: 250000 m².*\n",
"2. **Pick another area**\n",
"3. **Contribute data**: Collect some data and contribute to our global database! 🌍🌾 [Learn how to contribute here.](https://worldcereal.github.io/worldcereal-documentation/rdm/upload.html)\n",
"\n",
"</div>"
]
},
{
Expand Down
20 changes: 18 additions & 2 deletions notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,26 @@
"source": [
"### 3. Extract public reference data\n",
"\n",
"Here we query existing reference data that have already been processed by WorldCereal and are ready to use.\n",
"Here we query existing public reference data that have already been processed by WorldCereal and are ready to use.\n",
"To increase the number of hits, we expand the search area by 250 km in all directions.\n",
"\n",
"We print the number of training samples retrieved per year."
"We print the number of training samples retrieved per year.\n",
"\n",
"To give you an idea on the regions where public crop type training data is available, consult the figure below:\n",
"\n",
"<p align=\"center\">\n",
"<img src=\"./resources/croptype_data_Ph1.png\" alt=\"crop-data\" width=\"400\"/>\n",
"</p>\n",
"\n",
"<div class=\"alert alert-block alert-warning\">\n",
"<b>What to do in case no samples were found?</b><br> \n",
"\n",
"1. **Increase the buffer size**: Try increasing the buffer size by passing the `buffer` parameter to the `query_public_extractions` function (to a reasonable extent).\n",
" *Current setting is: 250000 m².*\n",
"2. **Pick another area**\n",
"3. **Contribute data**: Collect some data and contribute to our global database! 🌍🌾 [Learn how to contribute here.](https://worldcereal.github.io/worldcereal-documentation/rdm/upload.html)\n",
"\n",
"</div>"
]
},
{
Expand Down
Loading