-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi,
I am getting following error while running dem generation command.
(xdem-dev) root@5a258cb89537:/# python3.6 scripts/2_dem_generation.py --download_dir /home/s1/ --output_dir /home/results/ --query_result /home/s1/s1_scenes.csv --pair_index 0 --aoi_path /home/ao
i/aoi.geojson
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Incompatible GDAL 3.5.3 found on system. Internal GDAL 3.2.1 from distribution will be used.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.2.1 set to be used by SNAP.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
WARNING: org.esa.snap.core.util.EngineVersionCheckActivator: A new SNAP version is available for download.
Currently installed 9.0.0, available is 10.0.0.
Please visit http://step.esa.int
Reading...
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.2.1 set to be used by SNAP.
Reading...
Extracting subswath and bursts for AOI...
/s1-tops-split-analyzer/stsa/stsa.py:158: UserWarning: "load_data" is deprecated and will be removed soon. Please use "load_api" or "load_zip" in the future.
warnings.warn('"load_data" is deprecated and will be removed soon. Please use "load_api" or "load_zip" '
Loaded ZIP file: S1B_IW_SLC__1SDV_20200826T020240_20200826T020308_023088_02BD67_BFA1.zip
Found 6 XML paths
Loaded location grid with 9 bursts and 210 coordinates
Extracting subswath and bursts for AOI...
/s1-tops-split-analyzer/stsa/stsa.py:158: UserWarning: "load_data" is deprecated and will be removed soon. Please use "load_api" or "load_zip" in the future.
warnings.warn('"load_data" is deprecated and will be removed soon. Please use "load_api" or "load_zip" '
Loaded ZIP file: S1B_IW_SLC__1SDV_20201001T020241_20201001T020309_023613_02CDD5_F37C.zip
Found 6 XML paths
Loaded location grid with 9 bursts and 210 coordinates
Traceback (most recent call last):
File "scripts/2_dem_generation.py", line 941, in
subset_buffer=args.aoi_buffer
File "scripts/2_dem_generation.py", line 710, in run_P1_interferogram
stsa_df.lastBurstIndex_1.fillna(stsa_df.firstBurstIndex_1, inplace=True)
File "/usr/local/lib/python3.6/dist-packages/pandas/core/generic.py", line 5141, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'firstBurstIndex_1'