DOKK / manpages / debian 10 / doris / lonlathei2ascii.1.en
LONLATHEI2ASCII(1) User Commands LONLATHEI2ASCII(1)

lonlathei2ascii - create 3 column ASCII files from the binary doris output

lonlathei2ascii v1.0 Doris software, bert kampes, (c)1999-2003

SYNOPSIS:
longitude_file latitude_file height_file output_file
This csh-script creates an 3 column ASCII file with "lon lat hei" 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 a single 3 column ASCII file (lon lat hei)
using "paste";
3) remove -999 invalid data using "grep" 4) Tidy up, remove temp files.
Obviously staying in binary format
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:
lonlathei2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/heights.raw
lonlathei.dat
SEE ALSO:
cpxfiddle, paste, grep, http://gmt.soest.hawaii.edu/
SYNOPSIS:
longitude_file latitude_file height_file output_file
This csh-script creates an 3 column ASCII file with "lon lat hei" 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 a single 3 column ASCII file (lon lat hei)
using "paste";
3) remove -999 invalid data using "grep" 4) Tidy up, remove temp files.
Obviously staying in binary format
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:
lonlathei2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/heights.raw
lonlathei.dat
SEE ALSO:
cpxfiddle, paste, grep, http://gmt.soest.hawaii.edu/

The full documentation for lonlathei2ascii is maintained as a Texinfo manual. If the info and lonlathei2ascii programs are properly installed at your site, the command

info lonlathei2ascii

should give you access to the complete manual.

September 2017 lonlathei2ascii v1.0 Doris software, bert kampes, (c)1999-2003