Skip to main content

Flexible raster time-series forecasting using native and aggregated spatial grids

Project description

geoflexforecast

geoflexforecast is a Python package for flexible raster time-series forecasting.

The package allows users to:

  • Forecast rasters at native pixel level
  • Aggregate pixels into user-defined blocks
  • Reduce computational load for massive raster datasets
  • Apply ARIMA forecasting across raster time series

Forecasting Modes

Native Mode

Forecast every raster pixel independently.

Aggregate Mode

Aggregate raster pixels into blocks such as:

  • 2x2
  • 5x5
  • 10x10

before forecasting.

This is useful for large rasters and limited computational resources.

Example

from geoflexforecast import forecast_raster_series

forecast_raster_series(
    raster_paths=[
        "NDVI_2001.tif",
        "NDVI_2002.tif",
        "NDVI_2003.tif"
    ],
    output_path="forecast.tif",
    mode="aggregate",
    block_size=10,
    aggregation="mean",
    order=(1, 1, 1),
    min_obs=3
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geoflexforecast-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geoflexforecast-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file geoflexforecast-0.1.0.tar.gz.

File metadata

  • Download URL: geoflexforecast-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for geoflexforecast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3f5a0de49138cf1cfd8f87975fcbbdb22888017f9fed08f03f5f0f03e24da00
MD5 50ed9cfe06c09fc82cc417dc55ab9d2c
BLAKE2b-256 4692e5aabcad7eb79341a39fd79ece685d95156a6610758d168eb978163664c0

See more details on using hashes here.

File details

Details for the file geoflexforecast-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geoflexforecast-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e53b4e0aabc0a8506804fe08da97ce8aff5b00a315ebc59bb3daba73eca78578
MD5 923f155b19da9ab43bb284b3af74cd1d
BLAKE2b-256 c0d9efbb459b6db1e9ec4a4c8f6c4612bdf2024f95c21a783a188ed8a97d394d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page