API: vrt file error
Issue reported via email by @rrettig
Hi All,
its not related to ECMWF or sicor. It's a problem with our vrt files.
The error-msg "Exception: Error: Cloud_mask and image vrt-file are out of sync. 413 vs. 414"
This means there is one more cloud mask dataset than datasets listed in vrt-files for this tile.
The tile is 32UQE.
This can happen, if data is already processed but the vrt-file is not written, yet (good). Or we have to rewrite our vrt files (bad).
I will create an issue and put everything into gts2_doc.
More info will follow.
Best, Christian
Am 2020-10-05 um 13:30 schrieb Romulo Goncalves:
Hi Niklas,
Do you have any idea what could be the meaning of this issue? Do you think it is the ECMWF data?
We would like to help Robert moving forward.
Best Romulo
On 05.10.20 12:19, Robert Rettig wrote:
Out of curiosity I changed the date to: https://rz-vm175.gfz-potsdam.de:80/AC/B02_B03_B04_B05_B06_B07_B08_B11_B12/20150801_20151129/13.173_13.362_53.80_54.02?sensor=S2all&minimum_fill=0.&level=L2A&max_cloudy=1.0&resolution=10_10_10_20_20_20_10_20_20&suffix=coreg&version=0.13 0"Error: ErrorTraceback (most recent call last):" 1" File "/home/gts2/API/API.py", line 179, in __get_data" 2" raise Exception(message)" 3"Exception: Error: x_ll:3668,x_ur:4363,y_ll:1533,y_ur:272,diff_x:695,diff_y:1261,vrt:/home/gts2/data/S2_L2A_v0.13/32U/QE/S2_L2A_v0.13_32UQE_MSK_20m_coreg.vrt, Something went wrong while initiating gdal (metadata)Traceback (most recent call last):" 4" File "/home/gts2/API/read_S2data_from_vrt.py", line 530, in get_metadata" 5" "Error: Cloud_mask and image vrt-file are out of sync. %s vs. %s" % (n_bands, n_timesteps))" 6"Exception: Error: Cloud_mask and image vrt-file are out of sync. 413 vs. 414" 7"" 8"" best, Robert
-- Christian Hohmann Dipl.-Ing. (FH), M. Sc. Section 1.4, Remote Sensing Tel.: +49 (0)331/288-28984 Email: christian.hohmann@gfz-potsdam.de
Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ Stiftung des öff. Rechts Land Brandenburg Telegrafenberg 14473 Potsdam