{"id":1100,"name":"CropHarvest","description":"Collects data from a variety of agricultural land use datasets and remote sensing products.","url":"https://github.com/nasaharvest/cropharvest","last_synced_at":"2026-04-12T20:30:18.483Z","repository":{"id":37006309,"uuid":"377906448","full_name":"nasaharvest/cropharvest","owner":"nasaharvest","description":"Open source remote sensing dataset with benchmarks","archived":false,"fork":false,"pushed_at":"2024-04-30T14:12:20.000Z","size":105116,"stargazers_count":230,"open_issues_count":36,"forks_count":56,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-04-07T18:02:34.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nasaharvest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-17T17:09:44.000Z","updated_at":"2026-03-29T15:07:33.000Z","dependencies_parsed_at":"2023-09-21T19:46:33.187Z","dependency_job_id":"75937309-cc62-4911-b84a-bf921c935116","html_url":"https://github.com/nasaharvest/cropharvest","commit_stats":{"total_commits":424,"total_committers":5,"mean_commits":84.8,"dds":0.3702830188679245,"last_synced_commit":"5d374bed0404dba68fdc4d005c19e1be4575ec74"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/nasaharvest/cropharvest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/sbom","scorecard":{"id":674820,"data":{"date":"2025-08-11","repo":{"name":"github.com/nasaharvest/cropharvest","commit":"aa3c94a667a737bd14329b53da3b5475607bda5f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-to-test-pypi.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Creative Commons Attribution Share Alike 4.0 International: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-874 / GHSA-2vj5-px25-gjrp","Warn: Project is vulnerable to: GHSA-4cv3-v7pv-rfhf","Warn: Project is vulnerable to: GHSA-98fp-7v67-4v3q","Warn: Project is vulnerable to: PYSEC-2022-181 / GHSA-r5qj-cvf9-p85h","Warn: Project is vulnerable to: GHSA-3749-ghw9-m3mg","Warn: Project is vulnerable to: PYSEC-2022-43015 / GHSA-47fc-vmwq-366v","Warn: Project is vulnerable to: PYSEC-2025-41 / GHSA-53q9-r3pm-6pq6","Warn: Project is vulnerable to: PYSEC-2024-252 / GHSA-5pcm-hx3q-hm94","Warn: Project is vulnerable to: GHSA-887c-mr87-cxwp","Warn: Project is vulnerable to: PYSEC-2024-251 / GHSA-pg7h-5qx3-wjr3","Warn: Project is vulnerable to: PYSEC-2024-250","Warn: Project is vulnerable to: PYSEC-2024-259","Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:117: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/publish-to-test-pypi.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/publish-to-test-pypi.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/nasaharvest/cropharvest/publish-to-test-pypi.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:80","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:104","Warn: pipCommand not pinned by hash: .github/workflows/publish-to-test-pypi.yml:18","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-21T21:09:02.477Z","repository_id":37006309,"created_at":"2025-08-21T21:09:02.477Z","updated_at":"2025-08-21T21:09:02.477Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31693274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"nasaharvest","name":"nasaharvest","uuid":"54071172","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/54071172?v=4","repositories_count":12,"last_synced_at":"2023-03-03T23:14:40.431Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nasaharvest","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T06:25:31.031Z","updated_at":"2023-03-03T23:14:40.434Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest/repositories"},"packages":[{"id":2683149,"name":"cropharvest","ecosystem":"pypi","description":"Open source remote sensing dataset with benchmarks","homepage":"https://github.com/nasaharvest/cropharvest","licenses":"Other/Proprietary License","normalized_licenses":["OML"],"repository_url":"https://github.com/nasaharvest/cropharvest","keywords_array":[],"namespace":null,"versions_count":10,"first_release_published_at":"2021-08-29T16:40:52.000Z","latest_release_published_at":"2024-04-30T14:37:45.000Z","latest_release_number":"0.7.0","last_synced_at":"2026-04-09T19:02:01.874Z","created_at":"2022-04-10T10:28:54.761Z","updated_at":"2026-04-09T19:02:01.875Z","registry_url":"https://pypi.org/project/cropharvest/","install_command":"pip install cropharvest --index-url https://pypi.org/simple","documentation_url":"https://cropharvest.readthedocs.io/","metadata":{"funding":null,"documentation":null,"classifiers":["License :: Other/Proprietary License","Operating System :: OS Independent","Programming Language :: Python :: 3"],"normalized_name":"cropharvest","project_status":null},"repo_metadata":{"id":37006309,"uuid":"377906448","full_name":"nasaharvest/cropharvest","owner":"nasaharvest","description":"Open source remote sensing dataset with benchmarks","archived":false,"fork":false,"pushed_at":"2024-04-30T14:12:20.000Z","size":105116,"stargazers_count":161,"open_issues_count":34,"forks_count":37,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-09-05T13:52:15.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nasaharvest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-17T17:09:44.000Z","updated_at":"2024-09-04T16:26:59.000Z","dependencies_parsed_at":"2023-09-21T19:46:33.187Z","dependency_job_id":"75937309-cc62-4911-b84a-bf921c935116","html_url":"https://github.com/nasaharvest/cropharvest","commit_stats":{"total_commits":424,"total_committers":5,"mean_commits":84.8,"dds":0.3702830188679245,"last_synced_commit":"5d374bed0404dba68fdc4d005c19e1be4575ec74"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217628544,"owners_count":16206690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"nasaharvest","name":"nasaharvest","uuid":"54071172","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/54071172?v=4","repositories_count":12,"last_synced_at":"2023-03-03T23:14:40.431Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nasaharvest","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T06:25:31.031Z","updated_at":"2023-03-03T23:14:40.434Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasaharvest/repositories"},"tags":[{"name":"v0.7.0-v2","sha":"aa3c94a667a737bd14329b53da3b5475607bda5f","kind":"commit","published_at":"2024-04-30T14:10:53.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.7.0-v2","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.7.0-v2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.7.0-v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.7.0-v2/manifests"},{"name":"v0.7.0","sha":"5d374bed0404dba68fdc4d005c19e1be4575ec74","kind":"commit","published_at":"2023-12-06T12:24:41.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.7.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"d709ee49fe44dc8638e4eb7aeedc16486f523d37","kind":"commit","published_at":"2022-10-31T18:19:56.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.6.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"763b03ffc39b58890ac2325a12ad125806776cc2","kind":"commit","published_at":"2022-07-25T11:20:09.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.5.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.5.0/manifests"},{"name":"v0.4.1","sha":"549181d1c8b1d5b3e72ce220869bbf1e969864a5","kind":"commit","published_at":"2022-07-07T15:49:05.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.4.1","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"59595c92306cc7fe144b6fd652e6f3fbc262f4d0","kind":"commit","published_at":"2022-06-19T14:55:19.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.4.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"7a76a120c78976eda33bae86b110cfe0334f61b3","kind":"tag","published_at":"2022-03-15T01:28:14.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.3.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"c0b71b73a3ba6bd705f25b0786863dce3b080ce3","kind":"commit","published_at":"2022-01-21T18:25:59.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v0.2.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v0.2.0/manifests"},{"name":"v1.2","sha":"dd26624db652f737463bb03a82fc839433800aa7","kind":"commit","published_at":"2021-10-24T02:35:28.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v1.2","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.2/manifests"},{"name":"v1.1","sha":"b414f4887bb3721aa5f4ee0dfbfa9572eb65bb28","kind":"tag","published_at":"2021-09-28T13:22:01.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v1.1","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.1/manifests"},{"name":"v1.0","sha":"b070c2bda6746dc2133c2b06d025273c2a7dac64","kind":"tag","published_at":"2021-09-03T16:12:43.000Z","download_url":"https://codeload.github.com/nasaharvest/cropharvest/tar.gz/v1.0","html_url":"https://github.com/nasaharvest/cropharvest/releases/tag/v1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/tags/v1.0/manifests"}]},"repo_metadata_updated_at":"2024-09-07T19:39:35.559Z","dependent_packages_count":1,"downloads":404,"downloads_period":"last-month","dependent_repos_count":2,"rankings":{"downloads":14.164851537417732,"dependent_repos_count":11.788004083915865,"dependent_packages_count":3.2401412941006194,"stargazers_count":6.347158110007762,"forks_count":6.851967385926037,"docker_downloads_count":null,"average":8.478424482273603},"purl":"pkg:pypi/cropharvest","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/cropharvest","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pypi/cropharvest","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/cropharvest/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-09-07T18:09:00.136Z","issues_count":52,"pull_requests_count":83,"avg_time_to_close_issue":5161518.857142857,"avg_time_to_close_pull_request":769240.8481012658,"issues_closed_count":21,"pull_requests_closed_count":79,"pull_request_authors_count":7,"issue_authors_count":20,"avg_comments_per_issue":0.8269230769230769,"avg_comments_per_pull_request":0.9397590361445783,"merged_pull_requests_count":72,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":6,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":1603521.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":5,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.2,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":5,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/issues","maintainers":[{"login":"gabrieltseng","count":67,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gabrieltseng"}],"active_maintainers":[{"login":"gabrieltseng","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gabrieltseng"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/cropharvest/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/cropharvest/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/cropharvest/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/cropharvest/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/cropharvest/codemeta","maintainers":[{"uuid":"izvonkov","login":"izvonkov","name":null,"email":null,"url":null,"packages_count":2,"html_url":"https://pypi.org/user/izvonkov/","role":null,"created_at":"2023-02-06T22:12:25.508Z","updated_at":"2023-02-06T22:12:25.508Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/izvonkov/packages"}],"registry":{"name":"pypi.org","url":"https://pypi.org","ecosystem":"pypi","default":true,"packages_count":837458,"maintainers_count":357676,"namespaces_count":0,"keywords_count":271316,"github":"pypi","metadata":{"funded_packages_count":53172},"icon_url":"https://github.com/pypi.png","created_at":"2022-04-04T15:19:23.364Z","updated_at":"2026-04-09T05:08:03.587Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/namespaces"}}],"commits":{"id":554294,"full_name":"nasaharvest/cropharvest","default_branch":"main","total_commits":432,"total_committers":5,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":86.4,"dds":0.36342592592592593,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-04-09T19:17:47.875Z","last_synced_commit":"aa3c94a667a737bd14329b53da3b5475607bda5f","created_at":"2023-03-09T04:47:52.676Z","updated_at":"2026-04-09T19:17:47.742Z","committers":[{"name":"Gabriel Tseng","email":"gabriel.tseng@mail.mcgill.ca","login":"gabrieltseng","count":275},{"name":"ivanzvonkov","email":"ivan.zvonkov@gmail.com","login":"ivanzvonkov","count":136},{"name":"Adebowale","email":"dansy37@gmail.com","login":"adebowaledaniel","count":19},{"name":"hannah-rae","email":"hannah.r.kerner@gmail.com","login":"hannah-rae","count":1},{"name":"alexhernandezgarcia","email":"alexhdezgarcia@gmail.com","login":"alexhernandezgarcia","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:23.197Z","repositories_count":6212744,"commits_count":905232549,"contributors_count":34959448,"owners_count":1143739,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"nasaharvest/cropharvest","html_url":"https://github.com/nasaharvest/cropharvest","last_synced_at":"2026-04-09T19:01:20.026Z","status":"active","issues_count":56,"pull_requests_count":84,"avg_time_to_close_issue":6682390.045454546,"avg_time_to_close_pull_request":759822.1625,"issues_closed_count":22,"pull_requests_closed_count":80,"pull_request_authors_count":7,"issue_authors_count":25,"avg_comments_per_issue":0.75,"avg_comments_per_pull_request":0.9285714285714286,"merged_pull_requests_count":73,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:35:48.099Z","updated_at":"2026-04-09T19:01:20.026Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasaharvest%2Fcropharvest/issues","issue_labels_count":{"new dataset":11,"question":3,"enhancement":1,"bug":1},"pull_request_labels_count":{"new dataset":2},"issue_author_associations_count":{"NONE":29,"COLLABORATOR":15,"CONTRIBUTOR":12},"pull_request_author_associations_count":{"COLLABORATOR":53,"CONTRIBUTOR":29,"NONE":2},"issue_authors":{"gabrieltseng":15,"ivanzvonkov":9,"cnakalembe":6,"Joaquin-Gajardo":3,"hannah-rae":3,"yichiac":1,"pavanthanay":1,"ck-amrahd":1,"LL0912":1,"JCUBenS":1,"jlpearso":1,"EhrmannS":1,"wllih":1,"ofcosar":1,"fmenat":1,"dks4-hw":1,"sbaber1":1,"kolrocket":1,"a7med12345":1,"jleben":1,"Tim1702":1,"DenizOzal":1,"bcf16":1,"ranpelta":1,"xlang831109-hue":1},"pull_request_authors":{"gabrieltseng":53,"ivanzvonkov":23,"adebowaledaniel":4,"rishisinhanj":1,"hannah-rae":1,"alexhernandezgarcia":1,"TrellixVulnTeam":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:10.509Z","repositories_count":14210836,"issues_count":34657220,"pull_requests_count":113242396,"authors_count":11232570,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":3},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"JCUBenS":1,"jleben":1,"xlang831109-hue":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"gabrieltseng","count":68,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gabrieltseng"}],"active_maintainers":[]},"events":{"total":{"ForkEvent":11,"IssuesEvent":6,"WatchEvent":43,"IssueCommentEvent":4},"last_year":{"ForkEvent":3,"IssuesEvent":1,"WatchEvent":20,"IssueCommentEvent":1}},"keywords":[],"dependencies":[{"ecosystem":"pypi","filepath":"requirements-benchmarks.txt","sha":null,"kind":"manifest","created_at":"2022-06-29T07:30:30.036Z","updated_at":"2022-06-29T07:30:30.036Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/requirements-benchmarks.txt","dependencies":[{"id":92475211,"package_name":"torch","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475212,"package_name":"pytorch-lightning","ecosystem":"pypi","requirements":"==0.7.1","direct":true,"kind":"runtime","optional":false},{"id":92475213,"package_name":"learn2learn","ecosystem":"pypi","requirements":"==0.1.3","direct":true,"kind":"runtime","optional":false},{"id":92475214,"package_name":"dill","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements-dev.txt","sha":null,"kind":"manifest","created_at":"2022-06-29T07:30:30.092Z","updated_at":"2022-06-29T07:30:30.092Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/requirements-dev.txt","dependencies":[{"id":92475215,"package_name":"black","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475216,"package_name":"earthengine-api","ecosystem":"pypi","requirements":"\u003e=0.1.271","direct":true,"kind":"runtime","optional":false},{"id":92475217,"package_name":"mypy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475218,"package_name":"flake8","ecosystem":"pypi","requirements":"==3.9.2","direct":true,"kind":"runtime","optional":false},{"id":92475219,"package_name":"jupyter","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475220,"package_name":"pytest-flake8","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475221,"package_name":"pytest-mock","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2022-06-29T07:30:30.158Z","updated_at":"2022-06-29T07:30:30.158Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/setup.py","dependencies":[{"id":92475222,"package_name":"geopandas","ecosystem":"pypi","requirements":"==0.9.0","direct":true,"kind":"runtime","optional":false},{"id":92475223,"package_name":"xarray","ecosystem":"pypi","requirements":"\u003e=0.16.2","direct":true,"kind":"runtime","optional":false},{"id":92475224,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.61.1","direct":true,"kind":"runtime","optional":false},{"id":92475225,"package_name":"h5py","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475226,"package_name":"https","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":92475227,"package_name":"h5py","ecosystem":"pypi","requirements":"\u003e=3.1.0,","direct":true,"kind":"runtime","optional":false},{"id":92475228,"package_name":"rasterio","ecosystem":"pypi","requirements":"\u003e=1.2.6","direct":true,"kind":"runtime","optional":false},{"id":92475229,"package_name":"openpyxl","ecosystem":"pypi","requirements":"\u003e=2.5.9","direct":true,"kind":"runtime","optional":false},{"id":92475230,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=0.22.2","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2023-01-17T12:47:40.912Z","updated_at":"2023-01-17T12:47:40.912Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/.github/workflows/ci.yml","dependencies":[{"id":6992770004,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":6992770005,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":6992770006,"package_name":"actions/cache","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":6992770007,"package_name":"conda-incubator/setup-miniconda","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":6992770008,"package_name":"actions/checkout","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false},{"id":6992770009,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":6992770010,"package_name":"pypa/gh-action-pypi-publish","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/publish-to-test-pypi.yml","sha":null,"kind":"manifest","created_at":"2023-01-17T12:47:41.030Z","updated_at":"2023-01-17T12:47:41.030Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/.github/workflows/publish-to-test-pypi.yml","dependencies":[{"id":6992770031,"package_name":"actions/checkout","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false},{"id":6992770032,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":6992770033,"package_name":"pypa/gh-action-pypi-publish","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"pypi","filepath":"pyproject.toml","sha":null,"kind":"manifest","created_at":"2023-09-21T19:46:32.620Z","updated_at":"2023-09-21T19:46:32.620Z","repository_link":"https://github.com/nasaharvest/cropharvest/blob/main/pyproject.toml","dependencies":[]}],"score":13.204201395619961,"created_at":"2023-09-11T11:54:36.905Z","updated_at":"2026-04-12T20:30:18.536Z","avatar_url":"https://github.com/nasaharvest.png","language":"Jupyter Notebook","category":"Consumption","sub_category":"Agriculture and Nutrition","monthly_downloads":404,"total_dependent_repos":2,"total_dependent_packages":1,"readme":"# CropHarvest\n\nCropHarvest is an open source remote sensing dataset for agriculture with benchmarks. It collects data from a variety of agricultural land use datasets and remote sensing products.\n\n\u003cimg src=\"diagrams/labels_spatial_distribution.png\" alt=\"Spatial distribution of labels\" height=\"400px\"/\u003e\n\nThe dataset consists of **95,186** datapoints, of which **33,205** (35%) have multiclass labels. All other datapoints only have binary crop / non-crop labels.\n\n**70,213** (74%) of these labels are paired with remote sensing and climatology data, specifically [Sentinel-2](https://sentinel.esa.int/web/sentinel/missions/sentinel-2), [Sentinel-1](https://sentinel.esa.int/web/sentinel/missions/sentinel-1/), the [SRTM Digital Elevation Model](https://cgiarcsi.community/data/srtm-90m-digital-elevation-database-v4-1/) and [ERA 5 climatology data](https://www.ecmwf.int/en/forecasts/datasets/reanalysis-datasets/era5).\n\n21 datasets are aggregated into CropHarvest - these are documented [here](https://github.com/nasaharvest/cropharvest/blob/main/datasets.md).\n\nMore details about CropHarvest and the benchmarks are available in [this paper](https://openreview.net/forum?id=JtjzUXPEaCu).\n\n### Pipeline\nThe code in this repository\n\n1) combines the constituent datasets into a single geoJSON file,\n2) exports the associated satellite data from Earth Engine,\n3) combines both datasets to create `(X,y)` training tuples and\n4) exposes those tuples via a `Dataset` object.\n\nThe pipeline through which this happens is shown below:\n\n\u003cimg src=\"diagrams/pipeline.svg\" width=\"100%\"\u003e\n\nAll blue boxes are associated with code in this repository. Anything green is data accessible via [Zenodo](https://zenodo.org/record/5828893). By default, the Zenodo data will get downloaded to the [data folder](https://github.com/nasaharvest/cropharvest/tree/main/data) - the data folder's [Readme](https://github.com/nasaharvest/cropharvest/blob/main/data/README.md) has more information about the exact structure of the data.\n\nThere are unique cases where you may need to use the `EarthEngineExporter` directly, these use cases are demonstrated in the [`demo_exporting_data.ipynb`](https://github.com/nasaharvest/cropharvest/blob/main/demo_exporting_data.ipynb) notebook.\n\n### Installation\nLinux and MacOS users can install the latest version of CropHarvest with the following command:\n```bash\npip install cropharvest\n```\nWindows users must install the CropHarvest within a [conda](https://docs.conda.io/en/latest/miniconda.html) environment to ensure all dependencies are installed correctly:\n```bash\nconda install 'fiona\u003e=1.5' 'rasterio\u003e=1.2.6'\npip install cropharvest\n```\nIn addition, it [may be necessary](https://github.com/h5py/h5py/issues/1774) to install `h5py` using conda as well (`conda install 'h5py\u003e3.7.0'`) prior to pip-installing cropharvest.\n\n### Getting started [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/nasaharvest/cropharvest/blob/main/demo.ipynb)\nSee the [`demo.ipynb`](https://github.com/nasaharvest/cropharvest/blob/main/demo.ipynb) notebook for an example on how to download the data from [Zenodo](https://zenodo.org/record/7257688) and train a random forest against this data.\n\nFor more examples of models trained against this dataset, see the [benchmarks](https://github.com/nasaharvest/cropharvest/blob/main/benchmarks).\n\n### Contributing\nIf you would like to contribute a dataset, please see the [contributing readme](https://github.com/nasaharvest/cropharvest/blob/main/contributing.md).\n\n### ~~FAQ~~ Questions asked at least once\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ca href=https://github.com/nasaharvest/cropharvest/issues/95\u003eHow do I use CropHarvest for a specific geography?\u003c/a\u003e\u003c/summary\u003e\n\nAll the data is accessible through the `cropharvest.datasets.CropHarvest` object. The main parameters which you might be interested in manipulating are controllable through a `cropharvest.datasets.Task`, which takes as input the following parameters:\n- A bounding box, which defines the spatial boundaries of the labels retrieves\n- A target label, which defines the class of the positive labels (if this is left to `None`, then the positive class will be crops and the negative class will be non-crops)\n- A boolean defining whether or not to balance the crops and non-crops in the negative class\n- A test_identifier string, which tells the dataset whether or not to retrieve a file from the `test_features` folder and return it as the test data.\n\nSo if I wanted to use this to train a model to identify crop vs. non crop in France, I might do it like this:\n\n```python\nfrom sklearn.ensemble import RandomForestClassifier\n\nfrom cropharvest.datasets import Task, CropHarvest\nfrom cropharvest.countries import get_country_bbox\n\n# folder into which the data will be downloaded / already exists\ndata_dir = \"data\"\n\n# get_country_bbox returns a list of bounding boxes.\n# the one representing Metropolitan France is the 2nd box\nmetropolitan_france_bbox = get_country_bbox(\"France\")[1]\n\ntask = Task(bounding_box=metropolitan_france_bbox, normalize=True)\n\nmy_dataset = CropHarvest(data_dir, task)\n\nX, y = my_dataset.as_array(flatten_x=True)\nmodel = RandomForestClassifier(random_state=0)\nmodel.fit(X, y)\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ca href=https://github.com/nasaharvest/cropharvest/issues/106\u003eHow do I load a specific pixel timeseries?\u003c/a\u003e\u003c/summary\u003e\n\nThe \u003ca href=https://github.com/nasaharvest/cropharvest/issues/106\u003especific use case\u003c/a\u003e here is to retrieve NDVI values for a specific row in the `labels.geojson`. Here is how you might go about doing that:\n\nFirstly, I will load the geosjon. I'll do it through a `CropHarvestLabels` object, which is just a wrapper around the geojson but provides some nice utility functions.\n```python\n\u003e\u003e\u003e from cropharvest.datasets import CropHarvestLabels\n\u003e\u003e\u003e\n\u003e\u003e\u003e labels = CropHarvestLabels(\"cropharvest/data\")\n\u003e\u003e\u003e labels_geojson = labels.as_geojson()\n\u003e\u003e\u003e labels_geojson.head()\n  harvest_date planting_date  ... is_test                                           geometry\n0         None          None  ...   False  POLYGON ((37.08252 10.71274, 37.08348 10.71291...\n1         None          None  ...   False  POLYGON ((37.08721 10.72398, 37.08714 10.72429...\n2         None          None  ...   False  POLYGON ((37.08498 10.71371, 37.08481 10.71393...\n3         None          None  ...   False  POLYGON ((37.09021 10.71320, 37.09014 10.71341...\n4         None          None  ...   False  POLYGON ((37.08307 10.72160, 37.08281 10.72197...\n\n[5 rows x 13 columns]\n```\n\nNow, I can use the `labels` object to retrieve the filepath of the processed satellite data for each row in the labels geojson:\n```python\n\u003e\u003e\u003e path_to_file = labels._path_from_row(labels_geojson.iloc[0])\n```\nThis processed satellite data is stored as `h5py` files, so I can load it up as follows:\n```python\n\u003e\u003e\u003e import h5py\n\u003e\u003e\u003e h5py_file = h5py.File(path_to_file, \"r\")\n\u003e\u003e\u003e x = h5py_file.get(\"array\")[:]\n\u003e\u003e\u003e x.shape\n(12, 18)\n```\nThe shape of `x` represents 12 timesteps and 18 bands. To retrieve the band I am interested in:\n```python\n\u003e\u003e\u003e from cropharvest.bands import BANDS\n\u003e\u003e\u003e x[:, BANDS.index(\"NDVI\")]\narray([0.28992072, 0.28838343, 0.26833579, 0.22577633, 0.27138986,\n       0.06584114, 0.498998  , 0.50147203, 0.50437743, 0.44326343,\n       0.33735849, 0.28375967])\n```\nThese are 12 NDVI values, corresponding to the 12 months captured in this timeseries. To find out exactly which month each timestep represents, I can do\n```python\n\u003e\u003e\u003e labels_geojson.iloc[0].export_end_date\n'2021-02-01T00:00:00'\n```\nWich tells me that the last timestep represents January 2021. I can work backwards from there.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ca href=\"https://github.com/nasaharvest/cropharvest/issues/88\"\u003eWhat is the data format?\u003c/a\u003e\u003c/summary\u003e\nThe structure of the different data files is now described in depth in the data folder's [Readme](https://github.com/nasaharvest/cropharvest/blob/main/data/README.md)\n\u003c/details\u003e\n\n### License\nCropHarvest has a [Creative Commons Attribution-ShareAlike 4.0 International](https://github.com/nasaharvest/cropharvest/blob/main/LICENSE.txt) license.\n\n### Citation\n\nIf you use CropHarvest in your research, please use the following citation:\n```\n@inproceedings{\n    tseng2021cropharvest,\n    title={CropHarvest: A global dataset for crop-type classification},\n    author={Gabriel Tseng and Ivan Zvonkov and Catherine Lilian Nakalembe and Hannah Kerner},\n    booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},\n    year={2021},\n    url={https://openreview.net/forum?id=JtjzUXPEaCu}\n}\n```\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/1100","html_url":"https://ost.ecosyste.ms/projects/1100"}