Closed ircwaves closed 9 years ago
Is this due to the image not being opened in write mode? It used to be write was the default but now you have to pass it true a the second argument to the GeoImage constructor.
It should throw an error if read only.
As in, it currently doesn't throw an error but it should, not "it should have if opened read only and Process is called"
That sounds likely. I didn't know that the default behaviour had changed. I'll see if it works with update=True
adding the True
took care of it.
As described above, no-arg form of
Process
doesn't update the image. Curiously, if you read the array (GeoImage.Read()
) or if you write to another file (GeoImage.Process(otro_archivo)
) the masks are appropriately applied.