File: helpdoris

package info (click to toggle)
doris 4.06~beta2%2Bdfsg-3
  • links: PTS, VCS
  • area: contrib
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,132 kB
  • ctags: 1,923
  • sloc: cpp: 42,573; csh: 3,636; sh: 2,869; python: 1,180; ansic: 650; makefile: 246
file content (1592 lines) | stat: -rwxr-xr-x 27,368 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
#!/bin/sh
##!/bin/ksh
# processor.helpfile
# simulate man like help for processor options
# 
# History
# 03/03/99      Initial version  - [BK] Bert Kampes
# 19/03/99	Added troff and printout   
# 03/11/00      Changed to /usr/bin/ksh for Linux default (?)
# 07/02/02      Changed to /usr/sh for Cygwin
# 15/10/11      less escape code fix [MA]
# 15/10/11      Fixed some old comments [MA]
#
## RCS at end of file #####
#######################
# expand tabs before formatting.
# . .IP " " -2

# .TH "$bn " "1" "$line"
# .ds )H $sswname
# .ds ]W Release 0.0: March 1999

# select printer, default geodesy 4th floor
if   [ "X$PRINTER" != "X" ]; then
  THEPRINTER="$PRINTER"
elif [ "X$LPDEST" != "X" ]; then
  THEPRINTER="$LPDEST"
else
  THEPRINTER="d5simx4de"
fi

VERSION="3.6++"
bn=`basename $0`		# name of this file
swname="Doris (Delft Object-oriented Radar Interferometric Software) - TU Delft"
sswname="Doris"			# short software name
##################################################################################
BERTLINE()
  {
  echo " +---------------+-----------------------------------------------+---------- "
  }

BERTLINES()
  {
  echo .RE 1
  echo 
  echo 
  echo $line
  echo " keyword        #arg                                      default (man/opt)"
  echo $line
  }
line=`BERTLINE`			# function to print line
lines=`BERTLINES`		# function to print lines


