useful commands mostly (all) written by ingrid lhsu (questions? ask me) Last modified 05 jun 2005 may be found in $OUR_SRC --------------- apply_mask_byte --------------- run after snaphu to mask out areas below the threshold. Usage: apply_mask_byte [unwfile.unw] [mask.msk] [output.unw] [width] 0 Example: apply_mask_byte filt_970726-980815-sim_PRC_4rlks_c10.unw filt_970726-980815-sim_PRC_msk_4rlks_c10.msk total_970726-980815_4rlks.unw 1578 0 ------- cpx2rmg ------- turn a complex file into an rmg file. useful for converting an unwrapped interferogram ------ dgx.pl ------ use to view .int files ---------- dxf2gmtlin ---------- create a gmt file that can be overlayed in plot_phase USAGE: dxf2gmtlin *.dxf > *.gmtlin ------------- enviheader.pl ------------- run this before opening a newly created file (interf, for example) in envi. it automatically creates a headerfile with the proper file dimensions. -------------- extract_geo.pl -------------- use to crop a geocoded image. works for UTM, not sure for lat/lon. USAGE: extract_geo.pl infile outfile x y x y extract_geo.pl geo_970726-980815crop.unw geo_970726-980815cchi.unw 305003 2564420 322381 2543269 ---------------------- extract_geo_profile.pl ---------------------- use to create a text file that lists distance between two geocoded points and corresponding phase value, swath width variable (in pixels) USAGE: extract_geo_profile.pl geo_in geo_out X1 Y1 X2 Y2 Swath ----------- img_frac.pl ----------- determine the fraction unwrapped (sort of like a measure of how coherent the scene is) --- lsk --- ls in chronological order --- lsm --- similar to lsk, but different. ------- makecpt ------- make a customized colortable type "makecpt" to see the list of available standard colortables USAGE: makecpt -C[colortablename] -T[min]/[max]/[step] -Z > [newname].cpt -z flag smooths it "polar" is blue to white to red "rainbow" edit the file for B,F,N to change the endpoints and middle value ----------- plot_mag.pl ----------- same as plot_phase.pl but plots the magnitude (band1) ------------- plot_phase.pl ------------- make a .ps and .gif of the phase component (2) of an interferogram, with georeference marks and scalebar append gmtlin files to the end for overplotting USAGE: ------ snaphu ------ super unwrapper -------- stack.pl -------- stack scenes to average the signal and try to get rid of atmospheric effects note: use extract_geo.pl first to make sure all components are exactly the same size USAGE: stack.pl outfile AND years image1 image2 EXAMPLE: