Viktor
April 9, 2019, 8:57am
#1
Hello,
in Graph Builder ENVI export yields an 80-90 Mb large product (.img file) with 0s, while if I run the same process manually I have an appropriate file.
The process is
Read → BandMaths → Subset → Write
If I save the file as BEAM-DIMAP it has the proper data both in Graph Builder version and in manual mode. SO seemingly the ENVI export is not working. What do I miss?
Thanks in advance.
Viktor
ABraun
April 9, 2019, 9:08am
#2
Isn’t the BEAM-DIMAP format fully compatible with ENVI?
It doesn’t answer your question but maybe you can simply skip the ENVI export.
Viktor
April 9, 2019, 9:11am
#3
I need the *.img file for the TIMESAT.
ABraun
April 9, 2019, 10:49am
#4
it is inside the .data folder of the BEAM-DIMAP product (as an ENVI file consisting of *.img and *.hdr)
Viktor
April 9, 2019, 11:09am
#5
That’s right, and when I open the *.img file on itself it contains only 0s, but if I open the *.dim file it contains data.
ABraun
April 9, 2019, 11:12am
#6
sorry, I didn’t get that in your first post.
Viktor
April 9, 2019, 11:13am
#7
OK, the *.img file does contain data (at least the TIMESAT recognised it). It is just the SNAP shows nothing in that band.
Anyway, thanks for help.
ABraun
April 9, 2019, 11:16am
#8
so that means your problem is solved?
SNAP needs the *.dim file, but any other GIS can directly open the *.img-rasters in the data folder.
Viktor
April 9, 2019, 11:37am
#9
Yeah, I was (I am) the stupid The artificial problem that I created was solved in the end!
Sorry!
And cheers!