Polymer processing MSI images
Posted: Thu May 28, 2020 3:49 pm
Hi,
I used Polymer 4.10 to process a MSI image by the following codes:
def Polymer_MSI_EU():
FName = '/mnt/share/data/msi_data/S2A_MSIL1C_20150806T102016_N0204_R065_T33VVE_20150806T102012.SAFE/GRANULE/L1C_T33VVE_A000634_20150806T102012/'
run_atm_corr(
Level1_MSI(FName, resolution='20', landmask=GSW()), # if not provided, use the 60m resolution
Level2_NETCDF() # by default, output in the same folder as input
)
But I got the following message:
File "polymer_msi_EU.py", line 18, in polymer_MSI_EU
Level1_MSI(FName, resolution='20', landmask=GSW()), # if not provided, use the 60m resolution
File "/media/sf_data/polymer-v4.10/polymer-v4.10/polymer/level1_msi.py", line 122, in __init__ assert len(xmlfiles) == 1
AssertionError
What should I do to deal with this error message?
I used Polymer 4.10 to process a MSI image by the following codes:
def Polymer_MSI_EU():
FName = '/mnt/share/data/msi_data/S2A_MSIL1C_20150806T102016_N0204_R065_T33VVE_20150806T102012.SAFE/GRANULE/L1C_T33VVE_A000634_20150806T102012/'
run_atm_corr(
Level1_MSI(FName, resolution='20', landmask=GSW()), # if not provided, use the 60m resolution
Level2_NETCDF() # by default, output in the same folder as input
)
But I got the following message:
File "polymer_msi_EU.py", line 18, in polymer_MSI_EU
Level1_MSI(FName, resolution='20', landmask=GSW()), # if not provided, use the 60m resolution
File "/media/sf_data/polymer-v4.10/polymer-v4.10/polymer/level1_msi.py", line 122, in __init__ assert len(xmlfiles) == 1
AssertionError
What should I do to deal with this error message?