Skip to content

Commit

Permalink
Merge branch 'main' into 57-udf-memory-profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
kvantricht committed Jun 24, 2024
2 parents 84f12bc + 4680b7e commit 64c4eee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 60 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies = [
"numpy<2.0.0",
"h5netcdf>=1.1.0",
"openeo>=0.29.0",
"openeo-gfmap==0.1.0",
"cftime",
"pytest-depends",
"pyarrow",
Expand Down
3 changes: 1 addition & 2 deletions src/worldcereal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env python3

from ._version import __version__
from .utils.spatial import BoundingBoxExtent

__all__ = ["__version__", "BoundingBoxExtent"]
__all__ = ["__version__"]

SUPPORTED_SEASONS = [
"tc-s1",
Expand Down
3 changes: 2 additions & 1 deletion src/worldcereal/seasons.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
import numpy as np
import pandas as pd
from loguru import logger
from openeo_gfmap import BoundingBoxExtent

from worldcereal import SEASONAL_MAPPING, SUPPORTED_SEASONS, BoundingBoxExtent
from worldcereal import SEASONAL_MAPPING, SUPPORTED_SEASONS
from worldcereal.data import cropcalendars

# from worldcereal.utils import aez as aezloader
Expand Down
56 changes: 0 additions & 56 deletions src/worldcereal/utils/spatial.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/worldcerealtests/test_seasons.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import numpy as np
import pandas as pd
from openeo_gfmap import BoundingBoxExtent

from worldcereal import BoundingBoxExtent
from worldcereal.seasons import (
circular_median_day_of_year,
doy_from_tiff,
Expand Down

0 comments on commit 64c4eee

Please sign in to comment.