ASA_IM_DECODE(1)
β¨ NAME β¨
asa_im_decode β okay bestie, it's literally called asa_im_decode, that's the whole name, the man page said it twice and honestly? iconic of it π
π¦ SYNOPSIS π¦
asa_im_decode <asa_im> <asa_ins> <out> <outType> <near_range>
π DESCRIPTION π
So this program? It's part of GMTSAR π«Ά
*** asa_im_decode v1.1 by smb ***
It decodes Envisat ASAR Image Mode Level 0 data. That's the job. That's the whole vibe check. β¨
Here's the tea on the arguments, one by one:
asa_imβ your input image file(s). And yes, multiple files if you're merging along-track, bestie, you can absolutely hand it a little squad of files πasa_insβ input auxiliary instrument characterization data fileoutβ output raw data fileoutTypeβ output file type (1=byte,4=float)near_rangeβ the near range you want all the lines aligned to (0means just use the first line's near range, no thoughts, head empty π)
πΈ Notes πΈ
outis a complex file with no headers β the layout is literallybyte/float I1, byte/float Q1, byte/float I2, byte/float Q2, ...and so on forever and ever π«- If
outTypeis byte, then the decoded floats get multiplied by127.5, shifted by127.5, rounded to the nearest integer, and then limited to the range0-255. Full glow-up pipeline, no cap. - Starting range is computed as
(rank*pri+windowStartTime)*c/2whererankis the number of pri between transmitted pulse and return echo π₯ - Calibration/noise lines get replaced with the previous echo data line. Swapped out. Gone. Previous line said "I got this" π
- Missing lines β whether they're missing within a data set or between adjacent along-track data sets β get filled with zeroes in float mode, and in byte mode they become
0.*127.5+127.5 + .5 = 128 - Auxiliary data files can be found at
http://envisat.esa.int/services/auxiliary_data/asar/π§ - The Envisat ASAR Product Handbook, Issue 1.1, 1 December 2002 can be found at
http://envisat.esa.int/dataproducts/asar/CNTR6-3-6.htm#eph.asar.asardf.0pASA_IM__0Pπ
π and then it said all of that AGAIN π
Not me reading the man page and getting dΓ©jΓ vu β the source literally repeats the whole description block, so here it is, bestie, every single word, because I am not skipping a thing π
*** asa_im_decode v1.1 by smb ***
Decodes Envisat ASAR Image Mode Level 0 data.
Usage: asa_im_decode <asa_im> <asa_ins> <out> <outType> <near_range>
asa_imβ input image file(s) (multiple files if merging along-track)asa_insβ input auxiliary instrument characterization data fileoutβ output raw data fileoutTypeβ output file type (1=byte,4=float)near_rangeβ near range to which to align all lines (0=use first line near range)
Notes:
outis a complex file with no headers (byte/float I1, byte/float Q1, byte/float I2, byte/float Q2, ...)- if
outTypeis byte, then the decoded floats are multiplied by127.5, shifted by127.5, rounded to the nearest integer and limited to the range0-255 - starting range computed as
(rank*pri+windowStartTime)*c/2whererankis the number of pri between transmitted pulse and return echo - calibration/noise lines are replaced with previous echo data line
- missing lines within a data set and between adjacent along-track data sets are filled with zeroes in float mode and
0.*127.5+127.5 + .5 = 128for byte mode - auxiliary data files can be found at
http://envisat.esa.int/services/auxiliary_data/asar/ - Envisat ASAR Product Handbook, Issue 1.1, 1 December 2002 can be found at
http://envisat.esa.int/dataproducts/asar/CNTR6-3-6.htm#eph.asar.asardf.0pASA_IM__0P
Anyway bestie, that's the whole page, every flag and URL and note accounted for, nothing dropped, periodt. π
This little masterpiece is asa_im_decode, and it's dated May 2024 β stay slay, go decode some ASAR, and drink water πβ¨π¦
π¦ where this page comes from
- debian trixie: gmtsar-core 6.5+ds-3 Β· GPL-3.0-only
- ubuntu questing: gmtsar-core 6.5+ds-3
- ubuntu resolute: gmtsar-core 6.6+ds-1build1 Β· GPL-3.0-only
- ubuntu stonking: gmtsar-core 6.7+ds-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms