UTILITY DEM2DTI

--------------------------------------------------------------------------------

UTILITY DEM2DTI

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

FUNCTION

--------------------------------------------------------------------------------

FORMAT


--------------------------------------------------------------------------------

PROMPTS


--------------------------------------------------------------------------------

PARAMETERS

--------------------------------------------------------------------------------

COMMAND QUALIFIERS

--------------------------------------------------------------------------------

DESCRIPTION

--------------------------------------------------------------------------------

RESTRICTIONS

--------------------------------------------------------------------------------

EXAMPLES

 $ DEM2DTI/LOG/BLOCKSIZE=1024 MUB1: HOQUIAM  <CR>

Initializing tape for read - Please wait. Scanning DEM file to determine size of map Reading type A record from DEM file %DEM2DTI-I-DEMFILNAM, DEM map name is "HOQUIAM - E WA,OR NL10-05E" %DEM2DTI-I-DEMLVLCODE, DEM level code is 1 -DEM2DTI-I-ONEDEGDEM, 1-minute DEM Creating DTI file LSL$DTI:HOQUIAM.DTI;0 with LSLA type header %DEM2DTI-I-DTICRMAT, DTI file created with matrix x:1201, y:1201 %DEM2DTI-I-DTIOPEN, DTI file "LSL$DTI:HOQUIAM.DTI;0" opened File : LSL$DTI:HOQUIAM.DTI;0 Header : LSLA Data: WORD Units are DTI matrix values Matrix Coverage SW: 1 1 NE: 1201 1201 Matrix Interval E: 1 N: 1 Value Range : 7 to 2544 SW corner - Latitude: 46 00 00.000N, Longitude: 123 00 00.000W Spheroid : 5 (World Geodetic System 72 (WGS 72)) Projection : 100 (Geographic (ie Lat and Long)) Units : 3 (seconds of arc) Local origin : 165600.000 (Latitude) -442800.000 (Longitude) Sample values : 3.000 (Latitude) 3.000 (Longitude) Rewinding tape - Please wait. Initialising DTI data area Reading DEM file for transfer to DTI file Reading type A record from DEM file Reading type B records from DEM file Writing profile 50 at coordinate x:-442656.0, y:165600.0 Writing profile 100 at coordinate x:-442506.0, y:165600.0 Writing profile 150 at coordinate x:-442356.0, y:165600.0 Writing profile 200 at coordinate x:-442206.0, y:165600.0 Writing profile 250 at coordinate x:-442056.0, y:165600.0 Writing profile 300 at coordinate x:-441905.96875, y:165600.0 Writing profile 350 at coordinate x:-441756.0, y:165600.0 Writing profile 400 at coordinate x:-441606.0, y:165600.0 Writing profile 450 at coordinate x:-441456.0, y:165600.0 Writing profile 500 at coordinate x:-441306.0, y:165600.0 Writing profile 550 at coordinate x:-441156.0, y:165600.0 Writing profile 600 at coordinate x:-441006.0, y:165600.0 Writing profile 650 at coordinate x:-440856.0, y:165600.0 Writing profile 700 at coordinate x:-440705.96875, y:165600.0 Writing profile 750 at coordinate x:-440556.0, y:165600.0 Writing profile 800 at coordinate x:-440405.96875, y:165600.0 Writing profile 850 at coordinate x:-440256.0, y:165600.0 Writing profile 900 at coordinate x:-440106.0, y:165600.0 Writing profile 950 at coordinate x:-439956.0, y:165600.0 Writing profile 1000 at coordinate x:-439806.0, y:165600.0 Writing profile 1050 at coordinate x:-439656.0, y:165600.0 Writing profile 1100 at coordinate x:-439506.0, y:165600.0 Writing profile 1150 at coordinate x:-439356.0, y:165600.0 Writing profile 1200 at coordinate x:-439205.96875, y:165600.0 %DEM2DTI-I-DTICLOSED, DTI file closed ELAPSED: 0 00:17:30.92 CPU: 0:12:24.83 BUFIO: 12 DIRIO: 9694 FAULTS: 10815

This example reads a 1-degree DEM from a tape which has a blocksize of 1024 bytes and is mounted (/FOREIGN) on the tape drive MUB1:. The /LOG qualifier displays detailed information about the DEM and the output DTI file. The output is written to the default directory LSL$DTI.

 $ DEM2DTI/LOG/BLOCKSIZE=8192 MUB1: VONORE <CR>

