ASFSMD(1)
π NAME π
asfsmd β the ASF Sentinel-1 Metadata Download tool π
(yes bestie, that's literally the whole name, we love a concise queen)
β¨ DESCRIPTION β¨
okay so, here's the vibe. The usage is giving:
usage: asfsmd [-h] [--version]
[--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-q] [-v] [-d]
[-f] [--urls] [-o OUTDIR] [-u USERNAME] [-p PASSWORD]
[--block-size BLOCK_SIZE] [-b
{s1,s2,s3,s4,s5,s6,iw1,iw2,iw3,ew1,ew2,ew3,ew4,ew5,wv1,wv2}]
[--pol {vv,vh,hv,hh}] [-c] [-n] [-r] [--data] [--noprogress]
INPUT [INPUT ...]
So asfsmd is this small Python tool that lets you download XML files holding Sentinel-1 product metadata straight from the ASF archive. Here's the tea tho: Sentinel-1 products live in the ASF archive as ZIP files, and those ZIPs are huge because they're carrying BOTH the product annotations AND the binary image data. π
But wait β the asfsmd tool is built different. It can pull only the relatively small annotation files (in XML format) without dragging the entire ZIP archive down with it. No cap, that's the whole point. π
π«Ά positional arguments: π«Ά
INPUTβ the Sentinel-1 product name(s), bestie. And listen, this one's a shape-shifter depending on your flags: if the'-f'flag is set then the argument gets interpreted as the filename containing the list of products. If the'--urls'flag is set then the arguments get interpreted as URLs pointing to a product on the ASF server. Wanna know more? Go peek at the'--filelist'and the'--urls'options, they spill all the details. π
πΈ options: πΈ
-h,--helpβ show this help message and exit. classic. the "help me" button. π--versionβ show program's version number and exit. β¨--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}β the logging level (default:WARNING). pick your chaos level.-q,--quietβ suppress standard output messages, only errors are printed to screen. shhh era.-v,--verboseβ print verbose output messages. she's chatty now π¬-d,--debugβ print debug messages. full detective mode π-f,--file-listβ read the list of products from a file. And ooh, the file can be a JSON file (with'.json'extension) or a text file. The text file is expected to contain one product name per line. The json file can contain a list of products, OR a dictionary containing a list of products for each key. In that case the key is used as subfolder name to store the corresponding products. Example:<OUTDIR>/<KEY>/<PRODUCT>β cute, organized, main character energy. ποΈ--urlsβ Indicate the inputs are a list of URLs from ASF. π-o OUTDIR,--outdir OUTDIRβ path of the output directory (default='.'). where the goodies land π¦-u USERNAME,--username USERNAMEβ username for ASF authentication. If you don't provide it, the tool attempts to retrieve the authentication parameters for the user's'.netrc'file looking for the host'urs.earthdata.nasa.gov'. π-p PASSWORD,--password PASSWORDβ password for ASF authentication. Same deal: if not provided, the tool attempts to retrieve the authentication parameters for the user's'.netrc'file looking for the host'urs.earthdata.nasa.gov'. π€«--block-size BLOCK_SIZEβ httpio block size in MB (default:16). π§±-b {s1,s2,s3,s4,s5,s6,iw1,iw2,iw3,ew1,ew2,ew3,ew4,ew5,wv1,wv2},--beam {s1,s2,s3,s4,s5,s6,iw1,iw2,iw3,ew1,ew2,ew3,ew4,ew5,wv1,wv2}β Choose only one beam to download. If not provided, all beams are downloaded. pick a lane, babe π―--pol {vv,vh,hv,hh}β Choose only one polarization to download. If not provided, both polarizations are downloaded. π«-c,--calβ Download calibration files. π-n,--noiseβ Download noise calibration files. π‘-r,--rfiβ Download RFI files. π°οΈ--dataβ Download measurement files. π--noprogressβ Disable the progress bar. for the girlies who like a surprise π
ngl bestie, that's the whole page. every flag, every default, every file path β nothing skipped, nothing invented, we keep the facts and just serve them cute. π
and that's a wrap on asfsmd v1.4.1, brought to you by February 2024 β slay, goodbye, drink water π¦
π¦ where this page comes from
- debian trixie: asfsmd 1.4.1-2 Β· MIT
- ubuntu questing: asfsmd 1.4.1-2
- ubuntu resolute: asfsmd 1.4.1-2build1 Β· MIT
- ubuntu stonking: asfsmd 1.4.1-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms