Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CropGRM

License: CC BY 4.0

CropGRM is a general model for crop spatial recognition based on time series of remote sensing and climate data. It can predict 12 crop types globally.

Features

  • Recognizes 12 crops: winter wheat, spring wheat, spring oats, spring barley, spring rye, spring canola, sunflower, corn, soybean, sorghum, beet, potato.
  • Uses spectral (Landsat 5, 8, 9), phenological, and climate (ERA5) features.
  • Trained on global crop data from Europe, the USA, Canada, and China.
  • Gradient boosting model implemented with Catboost.

Project structure

CropGRM
├── data # test data
│   ├── final # output files after prediction
│   ├── processed # preprocessed data for model predictions
│   └── raw # input files
├── models # pre-trained models
├── notebooks # examples and instructions
├── README.md
└── requirements.txt

Models

The project includes three base models with different numbers of predictors and a fine-tuned model (available in models):

Feature lists are in notebooks/inference_tabular.ipynb.

Examples

Examples and instructions are available in notebooks:

  • gee_downloading.ipynb - instructions and examples for downloading spectral and meteorological data from Google Earth Engine Platform
  • feature_calculation.ipynb - instructions and examples for calculating spectral, phenological and meteorological feature for model input
  • inference_tabular.ipynb - instructions and examples for making tabular predictions including feature lists for different models
  • inference_geospatial.ipynb - instructions and examples for making geospatial predictions

Tested on Python 3.12.

Input data

The two input datasets should have the same unique identifier for joining data.

The results can be obtained in tabular, vector, or raster format.

License and Attribution

All trained models, datasets, and example notebooks in this repository are released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license (see LICENSE).

Any use of the models - academic, commercial, or derivative - must include proper attribution. Please cite this repository when using, modifying, or distributing the models or derivative works.

Example attribution:

This work uses models published in the repository https://github.com/AgroDT/CropGRM, licensed under CC BY 4.0.

About

A general model for crop spatial recognition based on time series of remote sensing and climate data. It can predict 12 crop types globally

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages