diff --git a/environment.yml b/environment.yml new file mode 100644 index 00000000..d2522c17 --- /dev/null +++ b/environment.yml @@ -0,0 +1,25 @@ +name: worldcereal-official +channels: + - conda-forge + - defaults +dependencies: + - catboost=1.2.5 + - einops=0.8.0 + - fastparquet=2024.2.0 + - folium=0.16.0 + - gdal=3.8.5 + - geojson=3.1.0 + - geopandas=0.14.4 + - h5netcdf=1.3.0 + - h5py=3.11.0 + - loguru=0.7.2 + - openeo=0.29.0 + - pyarrow=16.1.0 + - python=3.10.0 + - pytorch=2.3.0 + - rasterio=1.3.10 + - rioxarray=0.15.5 + - scikit-image=0.22.0 + - scikit-learn=1.5.0 + - shapely=2.0.4 + diff --git a/notebooks/test_mvp.ipynb b/notebooks/test_mvp.ipynb new file mode 100644 index 00000000..e2027bd5 --- /dev/null +++ b/notebooks/test_mvp.ipynb @@ -0,0 +1,53 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## This should hold the WorldCereal System V1 demo" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Test if the environment is working\n", + "import catboost\n", + "import torch\n", + "import openeo\n", + "# import gfmap" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Test OpenEO connection" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "c = openeo.connect(\"openeo.dataspace.copernicus.eu\").authenticate_oidc()" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "worldcereal", + "language": "python", + "name": "worldcereal" + }, + "language_info": { + "name": "python", + "version": "3.10.0" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/pyproject.toml b/pyproject.toml index bd044453..529723cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ profile = "black" [tool.ruff] -# line-length = 100 +# line-length = 88 [tool.ruff.lint] select = ["E", "F"]