DIM

Delete image database file


EnvironmentsPYTHON :: EASI
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example :: Related

Back to top

Description


DIM deletes the specified PCISDK image file.
Back to top

Parameters


dim(file)

Name Type Caption Length Value range
FILE * str Input file name 1 -    

* Required parameter
Back to top

Parameter descriptions

FILE

Specifies the name of the PCIDSK file to delete.

Back to top

Details

DIM deletes a specified image database file (FILE). DIM may also delete any direct-access file if the full file descriptor is included; for example, if FILE="PRM.PRM", the parameter file is deleted.

When the database file is deleted, it cannot be recovered. All data stored in the file is permanently lost.

DIM is NOT intended for deleting text files; use the platform-specific delete command.

If the file specified for deletion is a file-interleaved PCIDSK file, DIM only deletes the PCIDSK header file; files containing imagery are not deleted. Use PCIDEL2 to delete files containing imagery before running DIM, or use DIM2.

Back to top

Example

Delete the PCIDSK image file "junk.pix".

from pci.dim import dim

file = "junk.pix"
dim(file)

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.