Initializing tape for read - Please wait. Scanning DEM file to determine size of map Reading type A record from DEM file %DEM2DTI-I-DEMFILNAM, DEM map name is "VONORE" %DEM2DTI-I-DEMLVLCODE, DEM level code is 1 -DEM2DTI-I-SVNMINDEM, 7.5-minute DEM Reading type B records from DEM file ...record 50 ...record 100 ...record 150 ...record 200 ...record 250 ...record 300 ...record 350 Creating DTI file LSL$DTI:VONORE.DTI;0 with LSLA type header %DEM2DTI-I-DTICRMAT, DTI file created with matrix x: 391, y: 474 %DEM2DTI-I-DTIOPEN, DTI file "LSL$DTI:VONORE.DTI;0" opened File : LSL$DTI:VONORE.DTI;0 Header : LSLA Data: WORD Units are metres Matrix Coverage SW: 749070.00 3931800.00 NE: 760770.00 3945990.00 Matrix Interval E: 30.00 N: 30.00 Value Range : 238 to 421 Spheroid : 0 (Clarke 1866) Projection : 1 (Universal Transverse Mercator) Zone : 16 Units : 2 (metres) Local origin : 749070.000 (Eastings) 3931800.000 (Northings) Sample values : 30.000 (Eastings) 30.000 (Northings) Rewinding tape - Please wait. Initialising DTI data area Reading DEM file for transfer to DTI file Reading type A record from DEM file Reading type B records from DEM file Writing profile 50 at coordinate x:750540.0, y:3931830.0 Writing profile 100 at coordinate x:752040.0, y:3931860.0 Writing profile 150 at coordinate x:753540.0, y:3931890.0 Writing profile 200 at coordinate x:755040.0, y:3931950.0 Writing profile 250 at coordinate x:756540.0, y:3931980.0 Writing profile 300 at coordinate x:758040.0, y:3932040.0 Writing profile 350 at coordinate x:759540.0, y:3932070.0 %DEM2DTI-I-DTICLOSED, DTI file closed ELAPSED: 0 00:03:36.06 CPU: 0:02:30.94 BUFIO: 12 DIRIO: 311 FAULTS: 1278

The input spec in this case is the same as previously but a different tape is read with a blocksize of 8192 bytes. The DEM is a 7.5-minute, 1:24000 map and the output DTI file is written to the default LSL$DTI directory. The /LOG qualifier again displays detailed information contained in the DEM and in the output DTI file header.

$ DEM2DTI/LOG ZYCOR ZYCOR <CR>

%DEM2DTI-I-DEMOPEN, DEM file "SYS$DISK:ZYCOR.DEM;0" opened Scanning DEM file to determine size of map Reading type A record from DEM file %DEM2DTI-I-DEMFILNAM, DEM map name is "ZYCOR" %DEM2DTI-I-DEMLVLCODE, DEM level code is 1 -DEM2DTI-I-SVNMINDEM, 7.5-minute DEM Reading type B records from DEM file ...record 50 ...record 100 ...record 150 ...record 200 ...record 250 ...record 300 Creating DTI file SYS$DISK:ZYCOR.DTI;0 with LSLA type header %DEM2DTI-I-DTICRMAT, DTI file created with matrix x: 335, y: 464 %DEM2DTI-I-DTIOPEN, DTI file "SYS$DISK:ZYCOR.DTI;0" opened File : SYS$DISK:ZYCOR.DTI;0 Header : LSLA Data: WORD Units are metres Matrix Coverage SW: 529890.00 4899510.00 NE: 539910.00 4913400.00 Matrix Interval E: 30.00 N: 30.00 Value Range : 1460 to 2686 Spheroid : 0 (Clarke 1866) Projection : 1 (Universal Transverse Mercator) Zone : 18 Units : 2 (metres) Local origin : 529890.000 (Eastings) 4899510.000 (Northings) Sample values : 30.000 (Eastings) 30.000 (Northings) Initialising DTI data area Reading DEM file for transfer to DTI file Reading type A record from DEM file Reading type B records from DEM file Writing profile 50 at coordinate x:531360.0, y:4899510.0 Writing profile 100 at coordinate x:532860.0, y:4899510.0 Writing profile 150 at coordinate x:534360.0, y:4899540.0 Writing profile 200 at coordinate x:535860.0, y:4899540.0 Writing profile 250 at coordinate x:537360.0, y:4899540.0 Writing profile 300 at coordinate x:538860.0, y:4899540.0 %DEM2DTI-I-DEMCLOSED, DEM file closed %DEM2DTI-I-DTICLOSED, DTI file closed ELAPSED: 0 00:04:45.78 CPU: 0:02:17.40 BUFIO: 10 DIRIO: 516 FAULTS: 893

This example reads a DEM from a disk file, the input file-spec being parsed against the default SYS$DISK:.DEM. The output is to LSL$DTI. Information on the DEM and DTI file is given via the /LOG qualifier.

$ DEM2DTI ZYCOR ZYCOR <CR>

Scanning DEM file to determine size of map Reading type A record from DEM file Reading type B records from DEM file Creating DTI file LSL$DTI:ZYCOR.DTI;0 with LSLA type header Initialising DTI data area Reading DEM file for transfer to DTI file Reading type A record from DEM file Reading type B records from DEM file ELAPSED: 0 00:03:09.30 CPU: 0:02:08.38 BUFIO: 10 DIRIO: 275 FAULTS: 855

This example is identical to the previous case except the /LOG qualifier is missing and hence the default of /NOLOG is used. Brief information is output to reassure the user.

See dem2dtimsg.html generated from DEM2DTIMSG.RNO.