ISIS Application Documentation
demprep | Standard View | TOC | Home |
This program prepares DEMs for use as shape models. It is not valid to run this program on anything but a DEM.
Description
Categories
Groups
History
Name | Description |
---|---|
FROM | Input DEM cube |
TO | Output padded DEM cube |
The DEM cube which will be padded
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | output |
Filter | *.cub |
Steven Lambright | 2008-09-15 | Original version (demwrap) |
Steven Lambright | 2008-10-03 | Added additional checks for valid projections and fixed the implementation of the north and south poles. |
Janet Barrett | 2010-09-09 | Original version (demprep) Used the demwrap program as a model for the demprep program. |
Janet Barrett | 2011-02-18 | The padding at the poles is no longer set to the average value of the line below or above the padded line. In order for the ray tracing routine in the Sensor class to converge when it is right at the poles, the padding had to be changed in the following way: At the north pole, the average of the pixels that lie in the first line of the file is calculated. Then, each pixel in the top padded line is set to 2*average - the pixel below it. At the south pole, the average of the pixels that lie in the last line of the file is calculated. Then, each pixel in the bottom padded line is set to 2*average - the pixel above it. This change only applies to those DEM files that cover the poles. |
Steven Lambright | 2011-03-18 | Fixed handling of special pixels. Now reports the min/max radius encountered. A negative radius will now cause this program to fail. |
Janet Barrett | 2011-07-05 | Modified the program so that it works with files that have non-Equatorial projections. These types of files will not be padded. They will only have the ShapeModelStatistics table blob added to their labels. Several programs are looking for the ShapeModelStatistics table blob to determine if the file is a DEM. |
Debbie A. Cook | 2012-12-10 | Changed to use TProjection instead of Projection. References #775 |
Kristin Berry | 2014-05-30 | Fixed padding for special pixels. References #1010 |