-
Notifications
You must be signed in to change notification settings - Fork 17
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 reprojecting using gdal #14
Comments
Hi, Thanks a lot for your interests on SIAC. I have tested with your file and it seems working for me: from SIAC import SIAC_S2
global_dem = '/vsicurl/https://gws-access.jasmin.ac.uk/public/nceo_ard/DEM_V3/global_dem.vrt'
cams_dir = '/vsicurl/https://gws-access.jasmin.ac.uk/public/nceo_ard/cams/'
SIAC_S2('./Downloads/S2B_MSIL1C_20181225T143749_N0207_R096_T19HCC_20181225T175914.SAFE/', global_dem = global_dem, cams_dir = cams_dir)
2022-07-27 12:35:08,713 - SIAC-V2.3.6 - INFO - Preprocessing for S2B_MSIL1C_20181225T143749_N0207_R096_T19HCC_20181225T175914.SAFE
2022-07-27 12:35:08,713 - SIAC-V2.3.6 - INFO - Doing per pixel angle resampling.
2022-07-27 12:35:36,464 - SIAC-V2.3.6 - INFO - Getting cloud mask.
2022-07-27 12:36:11,832 - SIAC-V2.3.6 - INFO - Valid pixel percentage: 100.00
2022-07-27 12:36:11,832 - SIAC-V2.3.6 - INFO - Clean pixel percentage: 99.94
2022-07-27 12:36:11,993 - SIAC-V2.3.6 - INFO - Starting atmospheric corretion for S2B_MSIL1C_20181225T143749_N0207_R096_T19HCC_20181225T175914.SAFE
2022-07-27 12:36:11,997 - SIAC-V2.3.6 - INFO - Getting MCD43 from GEE I have gdal and libgdal version 3.5.0, which should be pretty much the same as yours. Could you please firstly check the gdal package is working properly? Try gdalwarp with: gdalwarp /vsicurl/https://gws-access.jasmin.ac.uk/public/nceo_ard/DEM_V3/global_dem.vrt out_dem.tif -te 300000 6190240 409800 6300040 -t_srs EPSG:32719 Thanks, Marc. |
Hello Marc, Thanks a lot for the quick answer. Yes, the gdalwarp is working with that command.
Could it be that the error is arising upstream? I'm going to try to print some logs to what is given exactly what python is giving to the wrapper. Thanks, |
Hello,
Thanks for making your work open source. I saw the results, and they are amazing. I'm trying to do a little test on Mac using gdal 3.5.1. However, I have the error below. Could it be an error related to the gdal version?
Thanks a lot in advance,
Carlos
The text was updated successfully, but these errors were encountered: