# GeoLattice runtime dependencies.
#
# This file is the single source of truth: pyproject.toml reads [project].dependencies
# from it, so installing the wheel or the sdist (pip install geolattice-<version>-*.whl or
# geolattice-<version>.tar.gz) installs every package listed here. It is the conflict-free set
# that "geolattice[all]" (installation option 6) resolves to. Regenerate it with
# "python tools/make_requirements.py" after changing an extra in pyproject.toml;
# tests/test_requirements.py checks that the two agree.
#
# Left out on purpose, install by name when needed (they need CUDA, a cluster, Java, or
# pin versions that conflict with this set):
#   geolattice[compute], geolattice[geostatistics-gpu], geolattice[rsense-gpu], geolattice[distributed-gpu]   CUDA GPUs
#   geolattice[distributed-hpc]       SLURM, PBS and Kubernetes clusters
#   geolattice[distributed-spark]     Apache Sedona and PySpark (Java 17+)
#   geolattice[geostatistics-h2o], geolattice[geostatistics-tensorflow]
#   geolattice[rsense-uav-dl], geolattice[rsense-vision], geolattice[rsense-foundation]   large vision models
#   geolattice[rsense-biopar]         needs pandas < 3
#   geolattice[dev]                   tests, linters, docs (see requirements-dev.txt)
#
# The "gdal" package compiles against the GDAL library already on the system and must
# match its version; install GDAL with conda or the system package manager first.

# Core: arrays, tables, geometry, CRS, GDAL
contextily>=1.3.0
fiona>=1.8.0
folium>=0.12.0
gdal>=3.3.0
geopandas>=1.0
mapclassify>=2.5.0
matplotlib>=3.6
numpy>=1.21.0
pandas>=1.5
plotly>=5.0.0
pyarrow>=14
pyproj>=3.2.0
pyvista>=0.35.0
rasterio>=1.3.0
scipy>=1.9
shapely>=2.0.0
xarray>=2023.1.0

# Spatial analysis
dask[distributed]>=2023.1.0
h5netcdf>=1.0.0
libpysal>=4.10
netCDF4>=1.5.0
networkx>=3.0
osmnx>=1.9.0
scikit-learn>=1.3.0
whitebox>=2.0.0
zarr>=2.14

# Spatial statistics and spatial causal inference
arviz>=0.17
joblib>=1.3.0
lightgbm>=4.0.0
pygam>=0.9
pymc>=5.0
torch>=2.1
xgboost>=2.0.0

# Geostatistics
jax>=0.4.30
jaxlib>=0.4.30
optuna

# Remote sensing
asf_search>=7.0
cloth-simulation-filter>=1.1
earthaccess>=0.9
earthengine-api>=0.1.380
gdown>=5.0
h5py>=3.8
hyp3_sdk>=6.0
laspy[lazrs]>=2.4
leafmap>=0.30
lightning>=2.1
odc-stac>=0.3.9
opencv-python>=4.8
planetary-computer>=1.0
prosail>=2.0
pyodm>=1.5
pystac-client>=0.7
pystac>=1.8
requests>=2.28
rioxarray>=0.15
sarsen>=0.9
scikit-image>=0.20
segmentation-models-pytorch>=0.3
shap>=0.44
sliderule>=4.0
snaphu>=0.4; python_version < "3.14"
streamlit>=1.30
timm>=0.9
torchgeo>=0.5
torchvision>=0.16
tqdm>=4.66
xee>=0.0.10

# Web and cloud GIS, spatial databases
adlfs>=2023.1
duckdb>=0.10
fsspec>=2023.1
gcsfs>=2023.1
geoalchemy2>=0.14
httpx>=0.24
pillow>=9.0
psycopg[binary]>=3.1
pyogrio>=0.7
s3fs>=2023.1
sqlalchemy>=2.0
starlette>=0.27
uvicorn>=0.23

# Distributed computing and machine learning
bokeh>=3.1
dask-geopandas>=0.4
