File:Delta t.svg
Summary
| Description |
English: Plot of ∆T = TT − UT as a function of time, where TT is Terrestrial Time and UT is Universal Time. This plot combines the data sets Historic Delta T and LOD (1657.0 – 1973.0) and Monthly determinations of Delta T (from 1973-02-01 onwards) from the IERS Rapid Service/Prediction Center. |
| Date | |
| Source | Own work |
| Author | Musashiaharon |
| Other versions |
Delta T.jpg: |
Source
#!/bin/sh
tail -n +3 historic_deltat.data |
awk '{ print $1 "\t" $2; } /1973/ { exit; }' > hist.data
awk '
{
# use gdate on osx after brew install coreutils. On linux, use date.
doy = "gdate +%j --date=" $1 "-" $2 "-" $3; doy |getline dayOfYear; close(doy)
diy = "gdate +%j --date=" $1 "-12-31"; diy |getline daysInYear; close(diy)
printf("%0.3f\t%s\n", $1 + ((dayOfYear - 1)/daysInYear), $4);
}' < deltat.data >> hist.data
#!/usr/bin/env gnuplot
set terminal svg size 640, 480 name "Delta_t"
set output 'Delta_t.svg'
set title "∆T = TT − UT"
set xlabel "year"
set ylabel "∆T (s)"
set grid linetype 1 linecolor rgb "#cccccc"
unset key
set style data lines
set style line 1 linetype 1 linewidth 2
set style increment user
set xzeroaxis linetype 2 linecolor rgb "black"
plot 'hist.data' linetype rgb "#FF0000"
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.