Hi, simple question. Whenever I use writeProduct in snappy it automatically prints 100% done. This gets annoying since I’m going to write thousands of files. Is there a way to “mute” it?
Edit I switched to using WriteOp after this, so the 100% done is gone but now instead I get things like:
INFO: org.esa.snap.core.gpf.common.WriteOp: Start writing product Subset_Subset_S1A_IW_GRDH_1SDH_20141107T045909_20141107T045934_003171_003A68_12E5_Orb_NR_Cal_Spk to data\s1_output\1415336349_56.9491_56.991_19.1516_19.2277
INFO: org.esa.snap.core.gpf.common.WriteOp: End writing product 1415336349_56.9491_56.991_19.1516_19.2277 to data\s1_output\1415336349_56.9491_56.991_19.1516_19.2277
INFO: org.esa.snap.core.gpf.common.WriteOp: Time: 0,022 s total, 0,054 ms per line, 0,000135 ms per pixel
is there a way to get rid of these? My question still remains for GPF.createProduct() as I realized later
Yes, this should be possible. I haven’t executed the following, but I think it will work.
I’m not sure if the NullOutputStream is accessible from Python, but it should.
This will disable any output.
However, I have now started to encounter the memory issues I have read about on the forum from a couple of years ago. Has there been any updates regarding these issues? Here are some of the posts that I am referring to.
In my project I have to subdivide my image into thousands of smaller images (400x400) pixels and write these using WriteOp. I am currently creating the subsets using