geocif
Models to visualize and forecast crop conditions and yields
Decision gist · record as of 2026-08-14
Yes, with conditions. Geocif is actively maintained and permissively licensed, making it suitable for agricultural forecasting research and operational monitoring. However, the 57 runtime dependencies—especially heavy geospatial and ML libraries—create substantial install complexity and disk footprint. Install only if you have a specific crop-yield or agricultural-monitoring use case and can manage the geospatial dependency chain (particularly on Linux/macOS). Not suitable for lightweight or embedded deployments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11+.
- On Windows, uv automatically pulls pre-built geospatial wheels; on Linux/macOS, geospatial packages install from PyPI.
- Geospatial dependencies (gdal, rasterio, fiona, rtree) may require system libraries.
License · maintenance · safety
MIT (permissive) — MIT license is permissive—you can use, modify, and distribute geocif freely in commercial and private projects with minimal restriction.
last release 2026-08-12 (2 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,893 downloads/mo, #12,778 on PyPI
Alternatives
Verify before relying
# Install via uv (recommended)
uv sync
# Configure paths and settings
config_dir = "/path/to/config"
cfg_geocif = [f"{config_dir}/geobase.txt", f"{config_dir}/countries.txt", f"{config_dir}/crops.txt", f"{config_dir}/geocif.txt"]
# Run yield forecasting
from geocif import geocif_runner
geocomcif_runner.run(cfg_geocif)- Whether the 57 runtime dependencies are all strictly required or if subsets can be used for specific workflows.
- Performance characteristics and typical runtime for large-scale regional yield forecasting.
- Data format requirements and expected input sizes for Earth observation datasets.
- Availability and format of pre-trained models or whether all models must be trained from scratch.
What it is and what it does
Geocif is a machine-learning toolkit for agricultural forecasting that ingests Earth observation (EO) data—satellite imagery, climate records, soil data—and derives climatic impact drivers (CIDs) to predict crop yields and monitor field conditions. It wraps a large ecosystem of geospatial (gdal, rasterio, fiona, shapely, pyproj, rtree) and ML libraries (catboost, xgboost, tabpfn, tabicl, ngboost) to automate the pipeline from raw EO extraction through model training to visualization and reporting.
The package is organized around configuration files (geobase.txt, countries.txt, crops.txt, geocif.txt) that define regions, crop calendars, extraction methods, and model settings. It provides runners for data preparation (via geoprepare), index calculation, ML training, agricultural meteorology monitoring, and yield outlook generation. It also includes cropmask optimizers (threshold-based and per-cell) to refine which agricultural areas are used in modeling, and supports multiple model architectures including gradient boosting and prior-fitted networks.
Use it for
- Build regional crop yield forecasts by training ML models on historical yields and EO-derived climate indices.
- Monitor agricultural conditions and stress across growing seasons using agmet plots and climate metrics.
- Optimize cropland masks for a region by tuning threshold or per-cell inclusion rules to improve model accuracy.
- Generate annual yield outlooks and production reports with maps and accuracy scorecards for policy or market analysis.
- Experiment with different ML architectures (CatBoost, TabPFN, etc.) and feature sets to find the best forecasting model for a crop and region.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Geocif is actively maintained and permissively licensed, making it suitable for agricultural forecasting research and operational monitoring. However, the 57 runtime dependencies—especially heavy geospatial and ML libraries—create substantial install complexity and disk footprint. Install only if you have a specific crop-yield or agricultural-monitoring use case and can manage the geospatial dependency chain (particularly on Linux/macOS). Not suitable for lightweight or embedded deployments.
Install
geocif on PyPI
Before you install
Low install friction with a wheel distribution, but carries 57 runtime dependencies including heavy geospatial libraries (gdal, rasterio, fiona, rtree) and machine-learning frameworks (catboost, xgboost, tabpfn, tabicl). Active maintenance (released 2 days ago) and requires Python 3.11+.
Requires Python 3.11+. On Windows, uv automatically pulls pre-built geospatial wheels; on Linux/macOS, geospatial packages install from PyPI. Geospatial dependencies (gdal, rasterio, fiona, rtree) may require system libraries.
License in practice
MIT license is permissive—you can use, modify, and distribute geocif freely in commercial and private projects with minimal restriction.
Quickstart
# Install via uv (recommended)
uv sync
# Configure paths and settings
config_dir = "/path/to/config"
cfg_geocif = [f"{config_dir}/geobase.txt", f"{config_dir}/countries.txt", f"{config_dir}/crops.txt", f"{config_dir}/geocif.txt"]
# Run yield forecasting
from geocif import geocif_runner
geocomcif_runner.run(cfg_geocif)
Verify before relying
- Whether the 57 runtime dependencies are all strictly required or if subsets can be used for specific workflows.
- Performance characteristics and typical runtime for large-scale regional yield forecasting.
- Data format requirements and expected input sizes for Earth observation datasets.
- Availability and format of pre-trained models or whether all models must be trained from scratch.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 57 packagesborutacatboostfionagdalpyeogprpyprojrasteriortreeshapnumbashapiqshapelyoptunaxarraypoocharrowicclimgeopreparelogzerogeopandastabpfntabiclstatsmodelspalettableseabornscikit-miscsetuptoolschoixscienceplotscartopy |
| Maintenance | Actively maintained 2 days since the last release |
| First released | |
| Downloads | 103,893 / month, #12,778 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: geocif-0.4.908-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “crop yield forecasting”
- geocifGenerates climatic impact drivers from Earth observation data and…
- openbb-government-usIntegrates US Government data sources (commodity reports, weather,…
- python-resize-imageProvides functions to resize images using Pillow, supporting crop,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also regionmask · earthaccess · datacube · prophet · cartoboost · earthengine-api · ydf · rio-cogeo · statsforecast · geemap