Skip to content

Commit

Permalink
Merge pull request #47 from WorldCereal/kvt
Browse files Browse the repository at this point in the history
MVP
  • Loading branch information
kvantricht authored Jun 7, 2024
2 parents a441c8f + 10d6178 commit 5d9ce61
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 1 deletion.
25 changes: 25 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -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

53 changes: 53 additions & 0 deletions notebooks/test_mvp.ipynb
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ profile = "black"


[tool.ruff]
# line-length = 100
# line-length = 88

[tool.ruff.lint]
select = ["E", "F"]
Expand Down

0 comments on commit 5d9ce61

Please sign in to comment.