##################################################################################
MANPG() {
   cat << MANEOF

.DA

"$bn" \- find out options for processor software; print it out. Version: $VERSION  - TUDelft

Usage:
.RS 3
.B
$bn 
[
.ul
word
/
.B
-p
]
.br
.B
processor -h
.ul
[word]


.RS 3.2
.ul
word	 
start $bn with searching for 
.ul
word.
.br
.B
-p	
print this helpfile to printer: $THEPRINTER.


.RS 3
press 
.B
h 
for help on pager (search, mark, forward, backwards, etc.)



$lines
.ul
   General cards

.TP 4
.B
c		0					opt
.B
.br
.B
C
.br
.B
comment
.br
.B
COMMENT
.br
.B
#
.br
.B
//
.br
Any text after these keys is ignored.


.TP 4
.B
BEEP		1				WARNING         \\
Controls level of beeping. Options are:
.br
.ul
ERROR	
only beeps on error.
.br
.ul
WARNING	
beeps on errors and warnings.
.br
.ul
PROGRESS
beeps on errors, warnings and progress.
.br
.ul
ON
Enables beeping, level is highest (PROGRESS).
.br
.ul
OFF
disables beeping.

.TP 4
.B
PREVIEW		1				OFF             \\
Controls generation of SUNraster preview files (uses cpxfiddle system call).
.br
.ul
ON
Enables preview generation.  SUNraster files are created after most steps where it is
appropriate.  This is done by writing a small shell script in the current directory,
which then is executed.  This script can later be executed by the user again.
.br
.ul
XV
Same as ON, but additionally calls the program xv to view the results.
.br
.ul
OFF
disables preview generation.

.TP 4
.B
SCREEN		1				debug           \\
Controls level of output to standard out.
.br
.ul
ERROR	
only error are written to stout.
.br
.ul
WARNING	
errors and warnings.
.br
.ul
PROGRESS
errors, warnings and progress.
.br
.ul
INFO	
errors, warnings, progress and info.
.br
.ul
DEBUG	
errors, warnings, progress, info, debug.
.br
.ul
TRACE	
errors, warnings, progress, info, debug, trace.
tracing shows all visited functions.
If you compile a debug version of doris, a lot more is traced,
also in the matrix class.



.TP 4
.B
BATCH		0 or 1				off             \\
Specifies non-interactive processing.
.br
If 
.ul
ONLYPROCESS
mode then always in batch.
.br
If (only 1)
.ul
PROCESS
card then this card is signifiant.
.br
.ul
ON	
do non-interactive processing, except when problems are signalled.
.br
.ul
OFF	
do interactive processing.


.TP 4
.B
LISTINPUT		0 or 1				on              \\
copying inputoptionsfile to logfile.
.br
.ul
ON	
do copy the input file to the logfile.
.br
.ul
OFF	
do not copy the input file to the logfile.


.TP 4
.B
OVERWRITE		0 or 1				off             \\
Overwrite existing data output files if they exist.
.br
.ul
ON	
overwrite.
.br
.ul
OFF	
do not overwrite.


.TP 4
.B
ELLIPSOID            	1 or 2				wgs84
Change ellipsoid.
NOT OK in version $VERSION
.br
.ul
WGS84	
use wgs84.
.br
.ul
GRS80	
use grs80.
.br
.ul
BESSEL	
use bessel.
.br
.ul
a b	
use specified semi major/minor.


.TP 4
.B
MEMORY		        1			250             \\
Specify available memory (integer MB).


.TP 4
.B
ORB_INTERP		2			POLYFIT deg    \\ 
Interpolation method for orbits.  Default polynomial fit of
maximum degree (interpolation).  If there are more than 6
datapoints the degree is 5 by default.  Optionally with 
the second argument the degree can be given.  Alternatively
SPLINE can be used (natural cubic splines).


.TP 4
.B
DUMPBASELINE		2			0 0             \\
Dump the baseline parameters as INFO variables to stdout
evaluated on a grid of x lines and y pixels 
(dimensions of current master).
Also write a 2d model of degree 1 to stdout for perpendicular baseline.
This is only done if the precise orbits are available.


.TP 4
.B
LOGFILE		        1			log.out         \\
Name of log output file.


.TP 4
.B
M_RESFILE		1			master_result.out      \\
Name of result master output file.


.TP 4
.B
S_RESFILE		1			slave_result.out        \\
Name of result slave output file.


.TP 4
.B
I_RESFILE		1			interferogram.out       \\
Name of result interferogram output file.


.TP 4
.B
ONLYPROCESS		1			opt/man                 \\
Only process a specified step.
.br
A ONLYPROCESS or PROCESS card is mandatory.

.ul
M_READFILES	
Read parameters from volume, leader, data file (null file) for Master.
.br
.ul
S_READFILES	
Read parameters from volume, leader and data file (null) for Slave
.br
.ul
M_CROP	
Read in slc data file, write data to pixel interleaved internal format (raster).      
.br
.ul
S_CROP	
Read in slc data file, write data to pixel interleaved internal format (raster).
.br
.ul
M_PORBITS	
Compute precise orbits with getorb for Master.
.br
.ul
S_PORBITS	
Compute precise orbits with getorb for Slave.
.br
.ul
M_FILTAZI	
Filter master image in azimuth direction.  
.br
.ul
S_FILTAZI	
Filter slave image in azimuth direction.   
.br
.ul
COARSEORB	
Coarse coregistration based on precise orbits. 
.br
.ul
COARSECORR	
Coarse coregistration based on correlation. 
.br
.ul
FINE		
Fine coregistration.                     
.br
.ul
COREGPM		
Compute coregistration parameters.
.br
.ul
RESAMPLE	
Interpolate slave image to master grid.
.br
.ul
FILTRANGE	
Adaptive range filter master/slave (after resampling).
.br
.ul
INTERFERO	
Compute complex interferogram;
Subtract reference phase here or later.           
Optionally use oversampling.
.br
.ul
COMPREFPHA	
Compute reference interferogram of mathematic body (ellipsoid),
model this with a 2d polynoial.         
.br
.ul
COHERENCE	
Compute complex coherence image.                 
Subtract reference phase here or later.           
Possible use complex interferogram.
.br
.ul
SUBTRREFPHA	
Subtract reference phase computed in step COMPREFPHA
from complex intereferogram.
.br
.ul
COMPREFDEM	
Compute reference interferogram of DEM.
for now gtopo30 only.
.br
.ul
SUBTRREFDEM	
Subtract reference interferogram of DEM (step COMPREFDEM)
from complex interferogram.
.br
.ul
FILTPHASE	
Filter interferogram.
.br
.ul
UNWRAP		
Unwrap interferogram .
For now use external routines, e.g., Ghiglia/Pritt , Snaphu
.br
.ul
DINSAR	
Differential interferometry (3 or 4 pass).
.br
.ul
SLANT2H		
Convert to height system.
.br
.ul
GEOCODE	
Put in xyz system.


.TP 4
.B
PROCESS		1				opt/man         \\
Process the specified step, see ONLYPROCESS.
.br
(more than one PROCESS card may be specified).
.br.
(cards are overwritten by ONLYPROCESS).                  


.TP 4
.B
STOP			0				man     \\
End interpretation inputoptionsfile.


$lines
.ul
   step reading files
   Mandatory for *_READFILES
                                                                                  
.TP 4
.B
M_IN_METHOD		1				ERS     \\
identifyer what is to be read ASAR, Radarsat 1/2, ERS1/2, Envisat ASAR,
JERS, ALOS, Terrasar-X and Cosmoskymed.
JERS and ALOS uses ERS programs.

.TP 4
.B
M_IN_VOL		1				man     \\
Filename of volumefile master (not used for ASAR).

.TP 4
.B
M_IN_LEA		1				man     \\
Filename of leaderfile master (not used for ASAR).

.TP 4
.B
M_IN_NULL		1				man     \\
Filename of nullfile master (not used for ASAR).
.br
(may be dummy name, not actually used).

.TP 4
.B
M_IN_DAT		1				man     \\
Filename of datafile master.


.TP 4
.B
S_IN_VOL		1                                       \\
see
.ul
M_IN_VOL                                           

.TP 4
.B
S_IN_LEA		1                                       \\
see
.ul
M_IN_LEA

.TP 4
.B
S_IN_NULL		1                                       \\
see 
.ul
M_IN_NULL

.TP 4
.B
S_IN_DAT		1                                       \\
see
.ul
M_IN_DAT



$lines
.ul 1
   step conversion SLC format to internal format on disk
   Mandatory for *_CROP
                                                                                  
.TP 4
.B
M_CROP_ID		1				step01  \\
Identification of this step.
This card does nothing.


.TP 4
.B
M_CROP_IN		1				man     \\
Filename of input data in slc format.


.TP 4
.B
M_CROP_OUT		1				man     \\
Filename of output in raw format.


.TP 4
.B
M_DBOW		4				total image
(Master database output window)
.br
min line, max line, min pix, max pix.
.br
line=1: first line.


.TP 4
.B
S_CROP_ID		1
see
.ul 1
M_CROP_ID

.TP 4
.B
S_CROP_IN		1
see
.ul 1
M_CROP_IN


.TP 4
.B
S_CROP_OUT		1
see
.ul 1
M_CROP_OUT


.TP 4
.B
S_DBOW		4
see
.ul 1
M_DBOW



$lines
.ul
   step Precise Orbits (Uses getorb DEOS).
   Mandatory for proces *_PORBITS
                                                                                  
.TP 4
.B
M_ORBDIR		1				man     \\
Name of directory for ODR precise orbit files (getorb).

.TP 4
.B
M_ORB_INTERVAL	1				1
Time interval between ephemerides in seconds.
                                                                                  
.TP 4
.B
M_ORB_EXTRATIME	1				3
Time in seconds before first and after last line to get ephemerides.
Natural splines are used to interpolate the orbits,
therefor some points before and after are required for
good interpolation.
                                                                                  
.TP 4
.B
M_ORB_DUMP		1				0.1
Dump interpolated ephemerides to file "masterorbit.dat" with 
specified delta t in seconds.

.TP 4
.B
S_ORBDIR		1				man     \\
see
.ul 1
M_ORBDIR


$lines
.ul
   step azimuth filtering
   mandatory for proces: M_FILTAZI and S_FILTAZI

.TP 4
.B
AF_BLOCKSIZE		1				1024
fftlength per buffer. (power of 2, the larger the better).

.TP 4
.B
AF_HAMMING		1				0.75
De-weight and re-weight spectrum at new Doppler centroid freq.

.TP 4
.B
AF_OVERLAP		1				BLOCK/8
Overlap in azimuth direction between buffers.

.TP 4
.B
AF_OUT_MASTER	1				"master.afiltered"
Output data file name (mph complex r4) for master.

.TP 4
.B
AF_OUT_SLAVE		1				"slave.afiltered"
Output data file name (mph complex r4) for slave.

.TP 4
.B
AF_OUT_FORMAT	1				cr4
Output format either cr4 or ci2.
ci2 introduces an error (?) but reduces size of file by factor 2.


$lines
.ul 1
   coarse coregistration based on precise orbits.
   Mandatory for proces COARSEORB

.TP 4
.B
No Options for this step



$lines
.ul 1
   coarse correlation (coregistration)
   Mandatory for proces COARSECORR
                                                                                  
.TP 4
.B
CC_METHOD		1				MAGFFT  \\
.ul 1
MAGFFT	
correlation in spectral domain based on fft's.
.br
.ul 1
MAGSPACE	
correlation in space domain.


.TP 4
.B
CC_NWIN		1				10
Number of windows for correlation

.TP 4
.B
CC_IN_POS		1				opt
Filename with positions of windows for computation (line,pixel)
at each line.
If this card is specified, CC_NWIN is ignored.


.TP 4
.B
CC_WINSIZE	2					64 64
Number of lines pixels of correlation windows
.br
NOT TRUE: for MAGFFT: defaults to 1024, 1024              


.TP 4
.B
CC_ACC	2					40 10
Search accuracy lines pixels.
.br
for MAGFFT: automatically .5*WINSIZE           -L/2,L/2

.TP 4
.B
CC_INITOFF		2				0 0
Initial offset lines pixels.
.br
.ul 1
ORBIT or orbit
requests to read initial offset from file (placed there by coarseorb).  



$lines
.ul
   step fine coregistration
   Mandatory for proces FINE
                                                                                  
.TP 4
.B
FC_METHOD		1				MAGFFT
.ul 1
MAGFFT	
coherence in spectral domain with fft's of magnitude images.         
.ul 1
MAGSPACE	
coherence in space domain.              


.TP 4
.B
FC_NWIN		1				101
Number of windows for correlation.

.TP 4
.B
FC_IN_POS		1				opt
Filename with positions of windows for computation (line,pixel)
at each line.
If this card is specified, FC_NWIN is ignored.


.TP 4
.B
FC_WINSIZE		2				32 32
Number of lines pixels of correlation windows.

.TP 4
.B
FC_ACC		2				4 4
Search accuracy lines pixels.
.br
for ???FFT: automatically -L/2,L/2                        

.TP 4
.B
FC_INITOFF		2				0 0
Initial offset lines pixels.
.br
.ul 1
COARSECORR
requests to read initial offset from file (placed there by coarsecorr).  


.TP 4
.B
FC_OSFACTOR		2				16
Oversampling factor for interpolation of correlation.



$lines
.ul
   step computation of coregistration parameters. 
   mandatory for proces: COREGPM
                                                                                  

.TP 4
.B
CPM_THRESHOLD		1				0.3
Threshold correlation for selection windows.


.TP 4
.B
CPM_DEGREE			1				1
Degree of model.


.TP 4
.B
CPM_WEIGHT			1				none
Select a priori covariance matrix.
.br
.ul 1
NONE        no weighting is applied.
.br
.ul 1
LINEAR      correlation is used for weighting.


.TP 4
.B
CPM_MAXITER			1				10
Maximum number of windows to remove automatically with outlier tests.


.TP 4
.B
CPM_NOPLOT		0				false
If present no plots are made.


$lines
.ul
   step computation of reference interferogram (flat earth correction)
   mandatory for proces: COMPREFPHA (f.k.a. FLATEARTH)
                                                                                  

.TP 4
.B
FE_METHOD		1				porbits
Method selector for computations.
.br
.ul 1
PORBITS     use precise orbits
.br
.ul 1
METHOD2     use ???


.TP 4
.B
FE_DEGREE		1				5
Degree of 2D-polynomial.


.TP 4
.B
FE_NPOINTS		1				501
Number of points for estimation of polynomial



$lines
.ul 1
   step: resampling of slave to master grid
   mandatory for proces: RESAMPLE


.TP 4
.B
RS_METHOD		1				cc4p
Method selector for computations.
.br
.ul 1
RECT
.br
.ul 1
TRI
.br
.ul 1
CC4P
.br
.ul 1
CC6P
.br
.ul 1
TS6P
.br
.ul 1
TS8P
.br
.ul 1
TS16P


.TP 4
.B
RS_OUT_FILE	1					s_resampled.raw
Name of output file resampled slave.


.TP 4
.B
RS_OUT_FORMAT	1				cr4
Output format either cr4 or ci2.
ci2 introduces an error but reduces size of file by factor 2.


.TP 4
.B
RS_DBOW		4			entire overlap
Database output window.
.br
arguments: min.line  max.line  min.pixel  max.pixel
in original master system.
If specified window is outside overlap master, zeros are written in the slave.


.TP 4
.B
RS_SHIFTAZI		1				ON
Switch to shift the azimuth spectrum of the data to zero freq.
before resampling, and back to its Doppler Centroid frequency 
after resampling.


$lines
.ul
   step range filtering of (complex) master and slave (resampled)
   mandatory for proces: FILTRANGE


.TP 4
.B
RF_METHOD		1					adaptive
Method selector for rangefiltering.
either adaptive or porbits.
.br


.TP 4
.B
RF_SLOPE		1					0.0
Mean terrain slope for method porbits.
.br


.TP 4
.B
RF_FFTLENGTH		1					64
Length of adaptive block with constant slope.
Resolution in range is for ERS approximately 20 meters.
Default for method orbit is 1024.
.br


.TP 4
.B
RF_NLMEAN		1 (odd)					15
Number of lines for taking mean powerspectrum of complex interferogram
to reduce noise for better peak estimation.
Only for method adaptive.
.br


.TP 4
.B
RF_HAMMING		1					0.75
Alpha of hamming function for weighting.
An alpha of 1.0 yields a rectangular filter,
an alpha of 0. gives more power to the low frequencies.
.br


.TP 4
.B
RF_THRESHOLD		1					5.0
Threshold for range filtering on SNR of peak estimation.
SNR is defined as fftlength*power of peak divided 
by the power of the other frequencies.
Only for method adaptive.
.br


.TP 4
.B
RF_OVERSAMPLE		0 or 1			ON
Perform oversampling of master and slave before computing interferogram.
Only for method adaptive.
.br
.ul
ON	
do oversampling.
.br
.ul
OFF	
do not do oversampling.


.TP 4
.B
RF_WEIGHTCORR		0 or 1				OFF
Optionally weight the powerspectrum of complex interferogram
to account for decreasing number of overlapping frequencies
for higher frequencies.
The (Hamming) shape of the spectrum is not acounted for.
The effect of this card may be neglible.
Only for method adaptive.
.br
.ul
ON	
do weight.
.br
.ul
OFF	
do not weight.


.TP 4
.B
RF_OUT_MASTER	80char				master.rfilter
Data output file name for filtered slave.
.br


.TP 4
.B
RF_OUT_SLAVE		80char				slave.rfilter
Data output file name for filtered slave.
.br


.TP 4
.B
RF_OUT_FORMAT	80char				cr4 | ci2
Data output format either complex real4 values or casted to short integers.
(for both output files)
.br




$lines
.ul
   step computation of (complex) interferogram
   mandatory for proces: INTERFERO


.TP 4
.B
INT_METHOD		1					man
Method selector: old or oversample.
The latter is not implemented yet.
.br

.TP 4
.B
INT_OUT_CINT		1					opt
Filename of complex data output file complex interferogram.
.br
(This file can be viewed with dismph).


.TP 4
.B
INT_OUT_FE		1					opt
Filename of real data output file interferogram (phase) of
  correction/ reference phase (flatearth correction).
 This is the unwrapped fase, 
  evaluated at the points of the multilooked grid.
.br
If this card is present it flags to save this file.


.TP 4
.B
INT_OUT_INT		1					opt
Filename of real data output file containing the 
 (wrapped) phase of complex interferogram.
.br
If this card is present it flags to save this file.


.TP 4
.B
INT_MULTILOOK	2					5 1
Multilooking factors in azimuth (line) and 
range (pixel) direction.



$lines
.ul
   step subtraction of reference interferogram (flat earth correction)
   mandatory for proces: SUBTRREFPHA

.TP 4
.B
SRP_METHOD		1				polynomial
Method selector for subtraction.
Either compute ref. phase here or evaluate polynomail
from step COMPREFPHA.

.TP 4
.B
SRP_OUT_CINT		1				cint.minrefpha.raw
Output file name for complex interferogram.

.TP 4
.B
SRP_MULTILOOK 	1 or 2				1 1
Multilook factors in azimuth and range direction.
Default is equal factors.

.TP 4
.B
SRP_OUT_CINT		1				cint.minrefpha.raw
Output file name for complex interferogram.


$lines
.ul
   step phase filtering of complex interferogram
   mandatory for proces: FILTPHASE

.TP 4
.B
PF_METHOD		1				goldstein
Method selector for phase filtering
(goldstein or spatialconv or spectral),


.TP 4
.B
PF_BLOCKSIZE		1				32
Size per block.
For goldstein method.


.TP 4
.B
PF_ALPHA		1				0.2
Weighting factor for spectrum [0,1] <-> [no,max].
Sf = S*(A/max(A)).^PF_ALPHA
Where Sf is the complex filtered spectrum,
S is the complex spectrum of the interferogram,
and A is the real smoothed amplitude of S.
The result is the ifft2d of Sf.
For goldstein method.


.TP 4
.B
PF_OVERLAP		1				3
Use 2*PF_OVERLAP the same data for consecutive blocks/buffers.
For goldstein method.


.TP 4
.B
PF_KERNEL		var.				3 1 1 1
KERNEL function for goldstein and spatialconv method.
First specify the number of arguments, then the values.
Kernel is always normalized by Doris.
Default kernel for goldstein is [1 2 3 2 1], 
and default for spatialconv is [1 1 1].
For goldstein's method this kernel is used to smooth the
amplitude of the spectrum, by which the original spectrum
is weighted (by smoothamplspectrum.^alpha, see PF_ALPHA).
To avoid weighting, use kernel [1].


.TP 4
.B
PF_IN_KERNEL2D		1				filename
File name for ascii file with 2D KERNEL function.
For spatialconv and spectral method.
A header line should precede the kernel, containing:
height width scale, e.g.,
3 3 0.1111111

1 1 1

1 1 1

1 1 1


.TP 4
.B
PF_OUT_FILE		1				cint.gf.alpha
output file name.
For method spatialconv, default is cint.filtered.


.TP 4
.B
PF_IN_FILE		2				filename numlines
Perform filtering on this file (complex float, mph) that
has N lines.


$lines
.ul
   step computation of reference DEM (phase)
   mandatory for proces: COMPREFDEM
   Most information can be found in de .HDR file of the gtopo30 DEM.

.TP 4
.B
CRD_METHOD    	1			gtopo30
Method selector. 
not used in version $VERSION.

.TP 4
.B
CRD_IN_DEM 		1				man
File name of input DEM (gtopo30 only).

.TP 4
.B
CRD_IN_FORMAT 	1			i16
Format specifier for DEM used.
Either i16, r4, or r8 for shorts, floats or doubles.

.TP 4
.B
CRD_IN_SIZE 		2		  	  6000 4800
Number of rows/cols of input DEM.

.TP 4
.B
CRD_IN_DELTA 	1 or 2 			0.00833333333333333333
Grid spacing of input DEM in decimal degrees.

.TP 4
.B
CRD_IN_UL 		2		     89.995833333333333 -19.995833333333333333333
WGS84 coordinates of leftupper corner.
In decimal degrees, latitude longitude.

.TP 4
.B
CRD_IN_NODATA  		1			 -9999
Identifier which number to regard as Not a Number in input DEM.

.TP 4
.B
CRD_INCLUDE_FE  		1			OFF
Card to switch on to include 'flat earth' in this step.

.TP 4
.B
CRD_DENSE       	1				4
Factor for extra dense oversampling of DEM.

.TP 4
.B
CRD_OUT_DEM     1					opt
If specified,
a short file is dumped containing cut out of input DEM.

.TP 4
.B
CRD_OUT_DEMI    1					opt
If specified, a float file is dumped containing bicubic interpolated dem.

.TP 4
.B
CRD_OUT_FILE  	1				refdem.raw
Filename of output file containing reference DEM.


$lines
.ul
   step subtraction of reference DEM (phase)
   mandatory for proces: SUBTRREFDEM

.TP 4
.B
SRD_OUT_CINT	1						cint.minrefdem.raw
Output file name for complex interferogram.






$lines
.ul
   step computation of (complex) coherence image
   mandatory for proces: COHERENCE


.TP 4
.B
COH_METHOD	1							man
Method selector: old or new.
The latter is not implemented yet.
.br

.TP 4
.B
COH_OUT_CCOH	1							opt
Filename of complex data output file coherence.
.br
If this card is present it flags to save this file.


.TP 4
.B
COH_OUT_COH	1							opt
Filename of real data output file coherence image.
.br
If this card is present it flags to save this file.


.TP 4
.B
COH_MULTILOOK	2						10 2
Multilooking factors in azimuth (line) and 
range (pixel) direction.


.TP 4
.B
COH_WINSIZE	2						coh_multilook
Windowsize for coherence computation.



$lines
.ul
   step unwrap
   mandatory for proces: UNWRAP


.TP 4
.B
UW_METHOD   1                                               ??
Method selector: not implemented in doris v1.2

.TP 4
.B
UW_???
???


$lines
.ul 1
   step differential interferometry
   Mandatory for DINSAR
                                                                                  
.TP 4
.B
DI_OUT_FILE		1				differentialinterf.raw
File name of output with differential phase (complex)

.TP 4
.B
DI_IN_TOPOSLAVE	1				man

.TP 4
.B
DI_IN_TOPOINT	1				man

.TP 4
.B
DI_IN_TOPOMASTER	1				same as defo

.TP 4
.B
DI_OUT_SCALED	1				opt



$lines
.ul
   step slant to height conversion
   mandatory for proces: SLANT2H


.TP 4
.B
S2H_METHOD   1                                               ambiguity
Method selector: ambiguity, schwabisch or rodriguez


.TP 4
.B
S2H_NPOINTS  1                                               200
schwabisch method: Number of points to be used for estimation of 2d polynomial.


.TP 4
.B
S2H_DEGREE1D 1						2
schwabisch method: Degree of 1d polynomial.
.br


.TP 4
.B
S2H_NHEIGHTS 1						s2h_degree1d+1
schwabisch method: number of heights to evaluate reference phase on.
.br
Overdetermined problem if Nheights > degree1d+1.


.TP 4
.B
S2H_DEGREE2D 1						5
schwabisch method: Degree of 2d polynomial for the coefficients of 1d polynomial.
.br



.TP 4
.B
S2H_OUT_HEI  1						hei.raw
File name of data output file with heights.

.TP 4
.B
S2H_OUT_PHI  1						phi.raw
ambiguity method: File name of data output file with heights.

.TP 4
.B
S2H_OUT_LAM  1                                               lam.raw
ambiguity method: File name of data output file with heights.



$lines
.ul
   step geocoding (interpolation to regular grid?)
   mandatory for proces: GEOCODE


.TP 4
.B
GEO_OUT_LAM  1                                               lambda.raw
Filename of outputfile longitude.
.br

.TP 4
.B
GEO_OUT_PHI  1                                               phi.raw
Filename of outputfile latitude.
.br






.SS Files
?

.SS See also
rm_err_??.c
.br
plotscript
.br
expand()
.br
run
.br
checklist.tex
.br
less
.br
?

MANEOF
}

