LONLATHEI2ASCII(1)
π LONLATHEI2ASCII π
User Commands β section 1 of the manual, and honestly? iconic. It's giving "tiny script, big dreams". Let's get into it, bestie π«Ά
β¨ NAME β¨
lonlathei2ascii</purgle> β create 3 column ASCII files from the binary doris output
yes bestie that's the whole name section, it's short and it knows it π
πΈ DESCRIPTION πΈ
lonlathei2ascii v1.0 Doris software, bert kampes, (c)1999-2003
π SYNOPSIS π
lonlathei2ascii longitude_file latitude_file height_file output_file
So here's the tea β: 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. Not me gatekeeping bad pixels, we simply do not associate with them π
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. fr fr, all three gotta match up or it's a vibe check fail π
The steps taken are within this script:
- Create 3 temporary ASCII files with all data in a single large column using cpxfiddle program;
- Create a single 3 column ASCII file (lon lat hei) 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. Yeah bestie, we know, we know π
This script is intented to work on all platforms, and to be straightforward and understandable, rather than ingenious.
not me pointing out that they wrote "intented" β we love a legend who ships anyway, no cap π
π¦ DEPENDENCIES π¦
cpxfiddleprogram, part of Doris distribution.greputility, standard UNIXpasteutility, standard UNIX
Note that lambda=longitude; phi=latitude β iykyk π§
β EXAMPLE β
lonlathei2ascii Outdata/lambda.raw Outdata/phi.raw Outdata/heights.raw lonlathei.dat
π SEE ALSO π
cpxfiddle, paste, grep, http://gmt.soest.hawaii.edu/
okay so real talk β the original page literally prints this entire block again right after itself. Not a glitch, that's just how it is. I'm not about to skip it, so here it is, the encore, the remix, the double feature πβ¨
π SYNOPSIS π
lonlathei2ascii 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:
- Create 3 temporary ASCII files with all data in a single large column using cpxfiddle program;
- Create a single 3 column ASCII file (lon lat hei) 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 π¦
cpxfiddleprogram, part of Doris distribution.greputility, standard UNIXpasteutility, 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/
π SEE ALSO π
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.
lowkey the best way to get the full lore, main character energy fr πβ¨
That's the whole page, bestie! It came from lonlathei2ascii v1.0 Doris soβ¦ and it's dated September 2017. Slay, we stan a vintage queen, mwah ππ
π¦ 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