| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
cdsh(volfile, imgfile, mtch)
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| VOLFILE* | str | Input header file name | 1 - | |
| IMGFILE* | str | Input imagery file name | 1 - | |
| MTCH | List[int] | Mag tape characteristics | 0 - 3 |
| 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.
| 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.
from pci.cdsh import * volfile = r'/cdrom/scene1/vol.dat' imgfile = r'/cdrom/scene1/img.dat' mtch = [] cdsh( volfile, imgfile, mtch )
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.