##################################################################################
# -b only for debugging, ... comment out
#if [ "$1" = "-b" ]; then
#  #echo "man2ps should be invoked or something."
#  #printout to ps and exit
#  MANPG | nroff -man | more
#  exit 1
#fi
#
# Print out this helpfile with keywords
if [ "$1" = "-p" ]; then
  MANPG | nroff -man -Tlj | lp -d$THEPRINTER -onb -od -oA4
  exit 1
fi

# Find out pager
if [ "X$PAGER" = "X" ]; then
  echo "Please set environment variable PAGER.  For example in csh:"
  echo "  setenv PAGER more"
  PAGER="more"
  if [ ! "X$1" = "X" ]; then
    PAGER="$PAGER +/$1" 
  fi
fi

if [ "$PAGER" = "less" ]; then
  if [ "$1" = "" ]; then
    PAGER="less -d -e -i -r -# .8 "
  else
    PAGER="less -d -e -i -r -p$1"
  fi
fi

#if [ ! -x `whence $PAGER` ]; then
#  echo "$PAGER not found or environment variable PAGER not set"
#  exit 1
#fi

# Print to screen
MANPG | nroff -man | $PAGER

exit 0
# END

## RCS info #####
# $Source: /users/kampes/DEVELOP/DORIS/bin/RCS/helpdoris,v $
# $Revision: 3.10 $
# $Author: kampes $
# $Date: 2003/08/28 14:17:09 $
# $Log: helpdoris,v $
# Revision 3.10  2003/08/28 14:17:09  kampes
# *** empty log message ***
#
# Revision 3.9  2003/08/14 08:45:58  kampes
# added jers info
#
# Revision 3.8  2003/06/24 08:32:38  kampes
# release version
#
# Revision 3.7  2003/06/16 07:04:51  kampes
# v3.6
#
# Revision 3.6  2003/04/14 07:10:29  kampes
# added screen trace, m_in_method ers
#
# Revision 3.5  2003/04/14 06:35:15  kampes
# doris release 3.5
#
# Revision 1.1  2003/04/14 06:04:40  kampes
# Initial revision
#
# Revision 1.25  2000/12/07  13:53:36  13:53:36  kampes (B.M.Kampes)
# release 3
# 
# Revision 1.24  2000/10/24  13:46:10  13:46:10  kampes (B.M.Kampes)
# doris2.6
# 
# Revision 1.17  2000/04/05  11:37:07  11:37:07  kampes (B.M.Kampes)
# range filtering
# 
# Revision 1.16  2000/02/16  17:44:33  17:44:33  kampes (B.M.Kampes)
# new cards, refdem, check release 2.2
# 
# Revision 1.15  2000/02/09  11:22:29  11:22:29  kampes (B.M.Kampes)
# new cards
# 
# Revision 1.12  99/12/13  16:49:25  16:49:25  kampes (B.M.Kampes)
# small 
# 
# Revision 1.10  99/12/02  11:34:43  11:34:43  kampes (B.M.Kampes)
# place to space.
# 
# Revision 1.8  99/11/02  11:41:11  11:41:11  kampes (B.M.Kampes)
# doris v1.2 s2h geocoding
# 
# Revision 1.6  99/10/06  16:14:47  16:14:47  kampes (B.M.Kampes)
# proces to process
# 
# Revision 1.5  99/09/21  09:11:31  09:11:31  kampes (B.M.Kampes)
# removed cmplx to mag for fine
# 
# Revision 1.4  99/09/15  14:56:46  14:56:46  kampes (B.M.Kampes)
# deleted section geocoding etc.
# 
# Revision 1.3  99/09/15  14:46:46  14:46:46  kampes (B.M.Kampes)
# updated print option
# 
# Revision 1.2  99/09/13  16:00:32  16:00:32  kampes (B.M.Kampes)
# initial check in
#