Environments | PYTHON :: EASI :: MODELER |
Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
Back to top |
Back to top |
Name | Type | Caption | Length | Value range |
---|---|---|---|---|
VOLFILE* | String | Input header file name | 1 - 192 | |
IMGFILE* | String | Input imagery file name | 1 - 192 | |
MTCH | Integer | Mag tape characteristics | 0 - 3 | |
REPORT | String | Report mode | 0 - 192 | Quick links |
MONITOR | String | Monitor mode | 0 - 3 | ON, OFF Default: ON |
Back to top |
VOLFILE
Specifies the full path and file name of the input header (volume) file.
IMGFILE
Specifies the full path and file name of the file that contains the image data to be read.
MTCH
MTCH is an output parameter. Upon completion, CDSH writes the three values reported from the input image on the CD to this parameter.
These values can be used by automated CD-reading procedures.
REPORT
Specifies where to direct the generated report.
Available options are:
MONITOR
The program progress can be monitored by printing the percentage of processing completed. A system parameter, MONITOR, controls this activity.
Available options are:
Back to top |
CDSH reads an LGSOWG source header from CD and prints out a report. Only the LGSOWG CD format is supported.
You must specify the full path and file names for the volume descriptor (header file) and the image data.
The MTCH output parameter contains the number of pixels, lines, and channels read from the CD.
Back to top |
Run CDSH to determine the information of an LGSOWG CD.
EASI>VOLFILE = "/cdrom/scene1/vol.dat" EASI>IMGFILE = "/cdrom/scene1/img.dat" EASI>MTCH = EASI>REPORT = EASI>RUN CDSH
The following is a sample output:
CDSH LGSOWG Volume Descriptor Control Document Number CCB-CCT-0002 E A Software Release Number GICSCVF01 Physical Volume ID G0001700 Logical Volume ID 416815074700 Volume Set ID LANDSAT 5 TM Number of Tapes in Set 1 Start of Logical Volume 1 End of Logical Volume 1 Current Tape Volume 1 First File on Volume 1 Logical Volume in Set 1 Logical Volume in Tape 1 Creation Date-Time 19951021-13052760 Generating Country CANADA Generating Agency CCRS Generating Facility RSI LGSOWG Imagery File Descriptor Number of image records 5728 Image record length 7020 Number of bits per pixel 8 Number of pixels per data group 1 Number of bytes per data group 1 Justification and order of pixels in data group Number of images 1 Number of lines per image (one band) 5728 Number of left border pixels per line 0 Number of image pixels allocated per line per band 6920 Number of right border pixels per line 0 Number of top border lines 0 Number of bottom border lines 0 Interleaving indicator BSQ Number of physical records per line 1 Number of physical records per multispectral line 1 Number of bytes of prefix data 20 Number of bytes of image data per record 6920 Number of bytes of suffix data per record 68 Prefix/Suffix repeat flag Overall imagery size : 6920 Pixels 5728 Lines 7 Bands 8 Bits
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.