davidfrantz / force

Framework for Operational Radiometric Correction for Environmental monitoring
GNU General Public License v3.0
172 stars 50 forks source link

Sentinel 2 Coregistration - Could not retrieve base image #190

Closed dryginmo closed 2 years ago

dryginmo commented 2 years ago

I´d like to process Sentinel 2 Level 2 data (from 2018 to 2021), coregistered on Landsat data as explained in the force coregistration tutorial. My Landsat data reaches one year further back than my Sentinel 2 data. I have folded the time series based on the month and sticked with my settings to the force tutorial. Though, when running the Sentinel 2 processing with coregistration I get the error: "Could not retrieve base image. First 5 digits = 'YYYY-'. Coregsitration failed." The names of my base images yet start the following: "2017-2021_..." Why is the base image not found?

Thanks for any suggestion.

ernstste commented 2 years ago

I'd guess that you provided a folder with datacube structure rather than a VRT/TIF file covering your area of interest. If that's not the case, some more info would be helpful to try and find the issue.

EDIT for clarity: *rather than a folder that is containing a VRT/TIF file... The folder I am talking about is the one provided for DIR_COREG_BASE

davidfrantz commented 2 years ago

Hi @dryginmo,

did you already try @ernstste's solution? This would be my guess as well.

Cheers, David

dryginmo commented 2 years ago

Hi,

sorry for the late response. Your suggestion worked and I could produce coregistered Sentinel 2 data. The problem was that I forgot to create a mosaic for my data cube tiles and feed that to my parameter file.

Thanks again! Cheers :)