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

trim_map

Syntax
trim_map --help
trim_map [-vb] [-old] [-sd yyyymmdd] [-st hr:mn] [-ed yyyymmdd] [-et hr:mn] [-ex hr:mn] [name]
Synopsis

Extracts a section from a map or cnvmap format file.

Options
--helpprint the help message and exit.
--versionprint the RST version number and exit.
-vbverbose. Log information to the console.
-oldthe input file is a map format file.
-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.
namefilename of the cnvmap format file to trim. If this is omitted, the file is read from standard input.
Description

Extracts a section from a map or cnvmap format file.

The extracted section is written to standard output.

Examples
trim_map -vb -old -st 11:00 -et 14:00 19981020.map > 19981020.1100.map

Extracts a 3 hour period starting at 11:00UT from the file called "19981020.map" to produce a file called "19981020.1100.map". The status is logged to standard error.

trim_map -sd 19991121 -st 22:00 -ex 4:00 -i 240 199911.cnvmap > 199911.2100.cnvmap

Extracts a 4 hour period starting at 22:00UT on November 21, 1999 from the file "199911.cnvmap" to produce the output file "199911.2100.cnvmap". The records are re-integrated to produce records at 4-minute intervals.