-
Notifications
You must be signed in to change notification settings - Fork 0
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
ERROR with Series().stack() #6
Comments
Hi @bcerripromethee! Unfortunately I'm out of office till the first of July, so I won't investiguate this issue until then. I think there is a copy issue (maybe when creating the VRT?) |
Hi @bcerripromethee ! Sorry for the delay, I've only been able to investigate this now 😢 I'll fix this in next commit :) |
This should work now :) from eosets import Series
import geopandas as gpd
# Create logger
import logging
from sertit import AnyPath, logs
logs.init_logger(logging.getLogger("eoreader"))
logs.init_logger(logging.getLogger("eopairs"))
# Paths
data_path = AnyPath(r"D:\_EXTRACTEO\DS3\CI\eosets\DATA")
s2_paths = [data_path / "S2A_MSIL1C_20200824T110631_N0209_R137_T29TQE_20200824T150432.zip", data_path / "S2B_MSIL1C_20200908T110619_N0209_R137_T29TQE_20200908T132324.zip"]
aoi = data_path / "Fire_Spain.geojson"
# Create pair
series = Series(paths=s2_paths, output_path=r"D:\_EXTRACTEO\OUTPUT\eosets\Series2")
# Stack
stack = series.stack(bands=[RED, GREEN, SWIR_2], window=aoi, stack_path=series.output / "stack.tif")
|
Description
Hello,
I am actually trying to create a series of two granule of Sentinel-2 L2A ( S2A_MSIL2A_20220713T103041_N0400_R108_T31TFJ_20220713T164557.SAFE and S2A_MSIL2A_20220716T103641_N0400_R008_T31TFJ_20220716T183414.SAFE).
After creating my
Series
, this latter fails to stack them, do you have an idea of the issue ?Code To Reproduce
Output
Environment:
Python 3.11.9
0.21.1
1.37.0
0.2.1
The text was updated successfully, but these errors were encountered: