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

trim_iq

Syntax
trim_iq --help
trim_iq [-sd yyyymmdd] [-st hr:mn] [-ed yyyymmdd] [-et hr:mn] [-ex hr:mn] [iqdatname]
Synopsis

Extracts a section from a iqdat 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.
iqdatnamefilename of the iqdat format file to trim. If this is omitted, the file will be read from standard input
Description

Extracts a section from a iqdat format file.

The extracted section will be written to standard output

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

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