Home| superdarn |src.bin|tk|tool| trim_snd Index

trim_snd

Syntax
trim_snd --help
trim_snd [-vb] [-sd yyyymmdd] [-st hr:mn] [-ed yyyymmdd] [-et hr:mn] [-ex hr:mn] [sndname]
Synopsis

Extracts a section from a snd format file.

Options
--helpprint the help message and exit.
--versionprint the RST version number and exit.
-vbverbose. Log information to the console.
-sd yyyymmddextract starting from the date yyyymmdd.
-st hr:mnextract starting from the time hr:mn.
-ed yyyymmddstop extracting at the date yyyymmdd.
-et hr:mnstop extracting at the time hr:mn.
-ex hr:mnextract an interval whose extent is hr:mn.
sndnamefilename of the snd format file to trim. If this is omitted, the file will be read from standard input
Description

Extracts a section from a snd format file.

The extracted section will be written to standard output

Examples
trim_snd -sd 19990410 -st 22:00 -ed 19990411 -et 4:00 19990410.gbr.snd > 1999041022.gbr.snd

Extract a six-hour section starting at 22:00UT April 10, 1999 from the snd file "19990410.gbr.snd" to produce the snd file "1999041022.gbr.snd".