Attribute.set_value[_date_quality]: add check for removed dim_x and dim_y

Closes #698 (closed) and #697 (closed)

First: I fixed logic in set_complex_value : we must check for is_non_str_seq instead of is_seq. But in general, I actually do not really understand why this was working at all. Because e.g. here we basically pack user return into tuple and give it futher as tuple. So in Attribute.set_value it comes as ((arg[0], arg[1], arg[2]),)

Now logic should be correct.

And then I added a check for removed dim_x and dim_y parameters in Attribute.set_value and Attribute.set_value_date_quality and made the error more informative.

Merge request reports

Loading