I/O error reading image metadata



I’m trying to run python code with snappy-python to apply orbit to the sentinel S1A IW GRDH file
But, i got a this error message

even I tried to check the memory, it was 16 G memory on the mac…
and image was clearly opened at SNAP-desktop

How can i solve this problem?

SNAP error

Have you updated the snappy.ini to a higher memory value?
Have a look here:

If this doesn’t help it would be good to see more of your code.