Whenever SAR preprocessed image going beyond than 4 giga byte in GeoTIFF format.its giving a java run time error.if the preprocessed image is less than 4gb then GeoTIFF format is working fine and getting a preprocessed correct image.
So ,i have changed the format to GeoTIFF-BigTIFF .then this code is taking more than 1-2 hours and generate a big tif image with ~5 gb.but array of the image is filled with zeros.i am thinking ,its a corrupt image because its showing black with wrong geo-coded in qgis.
Also ,i have tried with NetCDF-CF format .its not working.
First ,I have added system property for enable compression for BigTiff at beginning of my script.Now, its taking less than 40 mins and created a file with ~10mb .But image 2d array filled with zeros and not geocoded properly.