ANSI-C program: fill.c
NAME
fill - Fill gaps in data file 1 with values from data file
2 (float format)
SYNOPSIS
fill <d1> <d2>
<dout> <width>
<d1> | (input) data file 1 (float) |
<d2> | (input) data file 2 used to fill gaps in d1 (float) |
<dout> | (output) d1 with gaps filled with data from d2 (float) |
<width> | number of samples/row |
EXAMPLE
fill
mumbai_20110417_TDX.dem mumbai_seg.dem
mumbai_20110417_TDX_fill.dem 6876
fills the gaps in the file 20110417_TDX.dem
with
data from mumbai_seg.dem
and writes the output to
mumbai_20110417_TDX_fill.dem.
DESCRIPTION
fill reads the input
data file and scans for values that are set to 0.0. In the
Gamma software, values of 0.0 indicate missing data when the data
are float format. In this case fill checks if there is data
available for this location in file d2 and fills the missing values in
d1. This is useful for
filling DEM files produced from an interferometric pair with data
from a lower resolution DEM as produced by SRTM.