Syntax |
|
mlteval --help mlteval [-d yyyymmdd] [-t hr:mn] [-l mlon] [-fmt format] mlteval [-f filename] [-fmt format]
|
Synopsis |
| Find Magnetic Local Time (MLT). |
Options |
|
--help | print the help message and exit. |
--version | print the RST version number and exit. |
-d yyyymmdd | calculate for the date yyyymmdd. |
-t hr:mn | calculate for the time hr:mn. |
-l mlon | calculate for the magnetic longitude mlon. |
-fmt format | use the string fmt, to format the output. |
-f filename | read a sequence of dates, times and longitudes from the ASCII file, filename. |
-old_mlt | use old MLT procedure rather than v2. |
|
Description |
|
Calulates Magnetic Local Time (UTC) for a given Universal Coordinated Time (UTC) and magnetic longitude. The output is written to standard output using the formatting string given by the "-fmt " option. The format string should be in the same format as that used by the printf function and will take one double precision floating point number as an argument.
If the "-f " option is given, the time and longitude are read from a space separated ASCII file. If the filename is "- " input is read from standard input.
|
Examples |
|
mlteval -d 19990406 -t 00:30 -lon 75.0 |
Find the MLT for 0 degrees magnetic lognitude at 00:30UT on April, 6 1999.
mlteval -f mlt.txt -fmt "MLT=%f\n" |
Find the MLT for the times and longitudes in the file "mlt.txt ", format the output using the string "MLT=%f\n".
|