Hi François,
Thank you for your answer.
I am processing simulated data of the EnMAP mission and setting parameters starting with a GENERIC sensor in polymer.
The problem I have mentioned seems to be related to the input dataset.
The polymer successfully processes a 30 x 1000 grid and also 100 x 1000 grid but fails - in a second processing block -
while processing a 1024 x 1000 grid (see below).
Cheers,
Brenner
Code: Select all
Starting processing at 2020-09-18 10:54:54.443315
Processing block: size (100, 1000), offset (0, 0)
Processing block: size (100, 1000), offset (100, 0)
ERROR:
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsilva/PycharmProjects/polymer/polymer/main.py", line 517, in run_atm_corr
for block in block_iter:
File "/home/bsilva/PycharmProjects/polymer/polymer/main.py", line 399, in process_block
c.preprocessing(block)
File "/home/bsilva/PycharmProjects/polymer/polymer/main.py", line 71, in preprocessing
raiseflag(block.bitmask,
File "/home/bsilva/PycharmProjects/polymer/polymer/utils.py", line 210, in raiseflag
bitmask[condition.astype('bool') & notraised] += flag_value
ValueError: operands could not be broadcast together with shapes (0,1000) (100,1000)
----------------------------------------------------------------------
Ran 1 test in 692.896s
FAILED (errors=1)