Environments | PYTHON :: EASI |
Quick links | Description :: Parameters :: Parameter descriptions :: Return Value :: Details :: Example :: References :: Related |
Back to top |
Back to top |
cdlandb(cddir, file, cdic, tex1)
Name | Type | Caption | Length | Value range |
---|---|---|---|---|
CDDIR* | str | CD Directory | 1 - | |
FILE* | str | Output file name | 1 - | |
CDIC* | List[int] | CD Input channel(s) | 1 - 16 | |
TEX1 | str | Descriptive text | 0 - 64 |
Back to top |
CDDIR
Specifies the name of the CD directory that contains all input files.
FILE
Specifies the name of the PCIDSK file that will receive the processed data. This file is automatically created and must not already exist.
CDIC
Specifies the list of channels or layers to read from the CD. Up to 16 channels may be specified.
For each channel, a corresponding channel is created in the output PCIDSK file. Duplicate channels are not allowed.
If this parameter is not specified, all channels will be read from the file.
TEX1
Optionally specifies a line of text that describes the file. Typically, this contains information that identifies the location of the data and the CD reference number.
If TEX1 (File Description) is not specified, the File Header fields in the generated output PCIDSK image database hold the following information:
Back to top |
Returns:
Type: PCI_INT
Back to top |
CDLANDB is part of the satellite orthorectification component. It reads a Brazilian LANDSAT TM CEOS format CD when satellite orthorectification is required. CDLANDB automatically creates a PCIDSK file, reads all the requested imagery channels from the CD, and saves the satellite path information to a segment. Output from CDLANDB is used with SATMODEL and ORTHO.
The FILE parameter specifies the name of the PCIDSK file that holds the imagery and orbital information obtained from the CD. This file is automatically created with the dimensions required to hold all of the requested data. Sufficient disk space is required before running CDLANDB.
Back to top |
The user has received a Brazilian LANDSAT TM CEOS CD and wishes to perform orthorectification on the data. The files are stored in the directory 221_081. The user wishes to extract channels 3, 4, and 5, from the CD, and store them in the file tm.pix.
from pci.cdlandb import * cddir = "cdrom/221_081/951219/" file="tm.pix" cdic=[3,4,5] tex1="Brazil" cdlandb(cddir,file,cdic,tex1)
Back to top |
Toutin, Th. "Analyse math\u00c3\u00a9matique des possibilit\u00c3\u00a9s cartographiques du syst\u00c3\u00a8me SPOT". Th\u00c3\u00a8se de Docteur-Ing\u00c3\u00a9nieur en Sciences G\u00c3\u00a9od\u00c3\u00a9siques, ENSG, Paris, France, 1985. pp1 -163.
Toutin, Th. and Carbonneau Y. "La multi-st\u00c3\u00a9r\u00c3\u00a9oscopie pour les corrections d'images SPOT-HRV", Canadian Journal of Remote Sensing, Vol. 15, No. 2 (September 1989) p110. (Also available in English from the Canada Centre for Remote Sensing.)
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.