Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP #47

Merged
merged 5 commits into from
Jun 7, 2024
Merged

MVP #47

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading