File:Leapsecond.ut1-utc.svg

Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.
Category:Files allowed to be overwritten by everyone

Summary

Description
English: Plot showing the difference UT1UTC in seconds. Vertical segments correspond to leap seconds. Red part of graph was prediction (future values) at the time the file was made.
Čeština: Graf zobrazující rozdíl UT1UTC v sekundách. Svislé úseky odpovídají přestupným sekundám. Červená část je předpověď budoucích hodnot (v okamžiku vytvoření grafu).
Date
Source Own work using: https://maia.usno.navy.mil/ser7/finals.all
Author Tomia (talk · contribs)
Petr Kadlec (talk · contribs)
Gordon P. Hemsley (talk · contribs)
RP88 (talk · contribs)
Permission
(Reusing this file)
This work is ineligible for copyright and therefore in the public domain because it consists entirely of information that is common property and contains no original authorship.
Category:PD ineligible#Leapsecond.ut1-utc.svg
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#Leapsecond.ut1-utc.svg
Other versions
SVG development
InfoField

Source code

Generated using the following scripts:

wget https://maia.usno.navy.mil/ser7/finals.all

cut -c 1-2,3-4,5-6,8-15,58,59-68 --output-delimiter " " finals.all > finals-cut.txt
grep "P" finals-cut.txt > finals-pred.txt
grep "I" finals-cut.txt > finals-iers.txt

gnuplot leapsecs.gnuplot

leapsecs.gnuplot contains commands for gnuplot 6.0:

set xdata time
set timefmt "%Y-%m-%d"
set format x "%Y"
set xrange ["1973-01-01":"2027-01-01"]
set yrange [-0.9:0.9]
set xtics "1970-01-01", 5 years
set mxtics time 1 year
set grid lt 3 lc 0
set terminal svg font "Arial,16"
set style line 1 lc rgb 'dark-green' lt 1
set style line 2 lc rgb 'red' lt 1
unset key
makedate(y,m,d,j) = sprintf("%04d-%02d-%02d", (j <= 51543 ? 1900 + y : 2000 + y), m, d)
set output 'Leapsecond.ut1-utc.svg'
plot \
    'finals-iers.txt' \
        using (makedate($1,$2,$3,$4)):($6) \
        with lines linestyle 1 title 'Measured', \
    'finals-pred.txt' \
        using (makedate($1,$2,$3,$4)):($6) \
        with lines linestyle 2 title 'Predicted'
set output
Category:Leap second Category:Black, green, white Category:Graphics Category:Images with Gnuplot source code Category:Images with BASH source code
Category:Black, green, white Category:CC-Zero Category:Files allowed to be overwritten by everyone Category:Graphics Category:Images with BASH source code Category:Images with Gnuplot source code Category:Leap second Category:PD ineligible Category:Valid SVG created with Gnuplot