Saving file after editting [message #94357] |
Tue, 18 April 2017 11:39  |
alghafisuct
Messages: 20 Registered: November 2014
|
Junior Member |
|
|
Hi All
I have .dat file which is binary format unsigned integer 32. The file is 5000 by 5359 and I use the following to read the file in IDL as a complex numbers
array_HH = make_array(5000, 5359, /dcomplex, /nozero)
filename_HH = ('C:\Users\asus\Desktop\IDL_PROJECTS\20151021115853_11_SAR_C PLX_0_pres_8.dat')
OPENR, importUnit, filename_HH, /GET_LUN
READU, importUnit, array_HH
CLOSE, importUnit
FREE_LUN, importUnit
Absloute_Value_HH = ABS(array_HH)
Image_HH = Absloute_Value_HH^(0.7/2)
My question is I want to save the file after editing as .dat file with the same format and saving it in the same file not a new file. How can that be done so once I open it again, I open it the same way
Regards
|
|
|
|