Dear Clement Albinet and giopalumbo,
When I process the L1B product with BiomassProduct.py, and export the data to tiff files, by using:
import BiomassProduct
from pathlib import Path
###Define the path to the STA product
test_dgm_path = r"G:\BIOMASS_DATASET_L1B\BIO_S2_DGM__1S_20251212T134812_20251212T134833_T_G01_M01_C01_T009_F118_01_DJJYF5"
product_DGM = BiomassProduct.BiomassProductDGM(test_dgm_path)
product_DGM.export_abs_bands_separately(r"C:\Users\Dell\Desktop\export_abs_bands_separately")
I got 4 files,
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_4.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_1.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_2.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_3.tif"
However, these datasets have no geotransform information, and reported,
✔️ Complex polarizations loaded: HH, HV, VH, VV.
🗺 CRS: None, GCPs: 35 trovati.
C:\Users\Dell.conda\envs\biomass_env\lib\site-packages\rasterio_init_.py:366: NotGeoreferencedWarning: The given matrix is equal to Affine.identity or its flipped counterpart. GDAL may ignore this matrix and save no geotransform without raising an error. This behavior is somewhat driver-specific.
dataset = writer(
Also, the output image locations were shifted from the google earth image,
Could you please help us to solve this problem?
Thank you very much.
Hongtao
Dear Clement Albinet and giopalumbo,
When I process the L1B product with BiomassProduct.py, and export the data to tiff files, by using:
import BiomassProduct
from pathlib import Path
###Define the path to the STA product
test_dgm_path = r"G:\BIOMASS_DATASET_L1B\BIO_S2_DGM__1S_20251212T134812_20251212T134833_T_G01_M01_C01_T009_F118_01_DJJYF5"
product_DGM = BiomassProduct.BiomassProductDGM(test_dgm_path)
product_DGM.export_abs_bands_separately(r"C:\Users\Dell\Desktop\export_abs_bands_separately")
I got 4 files,
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_4.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_1.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_2.tif"
"C:\Users\Dell\Desktop\export_abs_bands_separately\band_3.tif"
However, these datasets have no geotransform information, and reported,
✔️ Complex polarizations loaded: HH, HV, VH, VV.
🗺 CRS: None, GCPs: 35 trovati.
C:\Users\Dell.conda\envs\biomass_env\lib\site-packages\rasterio_init_.py:366: NotGeoreferencedWarning: The given matrix is equal to Affine.identity or its flipped counterpart. GDAL may ignore this matrix and save no geotransform without raising an error. This behavior is somewhat driver-specific.
dataset = writer(
Also, the output image locations were shifted from the google earth image,
Could you please help us to solve this problem?
Thank you very much.
Hongtao