LONLATCOH2ASCII(1)
π LONLATCOH2ASCII(1) β bestie edition π
okay so you found lonlatCoh2ascii, and it lives in User Commands (that's section 1, iykyk). pull up a chair, this one's a lil script that does a big job π«Ά
β¨ NAME β¨
lonlatCoh2ascii β create 3 column ASCII files from the binary doris output
no cap, that's literally the whole pitch. it takes your cursed binary doris situation and hands you back something a human (or GMT) can read. π
π¦ DESCRIPTION π¦
so this is lonlatCoh2ascii v1.0, Doris software, TUDelft, (c)1999-2011. yes she's vintage, yes she still eats. π
πΈ 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:
- Create 3 temporary ASCII files with all data in a single large column using
cpxfiddleprogram; - Create two 3 column ASCII file (lon lat ***) using
"paste"; - remove
-999invalid data using"grep" - 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. (yes the original says "intented", we're keeping the lore intact, don't come for me π)
π DEPENDENCIES π
cpxfiddleprogram, part of Doris distribution.greputility, standard UNIXpasteutility, standard UNIX
Note that lambda=longitude; phi=latitude β
π EXAMPLE π
lonlatCoh2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/Coherence.raw lonlatcoh.dat
look at her go. iconic. π₯
π SEE ALSO π
cpxfiddlepastegrep- http://gmt.soest.hawaii.edu/
okay and then β because the source page said it twice and I am NOT gatekeeping β here it is again, verbatim in spirit, the whole thing, round two. the way this manpage duplicated itself is honestly main character energy π
πΈ SYNOPSIS (take two, bestie) πΈ
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:
- Create 3 temporary ASCII files with all data in a single large column using
cpxfiddleprogram; - Create two 3 column ASCII file (lon lat ***) using
"paste"; - remove
-999invalid data using"grep" - 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 (again, bc she said so) π
cpxfiddleprogram, part of Doris distribution.greputility, standard UNIXpasteutility, standard UNIX
Note that lambda=longitude; phi=latitude β
π EXAMPLE (again) π
lonlatCoh2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/Coherence.raw lonlatcoh.dat
π SEE ALSO (again) π
cpxfiddlepastegrep- http://gmt.soest.hawaii.edu/
π SEE ALSO π
The full documentation for lonlatCoh2ascii is maintained as a Texinfo manual. If the info and lonlatCoh2ascii programs are properly installed at your site, the command
info lonlatCoh2ascii
should give you access to the complete manual. π
fr fr, if that command works on your machine, you're set. if it doesn't, that's a you-and-your-site problem, not a me problem π«Ά
and that's the whole page bestie, no notes, slay π
sign-off: lonlatCoh2ascii v1.0, Doris so... πΈ September 2017 πΈ LONLATCOH2ASCII(1). periodt. β¨
π¦ where this page comes from
- debian bookworm: doris 5.0.3~beta+dfsg-16 Β· GPL-3.0-or-later
- debian trixie: doris 5.0.3~beta+dfsg-18 Β· GPL-3.0-or-later
- ubuntu jammy: doris 5.0.3~beta+dfsg-16 Β· GPL-3.0-or-later
- ubuntu noble: doris 5.0.3~beta+dfsg-17 Β· GPL-3.0-or-later
- ubuntu questing: doris 5.0.3~beta+dfsg-18build1
- ubuntu resolute: doris 5.0.3~beta+dfsg-19build1 Β· GPL-3.0-or-later
- ubuntu stonking: doris 5.0.3~beta+dfsg-19build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms