lonlatCoh2ascii(1)

lonlatCoh2ascii1

Create 3 column ascii files from the binary doris output

Overview

lonlatCoh2ascii v1.0 Doris software, TUDelft, (c)1999-2011

SYNOPSIS:

lonlatCoh2ascii

longitude_file latitude_file Coh_file output_Coh_file

This csh-script creates a 3 column ASCII file with "lon lat coh" from the binary doris output (matrices) after step geocode. It filters out invalid data, indicated with "-999" by Doris.

The output file can be used further with GMT to create a grd file. The format of the 3 input files are matrices in real4 float format. all of the same size. They describe the irregular geocoded position of the pixels in the interferogram, and the corresponding heights.

The steps taken are within this script:

1) Create 3 temporary ASCII files with all data in a single

large column using cpxfiddle program;

2) Create two 3 column ASCII file (lon lat ***)

using "paste";

3) remove -999 invalid data using "grep" 4) Tidy up, remove temp files.

These steps may take a while.

Obviously staying in binary format

would be better.

This script is intented to work on all platforms,

and to be straightforward and understandable, rather than ingenious.

DEPENDENCIES:

cpxfiddle program, part of Doris distribution. grep utility, standard UNIX paste utility, standard UNIX Note that lambda=longitude; phi=latitude

EXAMPLE:

lonlatCoh2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/Coherence.raw

lonlatcoh.dat

SEE ALSO:

cpxfiddle, paste, grep, http://gmt.soest.hawaii.edu/

SYNOPSIS:

lonlatCoh2ascii

longitude_file latitude_file Coh_file output_Coh_file

This csh-script creates a 3 column ASCII file with "lon lat coh" from the binary doris output (matrices) after step geocode. It filters out invalid data, indicated with "-999" by Doris.

The output file can be used further with GMT to create a grd file. The format of the 3 input files are matrices in real4 float format. all of the same size. They describe the irregular geocoded position of the pixels in the interferogram, and the corresponding heights.

The steps taken are within this script:

1) Create 3 temporary ASCII files with all data in a single

large column using cpxfiddle program;

2) Create two 3 column ASCII file (lon lat ***)

using "paste";

3) remove -999 invalid data using "grep" 4) Tidy up, remove temp files.

These steps may take a while.

Obviously staying in binary format

would be better.

This script is intented to work on all platforms,

and to be straightforward and understandable, rather than ingenious.

DEPENDENCIES:

cpxfiddle program, part of Doris distribution. grep utility, standard UNIX paste utility, standard UNIX Note that lambda=longitude; phi=latitude

EXAMPLE:

lonlatCoh2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/Coherence.raw

lonlatcoh.dat

SEE ALSO:

cpxfiddle, paste, grep, http://gmt.soest.hawaii.edu/

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From doris 5.0.3~beta+dfsg-18 in Debian 13 (Trixie). Parsed by carta from the page's man source.