bosmanoglu / adore-doris

Automated DORIS Environment (adore) is a set of bash scripts to ease use of TU-DELFT's DORIS software.
GNU General Public License v2.0
14 stars 7 forks source link

Raster of resampled slave #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ADORE: raster a resample -M4/20
+ '[' -n 'raster a resample -M4/20' ']'
+ history -s 'raster a resample -M4/20'
+ case "${command%% *}" in
+ eval raster a resample -M4/20
++ raster a resample -M4/20
++ . /RAID6/insarlab/adore_4.0.1/scr/fun/raster a resample -M4/20
+++ local generate dorisStep remainder
+++ local generateCheck
+++ local fileName resFile format width numlines
+++ '[' 3 -gt 2 ']'
+++ generate=a
+++ shift
+++ dorisStep=resample
+++ shift
+++ remainder=-M4/20
++++ echo a
++++ tr '[:upper:]' '[:lower:]'
+++ generate=a
++++ echo a
++++ tr -d '[a,p,m]'
+++ generateCheck=
+++ '[' -z ']'
+++ echo 'I'\''ll pass these options to cpxfiddle: -M4/20'
I'll pass these options to cpxfiddle: -M4/20
+++ call '(fileName resFile format width numlines)=dorisProcess2OutputFile
resample'
+++ functionCall='(fileName resFile format width
numlines)=dorisProcess2OutputFile resample'
+++ functionOutput='(fileName resFile format width numlines)'
+++ functionCall='dorisProcess2OutputFile resample'
+++ functionName=dorisProcess2OutputFile
+++ eval 'output_array=(fileName' resFile format width 'numlines)'
++++ output_array=(fileName resFile format width numlines)
+++ eval dorisProcess2OutputFile resample
++++ dorisProcess2OutputFile resample
++++ local dorisStep=resample
++++ local parameter=Data_output_file
++++ local grepM grepS grepI resfile firstPixel lastPixel numpixels
multilookfactorPixels
++++ local firstLine lastLine numlines multilookfactorLines inputfile
section notify grepStart grepEnd grepLength
++++ local numHits matchingLine result format filename
++++ [[ resample == m_* ]]
++++ [[ resample == s_* ]]
+++++ pn2rs resample
++++ dorisStep=resample
+++++ grep resample ./081227.res
++++ grepM='resample:       0'
+++++ grep resample ./091003.res
++++ grepS='resample:       1
*_Start_resample:
* End_resample:_NORMAL'
+++++ grep resample ./081227_091003.res
++++ grepI=
++++ [[ -n resample:        0 ]]
++++ resfile=./081227.res
++++ echo 'Reading resample information from: ./081227.res'
Reading resample information from: ./081227.res
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
First_pixel
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ firstPixel=
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
Last_pixel
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ lastPixel=
++++ numpixels=-1
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
Multilookfactor_range_direction
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ multilookfactorPixels=
++++ '[' -n '' ']'
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
First_line
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ firstLine=
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
Last_line
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ lastLine=
++++ numlines=-1
+++++ /RAID6/insarlab/adore_4.0.1/scr/readRes.sh ./081227.res resample
Multilookfactor_azimuth_direction
(standard_in) 2: parse error
grep: Start_resample: invalid context length argument

++++ multilookfactorLines=
++++ '[' -n '' ']'
++++ inputfile=./081227.res
++++ section=resample
++++ notify=notify
+++++ grep -n Start_resample ./081227.res
+++++ cut -f1 -d:
++++ grepStart=
+++++ grep -n End_resample ./081227.res
+++++ cut -f1 -d:
++++ grepEnd=
/RAID6/insarlab/adore_4.0.1/scr/fun/resfile.fun: line 67: -: syntax error:
operand expected (error token is "-")
+++ arrayLen=5
+++ (( k=0 ))
+++ (( k<5 ))
+++ outputName='dorisProcess2OutputFile_outputs[0]'
+++ outputName=_filename
+++ eval 'fileName="./081227.crop"'
++++ fileName=./081227.crop
+++ (( k++  ))
+++ (( k<5 ))
+++ outputName='dorisProcess2OutputFile_outputs[1]'
+++ outputName=_resfile
+++ eval 'resFile="./081227.res"'
++++ resFile=./081227.res
+++ (( k++  ))
+++ (( k<5 ))
+++ outputName='dorisProcess2OutputFile_outputs[2]'
+++ outputName=_format
+++ eval 'format="ci2"'
++++ format=ci2
+++ (( k++  ))
+++ (( k<5 ))
+++ outputName='dorisProcess2OutputFile_outputs[3]'
+++ outputName=_numpixels
+++ eval 'width="6212"'
++++ width=6212
+++ (( k++  ))
+++ (( k<5 ))
+++ outputName='dorisProcess2OutputFile_outputs[4]'
+++ outputName=_numlines
+++ eval 'numlines="25849"'
++++ numlines=25849
+++ (( k++  ))
+++ (( k<5 ))
+++ unset k output_array arrayLen outputName functionCall functionOutput
functionName
+++ '[' -z ./081227.crop ']'
+++ echo Image Width ..6212..
Image Width ..6212..
+++ echo Image Format ..ci2..
Image Format ..ci2..
++++ basename ./081227.crop
++++ tr . _
+++ outName=081227_crop
+++ [[ a == *a* ]]
+++ [[ 3 -eq 2 ]]
+++ cpxfiddle -w 6212 -f ci2 -e 0.5 -q mag -o sunraster -c gray -M4/20
./081227.crop
@(#)Doris software, $Revision: 4.01 $, $Author: TUDelft $
# fsize: 642295952
cpxfiddle: INFO: Number of output pixels: 1553

+++ echo 'Name of rasterfile: A_081227_crop.ras'
Name of rasterfile: A_081227_crop.ras
+++ [[ a == *p* ]]
+++ [[ a == *m* ]]
+++ return 0
+ '[' 1 ']'
+ read -r -p 'ADORE: ' -e command

Original issue reported on code.google.com by francesc...@gmail.com on 29 Jan 2010 at 4:30

GoogleCodeExporter commented 9 years ago
OK this is fixed as well. There was a problem with the internal function
dorisResult2OutputFile. 

Original comment by batuhan.osmanoglu@gmail.com on 3 Feb 2010 at 11:22