Skip to content

Commit 7d8cc77

Browse files
authored
Merge pull request #7 from KhaosResearch/v1.3
V1.3
2 parents 57a6f20 + 6aa83bb commit 7d8cc77

16 files changed

+1104
-537
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DASK_CLUSTER_IP=<DASK_CLUSTER_IP>
5353
SEASONS_FILE=<SEASONS_FILE>
5454

5555
# Product filtering parameters
56-
MAX_CLOUD=<MAX_CLOUD>
56+
MIN_USEFUL_DATA_PERCENTAGE=<MIN_USEFUL_DATA_PERCENTAGE>
5757

5858
# Maximum number of products used in a composite
5959
MAX_PRODUCTS_COMPOSITE=<MAX_PRODUCTS_COMPOSITE>

setup.cfg

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = landcoverpy
3-
version = 1.1
3+
version = 1.3.10
44
author = Antonio Manuel Burgueño Romero
55
author_email = ambrbr[at]uma.es
66
description = A scalable land cover classification workflow using Big Data techniques with Sentinel-2 data.
@@ -13,7 +13,7 @@ project_urls =
1313
Bug Tracker = https://github.com/KhaosResearch/landcoverpy/issues
1414
classifiers =
1515
Programming Language :: Python :: 3 :: Only
16-
Programming Language :: Python :: 3.8
16+
Programming Language :: Python :: 3.10
1717
Development Status:: 5 - Production/Stable
1818
License :: OSI Approved :: MIT License
1919
Topic :: Scientific/Engineering
@@ -29,25 +29,22 @@ install_requires =
2929
matplotlib==3.5.3
3030
mgrs==1.4.5
3131
minio==7.1.11
32-
numpy==1.23.3
33-
pandas==1.4.4
34-
pydantic==1.10.2
32+
numpy==1.26.3
33+
pandas==2.1.4
34+
pydantic==2.7.4
35+
pydantic-settings
3536
pymongo==4.2.0
3637
pyproj==3.4.0
37-
bs4==0.0.1
3838
rasterio==1.3a3
3939
lxml==4.9.1
4040
scikit_learn==1.1.2
41-
scipy==1.9.1
41+
scipy==1.14.1
4242
seaborn==0.12.0
4343
sentinelsat==1.1.1
4444
Shapely==1.8.4
45-
greensenti@git+https://github.com/KhaosResearch/[email protected]
46-
dask==2022.04.1
47-
distributed==2022.4.1
48-
blosc==1.10.2
49-
lz4==4.0.0
45+
lz4==4.3.3
5046
geojson==2.5.0
47+
bs4==0.0.1
5148

5249
[options.packages.find]
5350
where=src

src/landcoverpy/aster.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,14 @@ def get_dem_from_tile(
163163
"""
164164
bucket = _get_bucket_by_name(dem_name)
165165

166-
sample_band_path = _download_sample_band_by_tile(tile, minio_client, mongo_collection)
166+
minio_client_products = MinioConnection(
167+
host="ip_products_minio",
168+
port="9000",
169+
access_key="user",
170+
secret_key="pass",
171+
)
172+
173+
sample_band_path = _download_sample_band_by_tile(tile, minio_client_products, mongo_collection)
167174

168175
(
169176
top_left,

0 commit comments

Comments
 (0)