[Debian-astro-commits] [erfa] 01/05: New upstream version 1.4.0
Ole Streicher
olebole at moszumanska.debian.org
Wed Jun 21 15:43:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository erfa.
commit 17db31f8f917583192bc9a65093c9eec92589a57
Author: Ole Streicher <olebole at debian.org>
Date: Wed Jun 21 17:28:36 2017 +0200
New upstream version 1.4.0
---
README.rst | 12 +++
RELEASE.rst | 77 ++++++++--------
configure.ac | 7 +-
src/Makefile.am | 5 +-
src/a2af.c | 4 +-
src/a2tf.c | 4 +-
src/ab.c | 4 +-
src/af2a.c | 4 +-
src/anp.c | 4 +-
src/anpm.c | 4 +-
src/apcg.c | 4 +-
src/apcg13.c | 4 +-
src/apci.c | 4 +-
src/apci13.c | 4 +-
src/apco.c | 4 +-
src/apco13.c | 4 +-
src/apcs.c | 6 +-
src/apcs13.c | 4 +-
src/aper.c | 4 +-
src/aper13.c | 4 +-
src/apio.c | 4 +-
src/apio13.c | 4 +-
src/atci13.c | 8 +-
src/atciq.c | 4 +-
src/atciqn.c | 4 +-
src/atciqz.c | 4 +-
src/atco13.c | 4 +-
src/atic13.c | 4 +-
src/aticq.c | 4 +-
src/aticqn.c | 4 +-
src/atio13.c | 4 +-
src/atioq.c | 4 +-
src/atoc13.c | 4 +-
src/atoi13.c | 4 +-
src/atoiq.c | 4 +-
src/bi00.c | 4 +-
src/bp00.c | 4 +-
src/bp06.c | 4 +-
src/bpn2xy.c | 4 +-
src/c2i00a.c | 4 +-
src/c2i00b.c | 4 +-
src/c2i06a.c | 4 +-
src/c2ibpn.c | 4 +-
src/c2ixy.c | 4 +-
src/c2ixys.c | 4 +-
src/c2s.c | 4 +-
src/c2t00a.c | 4 +-
src/c2t00b.c | 4 +-
src/c2t06a.c | 4 +-
src/c2tcio.c | 4 +-
src/c2teqx.c | 4 +-
src/c2tpe.c | 4 +-
src/c2txy.c | 4 +-
src/cal2jd.c | 4 +-
src/cp.c | 4 +-
src/cpv.c | 4 +-
src/cr.c | 4 +-
src/d2dtf.c | 4 +-
src/d2tf.c | 4 +-
src/dat.c | 8 +-
src/dtdb.c | 4 +-
src/dtf2d.c | 4 +-
src/eceq06.c | 4 +-
src/ecm06.c | 4 +-
src/ee00.c | 4 +-
src/ee00a.c | 4 +-
src/ee00b.c | 4 +-
src/ee06a.c | 4 +-
src/eect00.c | 4 +-
src/eform.c | 4 +-
src/eo06a.c | 4 +-
src/eors.c | 4 +-
src/epb.c | 4 +-
src/epb2jd.c | 4 +-
src/epj.c | 4 +-
src/epj2jd.c | 4 +-
src/epv00.c | 12 +--
src/eqec06.c | 4 +-
src/eqeq94.c | 4 +-
src/era00.c | 4 +-
src/erfa.h | 7 +-
src/erfaextra.h | 59 ++++++++++++
src/erfam.h | 14 +--
src/erfaversion.c | 38 ++++++++
src/fad03.c | 4 +-
src/fae03.c | 4 +-
src/faf03.c | 4 +-
src/faju03.c | 4 +-
src/fal03.c | 4 +-
src/falp03.c | 4 +-
src/fama03.c | 4 +-
src/fame03.c | 4 +-
src/fane03.c | 4 +-
src/faom03.c | 4 +-
src/fapa03.c | 4 +-
src/fasa03.c | 4 +-
src/faur03.c | 4 +-
src/fave03.c | 4 +-
src/fk52h.c | 4 +-
src/fk5hip.c | 4 +-
src/fk5hz.c | 4 +-
src/fw2m.c | 4 +-
src/fw2xy.c | 4 +-
src/g2icrs.c | 4 +-
src/gc2gd.c | 4 +-
src/gc2gde.c | 4 +-
src/gd2gc.c | 4 +-
src/gd2gce.c | 4 +-
src/gmst00.c | 4 +-
src/gmst06.c | 4 +-
src/gmst82.c | 4 +-
src/gst00a.c | 4 +-
src/gst00b.c | 4 +-
src/gst06.c | 4 +-
src/gst06a.c | 4 +-
src/gst94.c | 4 +-
src/h2fk5.c | 4 +-
src/hfk5z.c | 4 +-
src/icrs2g.c | 4 +-
src/ir.c | 4 +-
src/jd2cal.c | 10 +-
src/jdcalf.c | 10 +-
src/ld.c | 4 +-
src/ldn.c | 6 +-
src/ldsun.c | 4 +-
src/lteceq.c | 4 +-
src/ltecm.c | 4 +-
src/lteqec.c | 4 +-
src/ltp.c | 4 +-
src/ltpb.c | 4 +-
src/ltpecl.c | 4 +-
src/ltpequ.c | 4 +-
src/num00a.c | 4 +-
src/num00b.c | 4 +-
src/num06a.c | 4 +-
src/numat.c | 4 +-
src/nut00a.c | 4 +-
src/nut00b.c | 4 +-
src/nut06a.c | 4 +-
src/nut80.c | 4 +-
src/nutm80.c | 4 +-
src/obl06.c | 4 +-
src/obl80.c | 4 +-
src/p06e.c | 4 +-
src/p2pv.c | 4 +-
src/p2s.c | 4 +-
src/pap.c | 4 +-
src/pas.c | 4 +-
src/pb06.c | 4 +-
src/pdp.c | 4 +-
src/pfw06.c | 4 +-
src/plan94.c | 18 ++--
src/pm.c | 4 +-
src/pmat00.c | 4 +-
src/pmat06.c | 4 +-
src/pmat76.c | 4 +-
src/pmp.c | 4 +-
src/pmpx.c | 4 +-
src/pmsafe.c | 4 +-
src/pn.c | 4 +-
src/pn00.c | 4 +-
src/pn00a.c | 4 +-
src/pn00b.c | 4 +-
src/pn06.c | 4 +-
src/pn06a.c | 4 +-
src/pnm00a.c | 4 +-
src/pnm00b.c | 4 +-
src/pnm06a.c | 4 +-
src/pnm80.c | 4 +-
src/pom00.c | 4 +-
src/ppp.c | 4 +-
src/ppsp.c | 4 +-
src/pr00.c | 4 +-
src/prec76.c | 4 +-
src/pv2p.c | 4 +-
src/pv2s.c | 4 +-
src/pvdpv.c | 4 +-
src/pvm.c | 4 +-
src/pvmpv.c | 4 +-
src/pvppv.c | 4 +-
src/pvstar.c | 20 ++--
src/pvtob.c | 4 +-
src/pvu.c | 4 +-
src/pvup.c | 4 +-
src/pvxpv.c | 4 +-
src/pxp.c | 4 +-
src/refco.c | 4 +-
src/rm2v.c | 4 +-
src/rv2m.c | 4 +-
src/rx.c | 4 +-
src/rxp.c | 4 +-
src/rxpv.c | 4 +-
src/rxr.c | 4 +-
src/ry.c | 4 +-
src/rz.c | 4 +-
src/s00.c | 4 +-
src/s00a.c | 4 +-
src/s00b.c | 4 +-
src/s06.c | 4 +-
src/s06a.c | 4 +-
src/s2c.c | 4 +-
src/s2p.c | 4 +-
src/s2pv.c | 4 +-
src/s2xpv.c | 4 +-
src/sepp.c | 4 +-
src/seps.c | 4 +-
src/sp00.c | 4 +-
src/starpm.c | 4 +-
src/starpv.c | 23 ++---
src/sxp.c | 4 +-
src/sxpv.c | 4 +-
src/t_erfa_c.c | 266 +++++++++++++++++++++++++++---------------------------
src/taitt.c | 4 +-
src/taiut1.c | 4 +-
src/taiutc.c | 4 +-
src/tcbtdb.c | 4 +-
src/tcgtt.c | 4 +-
src/tdbtcb.c | 4 +-
src/tdbtt.c | 4 +-
src/tf2a.c | 4 +-
src/tf2d.c | 4 +-
src/tr.c | 4 +-
src/trxp.c | 4 +-
src/trxpv.c | 4 +-
src/tttai.c | 4 +-
src/tttcg.c | 4 +-
src/tttdb.c | 4 +-
src/ttut1.c | 4 +-
src/ut1tai.c | 4 +-
src/ut1tt.c | 4 +-
src/ut1utc.c | 4 +-
src/utctai.c | 4 +-
src/utcut1.c | 4 +-
src/xy06.c | 4 +-
src/xys00a.c | 4 +-
src/xys00b.c | 4 +-
src/xys06a.c | 4 +-
src/zp.c | 4 +-
src/zpv.c | 4 +-
src/zr.c | 4 +-
240 files changed, 805 insertions(+), 685 deletions(-)
diff --git a/README.rst b/README.rst
index 418d138..de6fd9a 100644
--- a/README.rst
+++ b/README.rst
@@ -34,6 +34,18 @@ Bugfixes
ERFA includes smaller changes that may or may not eventually make it into SOFA,
addressing localized bugs or similar smaller issues:
+* ERFA 1.4.0 and SOFA "20170420"
+
+ + ERFA 1.4.0 adds the ``eraVersion`` and ``eraSofaVersion`` functions to
+ determine the installed version of ERFA (and the SOFA version it is derived
+ from).
+
+ + ERFA 1.4.0 includes some bug fixes contributed to ERFA after 1.3.0 but
+ before 1.4.0. These were incorporated (with modification) into
+ SOFA "20170420" (without attribution) and hence these are not differences
+ between ERFA and SOFA. (See https://github.com/liberfa/erfa/issues/40 and
+ https://github.com/liberfa/erfa/issues/41)
+
* ERFA 1.3.0 and SOFA "20160503_a"
+ There are no differences between ERFA 1.3.0 and SOFA "20160503_a".
diff --git a/RELEASE.rst b/RELEASE.rst
index 3726fdc..474a083 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -4,62 +4,63 @@ Instructions for releasing ERFA
* Clone the ERFA repository from github (if you haven't already done so),
and change to the ERFA directory.
-* Make sure you are on the "master" branch from the "liberfa" github
+* Make sure you are on the "master" branch from the "liberfa" github
repository and have the latest version (if you have a fresh clone, this
should already be the case).
* If a new version of SOFA exists, run `sofa_deriver.py` from the `erfa-fetch
repository`_ in its own directory. That will create a directory called `erfa`
- inside the `erfa-fetch` directory, and you should copy its contents to the
- `src` directory of `erfa`. Add any new C files or header files added by SOFA
- to ``src/Makefile.am``, as appropriate. Use ``git diff`` in `erfa` to inspect
+ inside the `erfa-fetch` directory, and you should copy its contents to the
+ `src` directory of `erfa`. Add any new C files or header files added by SOFA
+ to ``src/Makefile.am``, as appropriate. Use ``git diff`` in `erfa` to inspect
the changes, and then commit and push them to github.
* Update the version number in the `AC_INIT` macro of `configure.ac` to
- the version number you are about to release, and also update the version
- mentioned in `README.rst`. Follow the instructions in
+ the version number you are about to release, and also update the version
+ mentioned in `README.rst`. Follow the instructions in
`Version numbering` below.
-* Update the version info of the shared library in the `ERFA_LIB_VERSION_INFO`
+* Update the version info of the shared library in the `ERFA_LIB_VERSION_INFO`
macro of `configure.ac`. Follow the instructions in `Version numbering` below.
+ Also be sure to the ``OFA_VERSION` macro in the `configure.ac`.
-* Commit these changes using ``git commit``, with a commit message like
+* Commit these changes using ``git commit``, with a commit message like
``Preparing release v0.0.1``.
-* Run `./bootstrap.sh`: you need `automake`, `autoconf` and `libtool`
+* Run `./bootstrap.sh`: you need `automake`, `autoconf` and `libtool`
installed. If no errors appear, this will create a new `./configure`
file.
-* Run ``./configure``, which should create a `Makefile` in the top level
+* Run ``./configure``, which should create a `Makefile` in the top level
directory and in ./src
* Run ``make check``, which will build the library and run the tests -
make sure they pass before proceeding.
-* Run ``make distcheck``: this creates the distribution tarball,
+* Run ``make distcheck``: this creates the distribution tarball,
unpackages it and runs the check inside the untarred directory.
The resulting tarball will be named e.g., `erfa-0.0.1.tar.gz` and
will be placed in the working directory.
-* Tag the current commit with the version number. A signed tag is preferred if
- you have an a signing key (e.g., do ``git tag -s v0.0.1``).
+* Tag the current commit with the version number. A signed tag is preferred if
+ you have an a signing key (e.g., do ``git tag -s v0.0.1``).
-* Push up your changes and the new tag to github:
+* Push up your changes and the new tag to github:
``git push --tags origin master``. (The command here assumes the git remote
"origin" points to the "liberfa/erfa" repository. If not, substitute the
appropriate name.)
* Go to the "liberfa/erfa" repository for the github page, and click on the
- "releases" button, and then the release corresponding to the tag you just
- made.
+ "releases" button, and then the release corresponding to the tag you just
+ made.
-* Click on the "Draft release notes or downloads" button (or it might be
- "Edit release"). Put the version number as the title (e.g., ``v0.0.1``)and
+* Click on the "Draft release notes or downloads" button (or it might be
+ "Edit release"). Put the version number as the title (e.g., ``v0.0.1``)and
for the description put ``See `README.rst` for release notes.``
* Upload the tarball you created (e.g., `erfa-0.0.1.tar.gz`) by dropping it
- in the area that says "Attach binaries for this release by dropping them
- here."
+ in the area that says "Attach binaries for this release by dropping them
+ here."
* Click the "Publish release" button.
@@ -72,15 +73,15 @@ Version numbering
=================
ERFA needs to provide two different version numbers. You need to update both.
-The first is the
-**package version number** or **version number** proper. ERFA uses
+The first is the
+**package version number** or **version number** proper. ERFA uses
`semantic versioning <http://semver.org/>`_ to create this number.
-For more on this choice, see
+For more on this choice, see
`liberfa/erfa#6 <https://github.com/liberfa/erfa/issues/6>`_.
-The second number is `shared library version info`. When a program has been
+The second number is `shared library version info`. When a program has been
linked with the ERFA shared library, the dynamic linker checks the version
-info of the library requested by the program with those of the libraries
+info of the library requested by the program with those of the libraries
present if the system. This version info is important to binary distributions
(such as Linux distributions). ERFA uses `libtool versioning <http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html>`_.
@@ -103,10 +104,10 @@ information about the release, such as:
If the version is given in the form MAJOR.MINOR.PATCH, then
* if there is a backwards incompatible change (function removed, types of
- arguments altered, macros renamed...) then increase MAJOR by one and set
+ arguments altered, macros renamed...) then increase MAJOR by one and set
the others to zero.
- * else if there is backwards compatible change (new function added or
- new macro added) then do not change MAJOR, increase MINOR by one and
+ * else if there is backwards compatible change (new function added or
+ new macro added) then do not change MAJOR, increase MINOR by one and
set PATCH to zero.
* else
you are either fixing a bug or making other improvements. Increase
@@ -118,28 +119,28 @@ Shared library version info
---------------------------
For the shared library version info, we are only interested in a subset of
-the API, the **interfaces of the shared library**. As the C macros are
-interpolated away at compile time, the interfaces in the ERFA
+the API, the **interfaces of the shared library**. As the C macros are
+interpolated away at compile time, the interfaces in the ERFA
shared library are:
- * The names, return types, number of arguments and types of the functions
-
+ * The names, return types, number of arguments and types of the functions
+
Again, the release manager has to review the relevant information:
* upstream SOFA documentation in http://www.iausofa.org/current_changes.html
* relevant bug reports in the github project page
-The shared library version info is stored in three numbers called *current*,
-*revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO`
+The shared library version info is stored in three numbers called *current*,
+*revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO`
in the mentioned order.
If the version is given in the form CURRENT,REVISION,AGE then
* if there is a backwards incompatible change (function removed, types of
- arguments altered...) then increase CURRENT by one and set
+ arguments altered...) then increase CURRENT by one and set
the others to zero (c,r,a -> c+1,0,0).
* else if there is backwards compatible change (new function added)
- then increase both CURRENT and AGE by one, set REVISON to zero
+ then increase both CURRENT and AGE by one, set REVISON to zero
(c,r,a -> c+1,0,a+1).
* else if the library code has been modified at all
then increase REVISION by one (c,r,a -> c,r+1,a)
@@ -164,7 +165,7 @@ We start with ERFA version 1.0.0 and library version info 0,0,0
version will be 2.1.0. The shared library info will be 2,0,1 (both current
and age are incremented).
-* SOFA makes a new relase fixing some bugs in the code without changing the
+* SOFA makes a new relase fixing some bugs in the code without changing the
API. New package version is 2.1.1. The shared library version is 2,1,1
* A contributor finds a bug in ERFA. The fix doesn't change the API. New
@@ -173,7 +174,7 @@ We start with ERFA version 1.0.0 and library version info 0,0,0
* SOFA makes a new release incorporating the bug fix and adding new functions.
The new package version is 2.2.0. The shared library version is 3,0,2
-* SOFA makes a new release removing functions. This is a backawars
+* SOFA makes a new release removing functions. This is a backawars
incompatible change, so the new package will
have version 3.0.0 and the shared library version info will be 4,0,0
diff --git a/configure.ac b/configure.ac
index a9f27b9..d972929 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
AC_PREREQ([2.68])
## Follow the instructions in RELEASE.rst to change package version
-AC_INIT([erfa],[1.3.0])
+AC_INIT([erfa],[1.4.0])
AC_CONFIG_SRCDIR([src/erfa.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
@@ -17,7 +17,10 @@ ERFA_NUMVER
## A library supports interfaces from current downto current - age
## Revision is the version of the current interface
## Follow the instructions in RELEASE.rst to change the version info
-ERFA_LIB_VERSION_INFO(4, 0, 3)
+ERFA_LIB_VERSION_INFO(5, 0, 4)
+
+## SOFA version, update if needed in new relases
+AC_DEFINE([SOFA_VERSION], ["20170420"], [Define to the version of SOFA])
# Checks for libraries.
AC_SEARCH_LIBS([sin], [m], , AC_MSG_ERROR([cannot find math functions]))
diff --git a/src/Makefile.am b/src/Makefile.am
index e0dce1b..a0bb520 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,9 +26,10 @@ s06a.c s06.c s2c.c s2p.c s2pv.c s2xpv.c sepp.c seps.c sp00.c \
starpm.c starpv.c sxp.c sxpv.c taitt.c taiut1.c taiutc.c tcbtdb.c \
tcgtt.c tdbtcb.c tdbtt.c tf2a.c tf2d.c tr.c trxp.c trxpv.c tttai.c \
tttcg.c tttdb.c ttut1.c ut1tai.c ut1tt.c ut1utc.c utctai.c utcut1.c \
-xy06.c xys00a.c xys00b.c xys06a.c zp.c zpv.c zr.c
+xy06.c xys00a.c xys00b.c xys06a.c zp.c zpv.c zr.c \
+erfaversion.c
-include_HEADERS = erfa.h erfam.h
+include_HEADERS = erfa.h erfam.h erfaextra.h
## Version info is in current : revision : age form
## A library supports interfaces from current downto current - age
diff --git a/src/a2af.c b/src/a2af.c
index 0101630..47b5524 100644
--- a/src/a2af.c
+++ b/src/a2af.c
@@ -51,7 +51,7 @@ void eraA2af(int ndp, double angle, char *sign, int idmsf[4])
** case where angle is very nearly 2pi and rounds up to 360 degrees,
** by testing for idmsf[0]=360 and setting idmsf[0-3] to zero.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -68,7 +68,7 @@ void eraA2af(int ndp, double angle, char *sign, int idmsf[4])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/a2tf.c b/src/a2tf.c
index ac3aa98..19670ad 100644
--- a/src/a2tf.c
+++ b/src/a2tf.c
@@ -51,7 +51,7 @@ void eraA2tf(int ndp, double angle, char *sign, int ihmsf[4])
** case where angle is very nearly 2pi and rounds up to 24 hours,
** by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -64,7 +64,7 @@ void eraA2tf(int ndp, double angle, char *sign, int ihmsf[4])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ab.c b/src/ab.c
index 5d56656..c9b12c2 100644
--- a/src/ab.c
+++ b/src/ab.c
@@ -48,7 +48,7 @@ void eraAb(double pnat[3], double v[3], double s, double bm1,
** Called:
** eraPdp scalar product of two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -76,7 +76,7 @@ void eraAb(double pnat[3], double v[3], double s, double bm1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/af2a.c b/src/af2a.c
index b74dd75..22d3902 100644
--- a/src/af2a.c
+++ b/src/af2a.c
@@ -34,7 +34,7 @@ int eraAf2a(char s, int ideg, int iamin, double asec, double *rad)
** 3) If there are multiple errors, the status value reflects only the
** first, the smallest taking precedence.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -55,7 +55,7 @@ int eraAf2a(char s, int ideg, int iamin, double asec, double *rad)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/anp.c b/src/anp.c
index dcd678e..4b46637 100644
--- a/src/anp.c
+++ b/src/anp.c
@@ -14,7 +14,7 @@ double eraAnp(double a)
** Returned (function value):
** double angle in range 0-2pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -30,7 +30,7 @@ double eraAnp(double a)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/anpm.c b/src/anpm.c
index bd1e059..e092c39 100644
--- a/src/anpm.c
+++ b/src/anpm.c
@@ -14,7 +14,7 @@ double eraAnpm(double a)
** Returned (function value):
** double angle in range +/-pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -30,7 +30,7 @@ double eraAnpm(double a)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apcg.c b/src/apcg.c
index e49d4ae..59b1816 100644
--- a/src/apcg.c
+++ b/src/apcg.c
@@ -102,7 +102,7 @@ void eraApcg(double date1, double date2,
** Called:
** eraApcs astrometry parameters, ICRS-GCRS, space observer
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -120,7 +120,7 @@ void eraApcg(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apcg13.c b/src/apcg13.c
index 4157785..ea0d481 100644
--- a/src/apcg13.c
+++ b/src/apcg13.c
@@ -104,7 +104,7 @@ void eraApcg13(double date1, double date2, eraASTROM *astrom)
** eraEpv00 Earth position and velocity
** eraApcg astrometry parameters, ICRS-GCRS, geocenter
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -123,7 +123,7 @@ void eraApcg13(double date1, double date2, eraASTROM *astrom)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apci.c b/src/apci.c
index 74dbc3b..ddc5438 100644
--- a/src/apci.c
+++ b/src/apci.c
@@ -112,7 +112,7 @@ void eraApci(double date1, double date2,
** eraApcg astrometry parameters, ICRS-GCRS, geocenter
** eraC2ixys celestial-to-intermediate matrix, given X,Y and s
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -129,7 +129,7 @@ void eraApci(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apci13.c b/src/apci13.c
index c041652..ca33729 100644
--- a/src/apci13.c
+++ b/src/apci13.c
@@ -110,7 +110,7 @@ void eraApci13(double date1, double date2,
** eraApci astrometry parameters, ICRS-CIRS
** eraEors equation of the origins, given NPB matrix and s
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -141,7 +141,7 @@ void eraApci13(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apco.c b/src/apco.c
index 1b61ab8..54917ac 100644
--- a/src/apco.c
+++ b/src/apco.c
@@ -152,7 +152,7 @@ void eraApco(double date1, double date2,
** eraApcs astrometry parameters, ICRS-GCRS, space observer
** eraCr copy r-matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -203,7 +203,7 @@ void eraApco(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apco13.c b/src/apco13.c
index cdd4d4f..f77191a 100644
--- a/src/apco13.c
+++ b/src/apco13.c
@@ -173,7 +173,7 @@ int eraApco13(double utc1, double utc2, double dut1,
** eraApco astrometry parameters, ICRS-observed
** eraEors equation of the origins, given NPB matrix and s
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -226,7 +226,7 @@ int eraApco13(double utc1, double utc2, double dut1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apcs.c b/src/apcs.c
index 0a34f14..2e155d2 100644
--- a/src/apcs.c
+++ b/src/apcs.c
@@ -122,14 +122,14 @@ void eraApcs(double date1, double date2, double pv[2][3],
** eraPn decompose p-vector into modulus and direction
** eraIr initialize r-matrix to identity
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
/* au/d to m/s */
const double AUDMS = ERFA_DAU/ERFA_DAYSEC;
-/* Light time for 1 AU (day) */
+/* Light time for 1 au (day) */
const double CR = ERFA_AULT/ERFA_DAYSEC;
int i;
@@ -172,7 +172,7 @@ void eraApcs(double date1, double date2, double pv[2][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apcs13.c b/src/apcs13.c
index 0eb2d72..c19d5d6 100644
--- a/src/apcs13.c
+++ b/src/apcs13.c
@@ -111,7 +111,7 @@ void eraApcs13(double date1, double date2, double pv[2][3],
** eraEpv00 Earth position and velocity
** eraApcs astrometry parameters, ICRS-GCRS, space observer
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -130,7 +130,7 @@ void eraApcs13(double date1, double date2, double pv[2][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/aper.c b/src/aper.c
index 372c565..dc07779 100644
--- a/src/aper.c
+++ b/src/aper.c
@@ -89,7 +89,7 @@ void eraAper(double theta, eraASTROM *astrom)
** aberration and parallax (unless subsumed into the ICRS <-> GCRS
** transformation), and atmospheric refraction.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -101,7 +101,7 @@ void eraAper(double theta, eraASTROM *astrom)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/aper13.c b/src/aper13.c
index e2b019c..454d6ff 100644
--- a/src/aper13.c
+++ b/src/aper13.c
@@ -108,7 +108,7 @@ void eraAper13(double ut11, double ut12, eraASTROM *astrom)
** eraAper astrometry parameters: update ERA
** eraEra00 Earth rotation angle, IAU 2000
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -120,7 +120,7 @@ void eraAper13(double ut11, double ut12, eraASTROM *astrom)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apio.c b/src/apio.c
index ebc5569..cec8537 100644
--- a/src/apio.c
+++ b/src/apio.c
@@ -113,7 +113,7 @@ void eraApio(double sp, double theta,
** eraPvtob position/velocity of terrestrial station
** eraAper astrometry parameters: update ERA
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -152,7 +152,7 @@ void eraApio(double sp, double theta,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/apio13.c b/src/apio13.c
index 4544c9e..f29bd53 100644
--- a/src/apio13.c
+++ b/src/apio13.c
@@ -162,7 +162,7 @@ int eraApio13(double utc1, double utc2, double dut1,
** eraRefco refraction constants for given ambient conditions
** eraApio astrometry parameters, CIRS-observed
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -198,7 +198,7 @@ int eraApio13(double utc1, double utc2, double dut1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atci13.c b/src/atci13.c
index 40a3a04..7eebe16 100644
--- a/src/atci13.c
+++ b/src/atci13.c
@@ -35,12 +35,12 @@ void eraAtci13(double rc, double dc,
**
** 3) The TDB date date1+date2 is a Julian Date, apportioned in any
** convenient way between the two arguments. For example,
-** JD(TDB)=2450123.8g could be expressed in any of these ways, among
+** JD(TDB)=2450123.7 could be expressed in any of these ways, among
** others:
**
** date1 date2
**
-** 2450123.8g 0.0 (JD method)
+** 2450123.7 0.0 (JD method)
** 2451545.0 -1421.3 (J2000 method)
** 2400000.5 50123.2 (MJD method)
** 2450123.5 0.2 (date & time method)
@@ -78,7 +78,7 @@ void eraAtci13(double rc, double dc,
** eraApci13 astrometry parameters, ICRS-CIRS, 2013
** eraAtciq quick ICRS to CIRS
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -98,7 +98,7 @@ void eraAtci13(double rc, double dc,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atciq.c b/src/atciq.c
index 68947ba..2c4b31f 100644
--- a/src/atciq.c
+++ b/src/atciq.c
@@ -64,7 +64,7 @@ void eraAtciq(double rc, double dc,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range 0 to 2pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -93,7 +93,7 @@ void eraAtciq(double rc, double dc,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atciqn.c b/src/atciqn.c
index 0ad89a0..305dfa6 100644
--- a/src/atciqn.c
+++ b/src/atciqn.c
@@ -101,7 +101,7 @@ void eraAtciqn(double rc, double dc, double pr, double pd,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range 0 to 2pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -130,7 +130,7 @@ void eraAtciqn(double rc, double dc, double pr, double pd,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atciqz.c b/src/atciqz.c
index d141b91..938192f 100644
--- a/src/atciqz.c
+++ b/src/atciqz.c
@@ -63,7 +63,7 @@ void eraAtciqz(double rc, double dc, eraASTROM *astrom,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range +/- pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -92,7 +92,7 @@ void eraAtciqz(double rc, double dc, eraASTROM *astrom,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atco13.c b/src/atco13.c
index eaaabe8..2ec65bd 100644
--- a/src/atco13.c
+++ b/src/atco13.c
@@ -151,7 +151,7 @@ int eraAtco13(double rc, double dc,
** eraAtciq quick ICRS to CIRS
** eraAtioq quick CIRS to observed
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -182,7 +182,7 @@ int eraAtco13(double rc, double dc,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atic13.c b/src/atic13.c
index bd70ce5..18eb67f 100644
--- a/src/atic13.c
+++ b/src/atic13.c
@@ -71,7 +71,7 @@ void eraAtic13(double ri, double di, double date1, double date2,
** eraApci13 astrometry parameters, ICRS-CIRS, 2013
** eraAticq quick CIRS to ICRS astrometric
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -91,7 +91,7 @@ void eraAtic13(double ri, double di, double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/aticq.c b/src/aticq.c
index 1e205b8..f7f68f9 100644
--- a/src/aticq.c
+++ b/src/aticq.c
@@ -59,7 +59,7 @@ void eraAticq(double ri, double di, eraASTROM *astrom,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range +/- pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -138,7 +138,7 @@ void eraAticq(double ri, double di, eraASTROM *astrom,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/aticqn.c b/src/aticqn.c
index d69119e..f49c64e 100644
--- a/src/aticqn.c
+++ b/src/aticqn.c
@@ -97,7 +97,7 @@ void eraAticqn(double ri, double di, eraASTROM *astrom,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range +/- pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -176,7 +176,7 @@ void eraAticqn(double ri, double di, eraASTROM *astrom,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atio13.c b/src/atio13.c
index 6201776..fcc93b5 100644
--- a/src/atio13.c
+++ b/src/atio13.c
@@ -134,7 +134,7 @@ int eraAtio13(double ri, double di,
** eraApio13 astrometry parameters, CIRS-observed, 2013
** eraAtioq quick CIRS to observed
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -161,7 +161,7 @@ int eraAtio13(double ri, double di,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atioq.c b/src/atioq.c
index d8a1f7b..7ceee13 100644
--- a/src/atioq.c
+++ b/src/atioq.c
@@ -95,7 +95,7 @@ void eraAtioq(double ri, double di, eraASTROM *astrom,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range 0 to 2pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -182,7 +182,7 @@ void eraAtioq(double ri, double di, eraASTROM *astrom,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atoc13.c b/src/atoc13.c
index 8f0932c..58eb3fe 100644
--- a/src/atoc13.c
+++ b/src/atoc13.c
@@ -141,7 +141,7 @@ int eraAtoc13(const char *type, double ob1, double ob2,
** eraAtoiq quick observed to CIRS
** eraAticq quick CIRS to ICRS
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -172,7 +172,7 @@ int eraAtoc13(const char *type, double ob1, double ob2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atoi13.c b/src/atoi13.c
index 41f2632..5c0e751 100644
--- a/src/atoi13.c
+++ b/src/atoi13.c
@@ -140,7 +140,7 @@ int eraAtoi13(const char *type, double ob1, double ob2,
** eraApio13 astrometry parameters, CIRS-observed, 2013
** eraAtoiq quick observed to CIRS
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -167,7 +167,7 @@ int eraAtoi13(const char *type, double ob1, double ob2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/atoiq.c b/src/atoiq.c
index d5501a7..a164bcf 100644
--- a/src/atoiq.c
+++ b/src/atoiq.c
@@ -88,7 +88,7 @@ void eraAtoiq(const char *type,
** eraC2s p-vector to spherical
** eraAnp normalize angle into range 0 to 2pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -199,7 +199,7 @@ void eraAtoiq(const char *type,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/bi00.c b/src/bi00.c
index 9000221..5b569d2 100644
--- a/src/bi00.c
+++ b/src/bi00.c
@@ -41,7 +41,7 @@ void eraBi00(double *dpsibi, double *depsbi, double *dra)
** 2002. The MHB2000 code itself was obtained on 9th September 2002
** from ftp://maia.usno.navy.mil/conv2000/chapter5/IAU2000A.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -64,7 +64,7 @@ void eraBi00(double *dpsibi, double *depsbi, double *dra)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/bp00.c b/src/bp00.c
index dd387ea..ca40530 100644
--- a/src/bp00.c
+++ b/src/bp00.c
@@ -70,7 +70,7 @@ void eraBp00(double date1, double date2,
** n.b. The celestial ephemeris origin (CEO) was renamed "celestial
** intermediate origin" (CIO) by IAU 2006 Resolution 2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -120,7 +120,7 @@ void eraBp00(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/bp06.c b/src/bp06.c
index b5a60c4..5e00654 100644
--- a/src/bp06.c
+++ b/src/bp06.c
@@ -64,7 +64,7 @@ void eraBp06(double date1, double date2,
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -91,7 +91,7 @@ void eraBp06(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/bpn2xy.c b/src/bpn2xy.c
index 769bd33..8e61532 100644
--- a/src/bpn2xy.c
+++ b/src/bpn2xy.c
@@ -34,7 +34,7 @@ void eraBpn2xy(double rbpn[3][3], double *x, double *y)
** n.b. The celestial ephemeris origin (CEO) was renamed "celestial
** intermediate origin" (CIO) by IAU 2006 Resolution 2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -48,7 +48,7 @@ void eraBpn2xy(double rbpn[3][3], double *x, double *y)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2i00a.c b/src/c2i00a.c
index a83b12b..cad305b 100644
--- a/src/c2i00a.c
+++ b/src/c2i00a.c
@@ -68,7 +68,7 @@ void eraC2i00a(double date1, double date2, double rc2i[3][3])
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -87,7 +87,7 @@ void eraC2i00a(double date1, double date2, double rc2i[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2i00b.c b/src/c2i00b.c
index 7969a34..affd25e 100644
--- a/src/c2i00b.c
+++ b/src/c2i00b.c
@@ -68,7 +68,7 @@ void eraC2i00b(double date1, double date2, double rc2i[3][3])
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -87,7 +87,7 @@ void eraC2i00b(double date1, double date2, double rc2i[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2i06a.c b/src/c2i06a.c
index 9fd6bfe..6aaf1cf 100644
--- a/src/c2i06a.c
+++ b/src/c2i06a.c
@@ -59,7 +59,7 @@ void eraC2i06a(double date1, double date2, double rc2i[3][3])
** McCarthy, D. D., Petit, G. (eds.), 2004, IERS Conventions (2003),
** IERS Technical Note No. 32, BKG
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -84,7 +84,7 @@ void eraC2i06a(double date1, double date2, double rc2i[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2ibpn.c b/src/c2ibpn.c
index 62f34a2..e7197b9 100644
--- a/src/c2ibpn.c
+++ b/src/c2ibpn.c
@@ -71,7 +71,7 @@ void eraC2ibpn(double date1, double date2, double rbpn[3][3],
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -90,7 +90,7 @@ void eraC2ibpn(double date1, double date2, double rbpn[3][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2ixy.c b/src/c2ixy.c
index a488f20..eb0b8ae 100644
--- a/src/c2ixy.c
+++ b/src/c2ixy.c
@@ -65,7 +65,7 @@ void eraC2ixy(double date1, double date2, double x, double y,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
@@ -79,7 +79,7 @@ void eraC2ixy(double date1, double date2, double x, double y,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2ixys.c b/src/c2ixys.c
index 1c92687..c8ed05e 100644
--- a/src/c2ixys.c
+++ b/src/c2ixys.c
@@ -47,7 +47,7 @@ void eraC2ixys(double x, double y, double s, double rc2i[3][3])
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -71,7 +71,7 @@ void eraC2ixys(double x, double y, double s, double rc2i[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2s.c b/src/c2s.c
index 6f31a2b..8242527 100644
--- a/src/c2s.c
+++ b/src/c2s.c
@@ -23,7 +23,7 @@ void eraC2s(double p[3], double *theta, double *phi)
**
** 3) At either pole, zero theta is returned.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -44,7 +44,7 @@ void eraC2s(double p[3], double *theta, double *phi)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2t00a.c b/src/c2t00a.c
index 94439fa..385cf4e 100644
--- a/src/c2t00a.c
+++ b/src/c2t00a.c
@@ -74,7 +74,7 @@ void eraC2t00a(double tta, double ttb, double uta, double utb,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -102,7 +102,7 @@ void eraC2t00a(double tta, double ttb, double uta, double utb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2t00b.c b/src/c2t00b.c
index fe19504..e46f516 100644
--- a/src/c2t00b.c
+++ b/src/c2t00b.c
@@ -73,7 +73,7 @@ void eraC2t00b(double tta, double ttb, double uta, double utb,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -98,7 +98,7 @@ void eraC2t00b(double tta, double ttb, double uta, double utb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2t06a.c b/src/c2t06a.c
index 3b8b2ff..7382096 100644
--- a/src/c2t06a.c
+++ b/src/c2t06a.c
@@ -72,7 +72,7 @@ void eraC2t06a(double tta, double ttb, double uta, double utb,
** McCarthy, D. D., Petit, G. (eds.), 2004, IERS Conventions (2003),
** IERS Technical Note No. 32, BKG
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -100,7 +100,7 @@ void eraC2t06a(double tta, double ttb, double uta, double utb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2tcio.c b/src/c2tcio.c
index 2bdd004..8294148 100644
--- a/src/c2tcio.c
+++ b/src/c2tcio.c
@@ -52,7 +52,7 @@ void eraC2tcio(double rc2i[3][3], double era, double rpom[3][3],
** McCarthy, D. D., Petit, G. (eds.), 2004, IERS Conventions (2003),
** IERS Technical Note No. 32, BKG
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -70,7 +70,7 @@ void eraC2tcio(double rc2i[3][3], double era, double rpom[3][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2teqx.c b/src/c2teqx.c
index c86e76c..63d9000 100644
--- a/src/c2teqx.c
+++ b/src/c2teqx.c
@@ -52,7 +52,7 @@ void eraC2teqx(double rbpn[3][3], double gst, double rpom[3][3],
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -70,7 +70,7 @@ void eraC2teqx(double rbpn[3][3], double gst, double rpom[3][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2tpe.c b/src/c2tpe.c
index c6e4bda..16e2475 100644
--- a/src/c2tpe.c
+++ b/src/c2tpe.c
@@ -83,7 +83,7 @@ void eraC2tpe(double tta, double ttb, double uta, double utb,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -115,7 +115,7 @@ void eraC2tpe(double tta, double ttb, double uta, double utb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/c2txy.c b/src/c2txy.c
index 198c7a8..ee73f62 100644
--- a/src/c2txy.c
+++ b/src/c2txy.c
@@ -79,7 +79,7 @@ void eraC2txy(double tta, double ttb, double uta, double utb,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -107,7 +107,7 @@ void eraC2txy(double tta, double ttb, double uta, double utb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/cal2jd.c b/src/cal2jd.c
index 5d4d689..7454739 100644
--- a/src/cal2jd.c
+++ b/src/cal2jd.c
@@ -43,7 +43,7 @@ int eraCal2jd(int iy, int im, int id, double *djm0, double *djm)
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 12.92 (p604).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -87,7 +87,7 @@ int eraCal2jd(int iy, int im, int id, double *djm0, double *djm)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/cp.c b/src/cp.c
index cf3ab90..7c12453 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -14,7 +14,7 @@ void eraCp(double p[3], double c[3])
** Returned:
** c double[3] copy
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -28,7 +28,7 @@ void eraCp(double p[3], double c[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/cpv.c b/src/cpv.c
index 05204f5..8615261 100644
--- a/src/cpv.c
+++ b/src/cpv.c
@@ -17,7 +17,7 @@ void eraCpv(double pv[2][3], double c[2][3])
** Called:
** eraCp copy p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -30,7 +30,7 @@ void eraCpv(double pv[2][3], double c[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/cr.c b/src/cr.c
index 721781d..e39e5ee 100644
--- a/src/cr.c
+++ b/src/cr.c
@@ -17,7 +17,7 @@ void eraCr(double r[3][3], double c[3][3])
** Called:
** eraCp copy p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -31,7 +31,7 @@ void eraCr(double r[3][3], double c[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/d2dtf.c b/src/d2dtf.c
index 4476970..4060849 100644
--- a/src/d2dtf.c
+++ b/src/d2dtf.c
@@ -71,7 +71,7 @@ int eraD2dtf(const char *scale, int ndp, double d1, double d2,
** eraD2tf decompose days to hms
** eraDat delta(AT) = TAI-UTC
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -184,7 +184,7 @@ int eraD2dtf(const char *scale, int ndp, double d1, double d2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/d2tf.c b/src/d2tf.c
index 3608f7f..f9c2af1 100644
--- a/src/d2tf.c
+++ b/src/d2tf.c
@@ -48,7 +48,7 @@ void eraD2tf(int ndp, double days, char *sign, int ihmsf[4])
** case where days is very nearly 1.0 and rounds up to 24 hours,
** by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -108,7 +108,7 @@ void eraD2tf(int ndp, double days, char *sign, int ihmsf[4])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/dat.c b/src/dat.c
index c3b1836..a39c4b2 100644
--- a/src/dat.c
+++ b/src/dat.c
@@ -77,9 +77,9 @@ int eraDat(int iy, int im, int id, double fd, double *deltat )
** so early that JD could not be computed.
**
** 2) If the specified date is for a day which ends with a leap second,
-** the UTC-TAI value returned is for the period leading up to the
+** the TAI-UTC value returned is for the period leading up to the
** leap second. If the date is for a day which begins as a leap
-** second ends, the UTC-TAI returned is for the period following the
+** second ends, the TAI-UTC returned is for the period following the
** leap second.
**
** 3) The day number must be in the normal calendar range, for example
@@ -115,7 +115,7 @@ int eraDat(int iy, int im, int id, double fd, double *deltat )
** Called:
** eraCal2jd Gregorian calendar to JD
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -245,7 +245,7 @@ int eraDat(int iy, int im, int id, double fd, double *deltat )
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/dtdb.c b/src/dtdb.c
index 1ac4f43..ead08a6 100644
--- a/src/dtdb.c
+++ b/src/dtdb.c
@@ -157,7 +157,7 @@ double eraDtdb(double date1, double date2,
** Simon, J.L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G. & Laskar, J., Astron.Astrophys., 282, 663-683 (1994).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -1161,7 +1161,7 @@ double eraDtdb(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/dtf2d.c b/src/dtf2d.c
index 70d6b25..6d5a8da 100644
--- a/src/dtf2d.c
+++ b/src/dtf2d.c
@@ -75,7 +75,7 @@ int eraDtf2d(const char *scale, int iy, int im, int id,
** eraDat delta(AT) = TAI-UTC
** eraJd2cal JD to Gregorian calendar
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -151,7 +151,7 @@ int eraDtf2d(const char *scale, int iy, int im, int id,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eceq06.c b/src/eceq06.c
index e1ba72d..d5f79a5 100644
--- a/src/eceq06.c
+++ b/src/eceq06.c
@@ -53,7 +53,7 @@ void eraEceq06(double date1, double date2, double dl, double db,
** eraAnp normalize angle into range 0 to 2pi
** eraAnpm normalize angle into range +/- pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -80,7 +80,7 @@ void eraEceq06(double date1, double date2, double dl, double db,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ecm06.c b/src/ecm06.c
index ce19ba2..7e0d827 100644
--- a/src/ecm06.c
+++ b/src/ecm06.c
@@ -59,7 +59,7 @@ void eraEcm06(double date1, double date2, double rm[3][3])
** eraRx rotate around X-axis
** eraRxr product of two r-matrices
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -83,7 +83,7 @@ void eraEcm06(double date1, double date2, double rm[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ee00.c b/src/ee00.c
index de1b6b9..51539f8 100644
--- a/src/ee00.c
+++ b/src/ee00.c
@@ -60,7 +60,7 @@ double eraEe00(double date1, double date2, double epsa, double dpsi)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -76,7 +76,7 @@ double eraEe00(double date1, double date2, double epsa, double dpsi)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ee00a.c b/src/ee00a.c
index 90eade7..198c984 100644
--- a/src/ee00a.c
+++ b/src/ee00a.c
@@ -58,7 +58,7 @@ double eraEe00a(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -83,7 +83,7 @@ double eraEe00a(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ee00b.c b/src/ee00b.c
index 2bed962..424da00 100644
--- a/src/ee00b.c
+++ b/src/ee00b.c
@@ -64,7 +64,7 @@ double eraEe00b(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -89,7 +89,7 @@ double eraEe00b(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ee06a.c b/src/ee06a.c
index c64a65f..63d8de9 100644
--- a/src/ee06a.c
+++ b/src/ee06a.c
@@ -50,7 +50,7 @@ double eraEe06a(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), 2004, IERS Conventions (2003),
** IERS Technical Note No. 32, BKG
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -70,7 +70,7 @@ double eraEe06a(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eect00.c b/src/eect00.c
index b8e4bf3..709ba53 100644
--- a/src/eect00.c
+++ b/src/eect00.c
@@ -91,7 +91,7 @@ double eraEect00(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -230,7 +230,7 @@ double eraEect00(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eform.c b/src/eform.c
index 0982ab4..dffdd7f 100644
--- a/src/eform.c
+++ b/src/eform.c
@@ -55,7 +55,7 @@ int eraEform ( int n, double *a, double *f )
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** p220.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -94,7 +94,7 @@ int eraEform ( int n, double *a, double *f )
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eo06a.c b/src/eo06a.c
index 6fd27c9..47c2b4a 100644
--- a/src/eo06a.c
+++ b/src/eo06a.c
@@ -54,7 +54,7 @@ double eraEo06a(double date1, double date2)
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -79,7 +79,7 @@ double eraEo06a(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eors.c b/src/eors.c
index c1b5557..ec05a09 100644
--- a/src/eors.c
+++ b/src/eors.c
@@ -33,7 +33,7 @@ double eraEors(double rnpb[3][3], double s)
**
** Wallace, P. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -56,7 +56,7 @@ double eraEors(double rnpb[3][3], double s)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/epb.c b/src/epb.c
index 3d06508..8f2575f 100644
--- a/src/epb.c
+++ b/src/epb.c
@@ -26,7 +26,7 @@ double eraEpb(double dj1, double dj2)
**
** Lieske, J.H., 1979. Astron.Astrophys., 73, 282.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -39,7 +39,7 @@ double eraEpb(double dj1, double dj2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/epb2jd.c b/src/epb2jd.c
index 4dca8c9..13b9476 100644
--- a/src/epb2jd.c
+++ b/src/epb2jd.c
@@ -26,7 +26,7 @@ void eraEpb2jd(double epb, double *djm0, double *djm)
**
** Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -39,7 +39,7 @@ void eraEpb2jd(double epb, double *djm0, double *djm)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/epj.c b/src/epj.c
index 059853d..5247ea2 100644
--- a/src/epj.c
+++ b/src/epj.c
@@ -26,7 +26,7 @@ double eraEpj(double dj1, double dj2)
**
** Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ double eraEpj(double dj1, double dj2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/epj2jd.c b/src/epj2jd.c
index 751eb15..752ae99 100644
--- a/src/epj2jd.c
+++ b/src/epj2jd.c
@@ -26,7 +26,7 @@ void eraEpj2jd(double epj, double *djm0, double *djm)
**
** Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -39,7 +39,7 @@ void eraEpj2jd(double epj, double *djm0, double *djm)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/epv00.c b/src/epv00.c
index 4f37b9c..9d91fe0 100644
--- a/src/epv00.c
+++ b/src/epv00.c
@@ -50,19 +50,19 @@ int eraEpv00(double date1, double date2,
** 2) On return, the arrays pvh and pvb contain the following:
**
** pvh[0][0] x }
-** pvh[0][1] y } heliocentric position, AU
+** pvh[0][1] y } heliocentric position, au
** pvh[0][2] z }
**
** pvh[1][0] xdot }
-** pvh[1][1] ydot } heliocentric velocity, AU/d
+** pvh[1][1] ydot } heliocentric velocity, au/d
** pvh[1][2] zdot }
**
** pvb[0][0] x }
-** pvb[0][1] y } barycentric position, AU
+** pvb[0][1] y } barycentric position, au
** pvb[0][2] z }
**
** pvb[1][0] xdot }
-** pvb[1][1] ydot } barycentric velocity, AU/d
+** pvb[1][1] ydot } barycentric velocity, au/d
** pvb[1][2] zdot }
**
** The vectors are with respect to the Barycentric Celestial
@@ -94,7 +94,7 @@ int eraEpv00(double date1, double date2,
** 5) It is permissible to use the same array for pvh and pvb, which
** will receive the barycentric values.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -2537,7 +2537,7 @@ int eraEpv00(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eqec06.c b/src/eqec06.c
index 6a667c9..70d0ed6 100644
--- a/src/eqec06.c
+++ b/src/eqec06.c
@@ -54,7 +54,7 @@ void eraEqec06(double date1, double date2, double dr, double dd,
** eraAnp normalize angle into range 0 to 2pi
** eraAnpm normalize angle into range +/- pi
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,7 +81,7 @@ void eraEqec06(double date1, double date2, double dr, double dd,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/eqeq94.c b/src/eqeq94.c
index 00076b1..8d67738 100644
--- a/src/eqeq94.c
+++ b/src/eqeq94.c
@@ -51,7 +51,7 @@ double eraEqeq94(double date1, double date2)
** Capitaine, N. & Gontier, A.-M., 1993, Astron. Astrophys., 275,
** 645-650.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -80,7 +80,7 @@ double eraEqeq94(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/era00.c b/src/era00.c
index 01e06f5..b3badc5 100644
--- a/src/era00.c
+++ b/src/era00.c
@@ -54,7 +54,7 @@ double eraEra00(double dj1, double dj2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -84,7 +84,7 @@ double eraEra00(double dj1, double dj2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/erfa.h b/src/erfa.h
index c22f470..9cdf57e 100644
--- a/src/erfa.h
+++ b/src/erfa.h
@@ -8,7 +8,7 @@
**
** Prototype function declarations for ERFA library.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
@@ -450,13 +450,16 @@ void eraSxpv(double s, double pv[2][3], double spv[2][3]);
}
#endif
+
+#include "erfaextra.h"
+
#endif
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/erfaextra.h b/src/erfaextra.h
new file mode 100644
index 0000000..cf70ff4
--- /dev/null
+++ b/src/erfaextra.h
@@ -0,0 +1,59 @@
+/*
+** Copyright (C) 2016-2017, NumFOCUS Foundation.
+**
+** Licensed under a 3-clause BSD style license - see LICENSE
+**
+** This file is NOT derived from SOFA sources
+*/
+
+
+#ifndef _ERFA_EXTRA_H
+#define _ERFA_EXTRA_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*
+** Returns the package version
+** as defined in configure.ac
+** in string format
+*/
+const char* eraVersion();
+
+/*
+** Returns the package major version
+** as defined in configure.ac
+** as integer
+*/
+int eraVersionMajor();
+
+/*
+** Returns the package minor version
+** as defined in configure.ac
+** as integer
+*/
+int eraVersionMinor();
+
+/*
+** Returns the package micro version
+** as defined in configure.ac
+** as integer
+*/
+int eraVersionMicro();
+
+/*
+** Returns the orresponding SOFA version
+** as defined in configure.ac
+** in string format
+*/
+const char* eraSofaVersion();
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ERFA_EXTRA_H */
+
diff --git a/src/erfam.h b/src/erfam.h
index 750c4c2..bad4ba2 100644
--- a/src/erfam.h
+++ b/src/erfam.h
@@ -8,7 +8,7 @@
**
** Macros used by ERFA library.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
@@ -98,17 +98,17 @@ typedef struct {
/* TT minus TAI (s) */
#define ERFA_TTMTAI (32.184)
-/* Astronomical unit (m) */
-#define ERFA_DAU (149597870e3)
+/* Astronomical unit (m, IAU 2012) */
+#define ERFA_DAU (149597870.7e3)
/* Speed of light (m/s) */
#define ERFA_CMPS 299792458.0
/* Light time for 1 au (s) */
-#define ERFA_AULT 499.004782
+#define ERFA_AULT (ERFA_DAU/ERFA_CMPS)
-/* Speed of light (AU per day) */
-#define ERFA_DC (ERFA_DAYSEC / ERFA_AULT)
+/* Speed of light (au per day) */
+#define ERFA_DC (ERFA_DAYSEC/ERFA_AULT)
/* L_G = 1 - d(TT)/d(TCG) */
#define ERFA_ELG (6.969290134e-10)
@@ -147,7 +147,7 @@ typedef struct {
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/erfaversion.c b/src/erfaversion.c
new file mode 100644
index 0000000..0b91c5c
--- /dev/null
+++ b/src/erfaversion.c
@@ -0,0 +1,38 @@
+/*
+** Copyright (C) 2016-2017, NumFOCUS Foundation.
+**
+** Licensed under a 3-clause BSD style license - see LICENSE
+**
+** This file is NOT derived from SOFA sources
+*/
+
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif /* HAVE_CONFIG_H */
+
+
+const char* eraVersion() {
+ return PACKAGE_VERSION;
+}
+
+
+int eraVersionMajor() {
+ return PACKAGE_VERSION_MAJOR;
+}
+
+
+int eraVersionMinor() {
+ return PACKAGE_VERSION_MINOR;
+}
+
+
+int eraVersionMicro() {
+ return PACKAGE_VERSION_MICRO;
+}
+
+
+const char* eraSofaVersion() {
+ return SOFA_VERSION;
+}
+
diff --git a/src/fad03.c b/src/fad03.c
index 421f937..cba1560 100644
--- a/src/fad03.c
+++ b/src/fad03.c
@@ -31,7 +31,7 @@ double eraFad03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -51,7 +51,7 @@ double eraFad03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fae03.c b/src/fae03.c
index e40b1c9..b8c87dd 100644
--- a/src/fae03.c
+++ b/src/fae03.c
@@ -34,7 +34,7 @@ double eraFae03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFae03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/faf03.c b/src/faf03.c
index aa7850a..76bd45f 100644
--- a/src/faf03.c
+++ b/src/faf03.c
@@ -32,7 +32,7 @@ double eraFaf03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -54,7 +54,7 @@ double eraFaf03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/faju03.c b/src/faju03.c
index 9b9298f..786d974 100644
--- a/src/faju03.c
+++ b/src/faju03.c
@@ -34,7 +34,7 @@ double eraFaju03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFaju03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fal03.c b/src/fal03.c
index 1d80d20..61c7620 100644
--- a/src/fal03.c
+++ b/src/fal03.c
@@ -31,7 +31,7 @@ double eraFal03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -51,7 +51,7 @@ double eraFal03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/falp03.c b/src/falp03.c
index 4080809..bfd40bd 100644
--- a/src/falp03.c
+++ b/src/falp03.c
@@ -31,7 +31,7 @@ double eraFalp03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -51,7 +51,7 @@ double eraFalp03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fama03.c b/src/fama03.c
index 21bff75..03bb7e5 100644
--- a/src/fama03.c
+++ b/src/fama03.c
@@ -34,7 +34,7 @@ double eraFama03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFama03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fame03.c b/src/fame03.c
index c28ab0b..8b69182 100644
--- a/src/fame03.c
+++ b/src/fame03.c
@@ -34,7 +34,7 @@ double eraFame03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFame03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fane03.c b/src/fane03.c
index 682e7bf..33a5f91 100644
--- a/src/fane03.c
+++ b/src/fane03.c
@@ -31,7 +31,7 @@ double eraFane03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -47,7 +47,7 @@ double eraFane03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/faom03.c b/src/faom03.c
index ff6b3e9..845bed1 100644
--- a/src/faom03.c
+++ b/src/faom03.c
@@ -31,7 +31,7 @@ double eraFaom03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -52,7 +52,7 @@ double eraFaom03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fapa03.c b/src/fapa03.c
index aae2af4..3d4376c 100644
--- a/src/fapa03.c
+++ b/src/fapa03.c
@@ -35,7 +35,7 @@ double eraFapa03(double t)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -51,7 +51,7 @@ double eraFapa03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fasa03.c b/src/fasa03.c
index d5e8cbe..7675611 100644
--- a/src/fasa03.c
+++ b/src/fasa03.c
@@ -34,7 +34,7 @@ double eraFasa03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFasa03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/faur03.c b/src/faur03.c
index cce0f83..1ad27c0 100644
--- a/src/faur03.c
+++ b/src/faur03.c
@@ -31,7 +31,7 @@ double eraFaur03(double t)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -47,7 +47,7 @@ double eraFaur03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fave03.c b/src/fave03.c
index b91678c..591e429 100644
--- a/src/fave03.c
+++ b/src/fave03.c
@@ -34,7 +34,7 @@ double eraFave03(double t)
** Souchay, J., Loysel, B., Kinoshita, H., Folgueira, M. 1999,
** Astron.Astrophys.Supp.Ser. 135, 111
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ double eraFave03(double t)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fk52h.c b/src/fk52h.c
index e169cbe..d922171 100644
--- a/src/fk52h.c
+++ b/src/fk52h.c
@@ -53,7 +53,7 @@ void eraFk52h(double r5, double d5,
**
** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -91,7 +91,7 @@ void eraFk52h(double r5, double d5,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fk5hip.c b/src/fk5hip.c
index 5a05d4d..237a00d 100644
--- a/src/fk5hip.c
+++ b/src/fk5hip.c
@@ -36,7 +36,7 @@ void eraFk5hip(double r5h[3][3], double s5h[3])
**
** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -74,7 +74,7 @@ void eraFk5hip(double r5h[3][3], double s5h[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fk5hz.c b/src/fk5hz.c
index 4134f7c..10ed953 100644
--- a/src/fk5hz.c
+++ b/src/fk5hz.c
@@ -69,7 +69,7 @@ void eraFk5hz(double r5, double d5, double date1, double date2,
**
** F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -108,7 +108,7 @@ void eraFk5hz(double r5, double d5, double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fw2m.c b/src/fw2m.c
index d1b73d2..db6f8d5 100644
--- a/src/fw2m.c
+++ b/src/fw2m.c
@@ -65,7 +65,7 @@ void eraFw2m(double gamb, double phib, double psi, double eps,
**
** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -82,7 +82,7 @@ void eraFw2m(double gamb, double phib, double psi, double eps,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/fw2xy.c b/src/fw2xy.c
index b4e0693..d23cf1f 100644
--- a/src/fw2xy.c
+++ b/src/fw2xy.c
@@ -50,7 +50,7 @@ void eraFw2xy(double gamb, double phib, double psi, double eps,
**
** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ void eraFw2xy(double gamb, double phib, double psi, double eps,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/g2icrs.c b/src/g2icrs.c
index 4612726..c7500e3 100644
--- a/src/g2icrs.c
+++ b/src/g2icrs.c
@@ -61,7 +61,7 @@ void eraG2icrs ( double dl, double db, double *dr, double *dd )
** derived from the ESA Hipparcos Space Astrometry Mission. ESA
** Publications Division, Noordwijk, Netherlands.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -109,7 +109,7 @@ void eraG2icrs ( double dl, double db, double *dr, double *dd )
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gc2gd.c b/src/gc2gd.c
index 385e7d5..7e792d2 100644
--- a/src/gc2gd.c
+++ b/src/gc2gd.c
@@ -51,7 +51,7 @@ int eraGc2gd ( int n, double xyz[3],
** eraEform Earth reference ellipsoids
** eraGc2gde geocentric to geodetic transformation, general
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -82,7 +82,7 @@ int eraGc2gd ( int n, double xyz[3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gc2gde.c b/src/gc2gde.c
index 43ed61d..2f6686b 100644
--- a/src/gc2gde.c
+++ b/src/gc2gde.c
@@ -56,7 +56,7 @@ int eraGc2gde ( double a, double f, double xyz[3],
** coordinates accelerated by Halley's method", J.Geodesy (2006)
** 79: 689-693
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -147,7 +147,7 @@ int eraGc2gde ( double a, double f, double xyz[3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gd2gc.c b/src/gd2gc.c
index 383c928..1000fa4 100644
--- a/src/gd2gc.c
+++ b/src/gd2gc.c
@@ -54,7 +54,7 @@ int eraGd2gc ( int n, double elong, double phi, double height,
** eraGd2gce geodetic to geocentric transformation, general
** eraZp zero p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,7 +81,7 @@ int eraGd2gc ( int n, double elong, double phi, double height,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gd2gce.c b/src/gd2gce.c
index 52b9f0e..2d6b906 100644
--- a/src/gd2gce.c
+++ b/src/gd2gce.c
@@ -55,7 +55,7 @@ int eraGd2gce ( double a, double f, double elong, double phi,
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 4.22, p202.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -85,7 +85,7 @@ int eraGd2gce ( double a, double f, double elong, double phi,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gmst00.c b/src/gmst00.c
index 6b598bb..3522aa7 100644
--- a/src/gmst00.c
+++ b/src/gmst00.c
@@ -68,7 +68,7 @@ double eraGmst00(double uta, double utb, double tta, double ttb)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -93,7 +93,7 @@ double eraGmst00(double uta, double utb, double tta, double ttb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gmst06.c b/src/gmst06.c
index 2fcb1a5..de1d735 100644
--- a/src/gmst06.c
+++ b/src/gmst06.c
@@ -58,7 +58,7 @@ double eraGmst06(double uta, double utb, double tta, double ttb)
** Capitaine, N., Wallace, P.T. & Chapront, J., 2005,
** Astron.Astrophys. 432, 355
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -84,7 +84,7 @@ double eraGmst06(double uta, double utb, double tta, double ttb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gmst82.c b/src/gmst82.c
index 9484b66..021d315 100644
--- a/src/gmst82.c
+++ b/src/gmst82.c
@@ -60,7 +60,7 @@ double eraGmst82(double dj1, double dj2)
**
** Aoki et al., Astron. Astrophys. 105, 359-361 (1982).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -99,7 +99,7 @@ double eraGmst82(double dj1, double dj2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gst00a.c b/src/gst00a.c
index e185576..98f5c02 100644
--- a/src/gst00a.c
+++ b/src/gst00a.c
@@ -69,7 +69,7 @@ double eraGst00a(double uta, double utb, double tta, double ttb)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -86,7 +86,7 @@ double eraGst00a(double uta, double utb, double tta, double ttb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gst00b.c b/src/gst00b.c
index cfb5293..a320013 100644
--- a/src/gst00b.c
+++ b/src/gst00b.c
@@ -77,7 +77,7 @@ double eraGst00b(double uta, double utb)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -94,7 +94,7 @@ double eraGst00b(double uta, double utb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gst06.c b/src/gst06.c
index c4c85df..164d6bc 100644
--- a/src/gst06.c
+++ b/src/gst06.c
@@ -64,7 +64,7 @@ double eraGst06(double uta, double utb, double tta, double ttb,
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -88,7 +88,7 @@ double eraGst06(double uta, double utb, double tta, double ttb,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gst06a.c b/src/gst06a.c
index e80fd83..01af492 100644
--- a/src/gst06a.c
+++ b/src/gst06a.c
@@ -60,7 +60,7 @@ double eraGst06a(double uta, double utb, double tta, double ttb)
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -79,7 +79,7 @@ double eraGst06a(double uta, double utb, double tta, double ttb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/gst94.c b/src/gst94.c
index 112cf61..8e6c63a 100644
--- a/src/gst94.c
+++ b/src/gst94.c
@@ -62,7 +62,7 @@ double eraGst94(double uta, double utb)
**
** IAU Resolution C7, Recommendation 3 (1994)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -79,7 +79,7 @@ double eraGst94(double uta, double utb)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/h2fk5.c b/src/h2fk5.c
index ad7e9a6..e2690b6 100644
--- a/src/h2fk5.c
+++ b/src/h2fk5.c
@@ -55,7 +55,7 @@ void eraH2fk5(double rh, double dh,
**
** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -96,7 +96,7 @@ void eraH2fk5(double rh, double dh,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/hfk5z.c b/src/hfk5z.c
index 8824e96..70c9762 100644
--- a/src/hfk5z.c
+++ b/src/hfk5z.c
@@ -74,7 +74,7 @@ void eraHfk5z(double rh, double dh, double date1, double date2,
**
** F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -123,7 +123,7 @@ void eraHfk5z(double rh, double dh, double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/icrs2g.c b/src/icrs2g.c
index cf59118..b4027af 100644
--- a/src/icrs2g.c
+++ b/src/icrs2g.c
@@ -61,7 +61,7 @@ void eraIcrs2g ( double dr, double dd, double *dl, double *db )
** derived from the ESA Hipparcos Space Astrometry Mission. ESA
** Publications Division, Noordwijk, Netherlands.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -109,7 +109,7 @@ void eraIcrs2g ( double dr, double dd, double *dl, double *db )
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ir.c b/src/ir.c
index 8c7cd1e..57c715d 100644
--- a/src/ir.c
+++ b/src/ir.c
@@ -11,7 +11,7 @@ void eraIr(double r[3][3])
** Returned:
** r double[3][3] r-matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -31,7 +31,7 @@ void eraIr(double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/jd2cal.c b/src/jd2cal.c
index abe2b8f..d264d40 100644
--- a/src/jd2cal.c
+++ b/src/jd2cal.c
@@ -21,7 +21,7 @@ int eraJd2cal(double dj1, double dj2,
** Returned (function value):
** int status:
** 0 = OK
-** -1 = unacceptable date (Note 3)
+** -1 = unacceptable date (Note 1)
**
** Notes:
**
@@ -50,7 +50,7 @@ int eraJd2cal(double dj1, double dj2,
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 12.92 (p604).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,8 +81,8 @@ int eraJd2cal(double dj1, double dj2,
f2 = fmod(d2, 1.0);
f = fmod(f1 + f2, 1.0);
if (f < 0.0) f += 1.0;
- d = floor(d1 - f1) + floor(d2 - f2) + floor(f1 + f2 - f);
- jd = (long) floor(d) + 1L;
+ d = ERFA_DNINT(d1-f1) + ERFA_DNINT(d2-f2) + ERFA_DNINT(f1+f2-f);
+ jd = (long) ERFA_DNINT(d) + 1L;
/* Express day in Gregorian calendar. */
l = jd + 68569L;
@@ -103,7 +103,7 @@ int eraJd2cal(double dj1, double dj2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/jdcalf.c b/src/jdcalf.c
index 85efb68..15aa086 100644
--- a/src/jdcalf.c
+++ b/src/jdcalf.c
@@ -55,7 +55,7 @@ int eraJdcalf(int ndp, double dj1, double dj2, int iymdf[4])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 12.92 (p604).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -85,11 +85,11 @@ int eraJdcalf(int ndp, double dj1, double dj2, int iymdf[4])
/* Separate days and fractions. */
f1 = fmod(d1, 1.0);
f2 = fmod(d2, 1.0);
- d1 = floor(d1 - f1);
- d2 = floor(d2 - f2);
+ d1 = ERFA_DNINT(d1-f1);
+ d2 = ERFA_DNINT(d2-f2);
/* Round the total fraction to the specified number of places. */
- f = floor((f1+f2)*denom + 0.5) / denom;
+ f = ERFA_DNINT((f1+f2)*denom) / denom;
/* Re-assemble the rounded date and re-align to noon. */
d2 += f + 0.5;
@@ -109,7 +109,7 @@ int eraJdcalf(int ndp, double dj1, double dj2, int iymdf[4])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ld.c b/src/ld.c
index c1569fd..c96d930 100644
--- a/src/ld.c
+++ b/src/ld.c
@@ -68,7 +68,7 @@ void eraLd(double bm, double p[3], double q[3], double e[3],
** eraPdp scalar product of two p-vectors
** eraPxp vector product of two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -100,7 +100,7 @@ void eraLd(double bm, double p[3], double q[3], double e[3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ldn.c b/src/ldn.c
index 5ad0a50..da1d909 100644
--- a/src/ldn.c
+++ b/src/ldn.c
@@ -78,11 +78,11 @@ void eraLdn(int n, eraLDBODY b[], double ob[3], double sc[3],
** eraPn decompose p-vector into modulus and direction
** eraLd light deflection by a solar-system body
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
-/* Light time for 1 AU (days) */
+/* Light time for 1 au (days) */
const double CR = ERFA_AULT/ERFA_DAYSEC;
int i;
@@ -122,7 +122,7 @@ void eraLdn(int n, eraLDBODY b[], double ob[3], double sc[3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ldsun.c b/src/ldsun.c
index 62ed117..1e41a8e 100644
--- a/src/ldsun.c
+++ b/src/ldsun.c
@@ -33,7 +33,7 @@ void eraLdsun(double p[3], double e[3], double em, double p1[3])
** Called:
** eraLd light deflection by a solar-system body
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -54,7 +54,7 @@ void eraLdsun(double p[3], double e[3], double em, double p1[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/lteceq.c b/src/lteceq.c
index 9ba725d..5362270 100644
--- a/src/lteceq.c
+++ b/src/lteceq.c
@@ -50,7 +50,7 @@ void eraLteceq(double epj, double dl, double db, double *dr, double *dd)
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -77,7 +77,7 @@ void eraLteceq(double epj, double dl, double db, double *dr, double *dd)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ltecm.c b/src/ltecm.c
index c0bf28b..664c879 100644
--- a/src/ltecm.c
+++ b/src/ltecm.c
@@ -56,7 +56,7 @@ void eraLtecm(double epj, double rm[3][3])
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -96,7 +96,7 @@ void eraLtecm(double epj, double rm[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/lteqec.c b/src/lteqec.c
index a93ec0f..c331e76 100644
--- a/src/lteqec.c
+++ b/src/lteqec.c
@@ -51,7 +51,7 @@ void eraLteqec(double epj, double dr, double dd, double *dl, double *db)
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -78,7 +78,7 @@ void eraLteqec(double epj, double dr, double dd, double *dl, double *db)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ltp.c b/src/ltp.c
index 2b8249c..a2a32b6 100644
--- a/src/ltp.c
+++ b/src/ltp.c
@@ -47,7 +47,7 @@ void eraLtp(double epj, double rp[3][3])
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -79,7 +79,7 @@ void eraLtp(double epj, double rp[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ltpb.c b/src/ltpb.c
index 6818f19..d86e729 100644
--- a/src/ltpb.c
+++ b/src/ltpb.c
@@ -45,7 +45,7 @@ void eraLtpb(double epj, double rpb[3][3])
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -72,7 +72,7 @@ void eraLtpb(double epj, double rpb[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ltpecl.c b/src/ltpecl.c
index feb3d55..924e23b 100644
--- a/src/ltpecl.c
+++ b/src/ltpecl.c
@@ -36,7 +36,7 @@ void eraLtpecl(double epj, double vec[3])
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -116,7 +116,7 @@ void eraLtpecl(double epj, double vec[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ltpequ.c b/src/ltpequ.c
index 354ce32..0f16844 100644
--- a/src/ltpequ.c
+++ b/src/ltpequ.c
@@ -36,7 +36,7 @@ void eraLtpequ(double epj, double veq[3])
** expressions, valid for long time intervals (Corrigendum),
** Astron.Astrophys. 541, C1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -116,7 +116,7 @@ void eraLtpequ(double epj, double veq[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/num00a.c b/src/num00a.c
index 24964e3..e611a0c 100644
--- a/src/num00a.c
+++ b/src/num00a.c
@@ -52,7 +52,7 @@ void eraNum00a(double date1, double date2, double rmatn[3][3])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.222-3 (p114).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ void eraNum00a(double date1, double date2, double rmatn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/num00b.c b/src/num00b.c
index f006257..d526047 100644
--- a/src/num00b.c
+++ b/src/num00b.c
@@ -52,7 +52,7 @@ void eraNum00b(double date1, double date2, double rmatn[3][3])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.222-3 (p114).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ void eraNum00b(double date1, double date2, double rmatn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/num06a.c b/src/num06a.c
index a27d23a..56faa36 100644
--- a/src/num06a.c
+++ b/src/num06a.c
@@ -51,7 +51,7 @@ void eraNum06a(double date1, double date2, double rmatn[3][3])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.222-3 (p114).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -73,7 +73,7 @@ void eraNum06a(double date1, double date2, double rmatn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/numat.c b/src/numat.c
index 43a3b00..83082ce 100644
--- a/src/numat.c
+++ b/src/numat.c
@@ -41,7 +41,7 @@ void eraNumat(double epsa, double dpsi, double deps, double rmatn[3][3])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.222-3 (p114).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -57,7 +57,7 @@ void eraNumat(double epsa, double dpsi, double deps, double rmatn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/nut00a.c b/src/nut00a.c
index 4c4e89a..694b2f9 100644
--- a/src/nut00a.c
+++ b/src/nut00a.c
@@ -148,7 +148,7 @@ void eraNut00a(double date1, double date2, double *dpsi, double *deps)
** Wallace, P.T., "Software for Implementing the IAU 2000
** Resolutions", in IERS Workshop 5.1 (2002)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -1995,7 +1995,7 @@ void eraNut00a(double date1, double date2, double *dpsi, double *deps)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/nut00b.c b/src/nut00b.c
index 775613f..5da5158 100644
--- a/src/nut00b.c
+++ b/src/nut00b.c
@@ -116,7 +116,7 @@ void eraNut00b(double date1, double date2, double *dpsi, double *deps)
** Simon, J.-L., Bretagnon, P., Chapront, J., Chapront-Touze, M.,
** Francou, G., Laskar, J., Astron.Astrophys. 282, 663-683 (1994)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -320,7 +320,7 @@ void eraNut00b(double date1, double date2, double *dpsi, double *deps)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/nut06a.c b/src/nut06a.c
index c4d945e..2b94f83 100644
--- a/src/nut06a.c
+++ b/src/nut06a.c
@@ -75,7 +75,7 @@ void eraNut06a(double date1, double date2, double *dpsi, double *deps)
** Wallace, P.T., "Software for Implementing the IAU 2000
** Resolutions", in IERS Workshop 5.1 (2002)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -101,7 +101,7 @@ void eraNut06a(double date1, double date2, double *dpsi, double *deps)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/nut80.c b/src/nut80.c
index 5ffb23c..633a6d1 100644
--- a/src/nut80.c
+++ b/src/nut80.c
@@ -48,7 +48,7 @@ void eraNut80(double date1, double date2, double *dpsi, double *deps)
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.222 (p111).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -273,7 +273,7 @@ void eraNut80(double date1, double date2, double *dpsi, double *deps)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/nutm80.c b/src/nutm80.c
index c526da2..7905cfc 100644
--- a/src/nutm80.c
+++ b/src/nutm80.c
@@ -45,7 +45,7 @@ void eraNutm80(double date1, double date2, double rmatn[3][3])
** eraObl80 mean obliquity, IAU 1980
** eraNumat form nutation matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -65,7 +65,7 @@ void eraNutm80(double date1, double date2, double rmatn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/obl06.c b/src/obl06.c
index 9b93626..7755ea7 100644
--- a/src/obl06.c
+++ b/src/obl06.c
@@ -42,7 +42,7 @@ double eraObl06(double date1, double date2)
**
** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -66,7 +66,7 @@ double eraObl06(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/obl80.c b/src/obl80.c
index 1b5e288..06d0312 100644
--- a/src/obl80.c
+++ b/src/obl80.c
@@ -44,7 +44,7 @@ double eraObl80(double date1, double date2)
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Expression 3.222-1 (p114).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -66,7 +66,7 @@ double eraObl80(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/p06e.c b/src/p06e.c
index 24f9f2b..28833c8 100644
--- a/src/p06e.c
+++ b/src/p06e.c
@@ -120,7 +120,7 @@ void eraP06e(double date1, double date2,
** Called:
** eraObl06 mean obliquity, IAU 2006
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -269,7 +269,7 @@ void eraP06e(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/p2pv.c b/src/p2pv.c
index b5d2081..e87509e 100644
--- a/src/p2pv.c
+++ b/src/p2pv.c
@@ -18,7 +18,7 @@ void eraP2pv(double p[3], double pv[2][3])
** eraCp copy p-vector
** eraZp zero p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -31,7 +31,7 @@ void eraP2pv(double p[3], double pv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/p2s.c b/src/p2s.c
index 14da5f0..148edc3 100644
--- a/src/p2s.c
+++ b/src/p2s.c
@@ -26,7 +26,7 @@ void eraP2s(double p[3], double *theta, double *phi, double *r)
** eraC2s p-vector to spherical
** eraPm modulus of p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -39,7 +39,7 @@ void eraP2s(double p[3], double *theta, double *phi, double *r)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pap.c b/src/pap.c
index afd8651..989e2d7 100644
--- a/src/pap.c
+++ b/src/pap.c
@@ -37,7 +37,7 @@ double eraPap(double a[3], double b[3])
** eraPmp p-vector minus p-vector
** eraPdp scalar product of two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -87,7 +87,7 @@ double eraPap(double a[3], double b[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pas.c b/src/pas.c
index 52b3264..d16e539 100644
--- a/src/pas.c
+++ b/src/pas.c
@@ -26,7 +26,7 @@ double eraPas(double al, double ap, double bl, double bp)
**
** 2) Zero is returned if the two points are coincident.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -44,7 +44,7 @@ double eraPas(double al, double ap, double bl, double bp)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pb06.c b/src/pb06.c
index 7b14279..13691ad 100644
--- a/src/pb06.c
+++ b/src/pb06.c
@@ -63,7 +63,7 @@ void eraPb06(double date1, double date2,
** eraPmat06 PB matrix, IAU 2006
** eraRz rotate around Z-axis
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -92,7 +92,7 @@ void eraPb06(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pdp.c b/src/pdp.c
index 72f1cc0..fb28d17 100644
--- a/src/pdp.c
+++ b/src/pdp.c
@@ -15,7 +15,7 @@ double eraPdp(double a[3], double b[3])
** Returned (function value):
** double a . b
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -32,7 +32,7 @@ double eraPdp(double a[3], double b[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pfw06.c b/src/pfw06.c
index b510f0a..d520e67 100644
--- a/src/pfw06.c
+++ b/src/pfw06.c
@@ -73,7 +73,7 @@ void eraPfw06(double date1, double date2,
** Called:
** eraObl06 mean obliquity, IAU 2006
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -113,7 +113,7 @@ void eraPfw06(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/plan94.c b/src/plan94.c
index ef878dd..22b9a1a 100644
--- a/src/plan94.c
+++ b/src/plan94.c
@@ -17,7 +17,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
** 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune)
**
** Returned (argument):
-** pv double[2][3] planet p,v (heliocentric, J2000.0, AU,AU/d)
+** pv double[2][3] planet p,v (heliocentric, J2000.0, au,au/d)
**
** Returned (function value):
** int status: -1 = illegal NP (outside 1-8)
@@ -58,11 +58,11 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
** 4) On successful return, the array pv contains the following:
**
** pv[0][0] x }
-** pv[0][1] y } heliocentric position, AU
+** pv[0][1] y } heliocentric position, au
** pv[0][2] z }
**
** pv[1][0] xdot }
-** pv[1][1] ydot } heliocentric velocity, AU/d
+** pv[1][1] ydot } heliocentric velocity, au/d
** pv[1][2] zdot }
**
** The reference frame is equatorial and is with respect to the
@@ -157,7 +157,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
** Chapront-Touze, M., Francou, G., and Laskar, J.,
** Astron. Astrophys. 282, 663 (1994).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -189,7 +189,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
/*
** Tables giving the mean Keplerian elements, limited to t^2 terms:
**
-** a semi-major axis (AU)
+** a semi-major axis (au)
** dlm mean longitude (degree and arcsecond)
** e eccentricity
** pi longitude of the perihelion (degree and arcsecond)
@@ -416,7 +416,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
at = 2.0 * atan2(sqrt((1.0 + de) / (1.0 - de)) * sin(ae2),
cos(ae2));
- /* Distance (AU) and speed (radians per day). */
+ /* Distance (au) and speed (radians per day). */
r = da * (1.0 - de * cos(ae));
v = GK * sqrt((1.0 + 1.0 / amas[np]) / (da * da * da));
@@ -433,7 +433,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
xmc = (de * cos(dp) + xcw) * xf;
xpxq2 = 2 * xp * xq;
- /* Position (J2000.0 ecliptic x,y,z in AU). */
+ /* Position (J2000.0 ecliptic x,y,z in au). */
x = r * (xcw - xm2 * xp);
y = r * (xsw + xm2 * xq);
z = r * (-xm2 * ci2);
@@ -443,7 +443,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
pv[0][1] = y * COSEPS - z * SINEPS;
pv[0][2] = y * SINEPS + z * COSEPS;
- /* Velocity (J2000.0 ecliptic xdot,ydot,zdot in AU/d). */
+ /* Velocity (J2000.0 ecliptic xdot,ydot,zdot in au/d). */
x = v * (( -1.0 + 2.0 * xp * xp) * xms + xpxq2 * xmc);
y = v * (( 1.0 - 2.0 * xq * xq) * xmc - xpxq2 * xms);
z = v * (2.0 * ci2 * (xp * xms + xq * xmc));
@@ -462,7 +462,7 @@ int eraPlan94(double date1, double date2, int np, double pv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pm.c b/src/pm.c
index 6b08fa7..da0b12c 100644
--- a/src/pm.c
+++ b/src/pm.c
@@ -14,7 +14,7 @@ double eraPm(double p[3])
** Returned (function value):
** double modulus
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -24,7 +24,7 @@ double eraPm(double p[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmat00.c b/src/pmat00.c
index e25315a..5ebd3a0 100644
--- a/src/pmat00.c
+++ b/src/pmat00.c
@@ -50,7 +50,7 @@ void eraPmat00(double date1, double date2, double rbp[3][3])
** 24th General Assembly, Manchester, UK. Resolutions B1.3, B1.6.
** (2000)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -66,7 +66,7 @@ void eraPmat00(double date1, double date2, double rbp[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmat06.c b/src/pmat06.c
index 364211a..62945e9 100644
--- a/src/pmat06.c
+++ b/src/pmat06.c
@@ -51,7 +51,7 @@ void eraPmat06(double date1, double date2, double rbp[3][3])
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -70,7 +70,7 @@ void eraPmat06(double date1, double date2, double rbp[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmat76.c b/src/pmat76.c
index c38e6c4..35d6793 100644
--- a/src/pmat76.c
+++ b/src/pmat76.c
@@ -66,7 +66,7 @@ void eraPmat76(double date1, double date2, double rmatp[3][3])
**
** Kaplan,G.H., 1981. USNO circular no. 163, pA2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -89,7 +89,7 @@ void eraPmat76(double date1, double date2, double rmatp[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmp.c b/src/pmp.c
index e11c12e..782ecae 100644
--- a/src/pmp.c
+++ b/src/pmp.c
@@ -19,7 +19,7 @@ void eraPmp(double a[3], double b[3], double amb[3])
** It is permissible to re-use the same array for any of the
** arguments.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -33,7 +33,7 @@ void eraPmp(double a[3], double b[3], double amb[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmpx.c b/src/pmpx.c
index 034e8f0..bd01312 100644
--- a/src/pmpx.c
+++ b/src/pmpx.c
@@ -46,7 +46,7 @@ void eraPmpx(double rc, double dc, double pr, double pd,
** eraPdp scalar product of two p-vectors
** eraPn decompose p-vector into modulus and direction
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -92,7 +92,7 @@ void eraPmpx(double rc, double dc, double pr, double pd,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pmsafe.c b/src/pmsafe.c
index 02e5824..3c7822e 100644
--- a/src/pmsafe.c
+++ b/src/pmsafe.c
@@ -105,7 +105,7 @@ int eraPmsafe(double ra1, double dec1, double pmr1, double pmd1,
** eraSeps angle between two points
** eraStarpm update star catalog data for space motion
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -145,7 +145,7 @@ int eraPmsafe(double ra1, double dec1, double pmr1, double pmd1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn.c b/src/pn.c
index 7bdebbb..8876b55 100644
--- a/src/pn.c
+++ b/src/pn.c
@@ -28,7 +28,7 @@ void eraPn(double p[3], double *r, double u[3])
** eraZp zero p-vector
** eraSxp multiply p-vector by scalar
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -57,7 +57,7 @@ void eraPn(double p[3], double *r, double u[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn00.c b/src/pn00.c
index f088649..d2bd051 100644
--- a/src/pn00.c
+++ b/src/pn00.c
@@ -95,7 +95,7 @@ void eraPn00(double date1, double date2, double dpsi, double deps,
** n.b. The celestial ephemeris origin (CEO) was renamed "celestial
** intermediate origin" (CIO) by IAU 2006 Resolution 2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -125,7 +125,7 @@ void eraPn00(double date1, double date2, double dpsi, double deps,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn00a.c b/src/pn00a.c
index 3e47f0e..132a927 100644
--- a/src/pn00a.c
+++ b/src/pn00a.c
@@ -95,7 +95,7 @@ void eraPn00a(double date1, double date2,
** n.b. The celestial ephemeris origin (CEO) was renamed "celestial
** intermediate origin" (CIO) by IAU 2006 Resolution 2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -111,7 +111,7 @@ void eraPn00a(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn00b.c b/src/pn00b.c
index d93376f..47ec64a 100644
--- a/src/pn00b.c
+++ b/src/pn00b.c
@@ -95,7 +95,7 @@ void eraPn00b(double date1, double date2,
** n.b. The celestial ephemeris origin (CEO) was renamed "celestial
** intermediate origin" (CIO) by IAU 2006 Resolution 2.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -111,7 +111,7 @@ void eraPn00b(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn06.c b/src/pn06.c
index 63cf117..e07ff29 100644
--- a/src/pn06.c
+++ b/src/pn06.c
@@ -93,7 +93,7 @@ void eraPn06(double date1, double date2, double dpsi, double deps,
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -135,7 +135,7 @@ void eraPn06(double date1, double date2, double dpsi, double deps,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pn06a.c b/src/pn06a.c
index 69948a3..7325eb1 100644
--- a/src/pn06a.c
+++ b/src/pn06a.c
@@ -85,7 +85,7 @@ void eraPn06a(double date1, double date2,
**
** Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -101,7 +101,7 @@ void eraPn06a(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pnm00a.c b/src/pnm00a.c
index 9e70aa9..7e3016c 100644
--- a/src/pnm00a.c
+++ b/src/pnm00a.c
@@ -53,7 +53,7 @@ void eraPnm00a(double date1, double date2, double rbpn[3][3])
** 24th General Assembly, Manchester, UK. Resolutions B1.3, B1.6.
** (2000)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ void eraPnm00a(double date1, double date2, double rbpn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pnm00b.c b/src/pnm00b.c
index 5989b85..1cde8de 100644
--- a/src/pnm00b.c
+++ b/src/pnm00b.c
@@ -53,7 +53,7 @@ void eraPnm00b(double date1, double date2, double rbpn[3][3])
** 24th General Assembly, Manchester, UK. Resolutions B1.3, B1.6.
** (2000)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ void eraPnm00b(double date1, double date2, double rbpn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pnm06a.c b/src/pnm06a.c
index f587721..05cbb56 100644
--- a/src/pnm06a.c
+++ b/src/pnm06a.c
@@ -50,7 +50,7 @@ void eraPnm06a(double date1, double date2, double rnpb[3][3])
**
** Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -72,7 +72,7 @@ void eraPnm06a(double date1, double date2, double rnpb[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pnm80.c b/src/pnm80.c
index a62f937..f48273b 100644
--- a/src/pnm80.c
+++ b/src/pnm80.c
@@ -52,7 +52,7 @@ void eraPnm80(double date1, double date2, double rmatpn[3][3])
** P. Kenneth Seidelmann (ed), University Science Books (1992),
** Section 3.3 (p145).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -74,7 +74,7 @@ void eraPnm80(double date1, double date2, double rmatpn[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pom00.c b/src/pom00.c
index 0f61496..e904432 100644
--- a/src/pom00.c
+++ b/src/pom00.c
@@ -46,7 +46,7 @@ void eraPom00(double xp, double yp, double sp, double rpom[3][3])
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -63,7 +63,7 @@ void eraPom00(double xp, double yp, double sp, double rpom[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ppp.c b/src/ppp.c
index 26cb957..6e225ac 100644
--- a/src/ppp.c
+++ b/src/ppp.c
@@ -19,7 +19,7 @@ void eraPpp(double a[3], double b[3], double apb[3])
** It is permissible to re-use the same array for any of the
** arguments.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -33,7 +33,7 @@ void eraPpp(double a[3], double b[3], double apb[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ppsp.c b/src/ppsp.c
index c58cbcb..5c97e8c 100644
--- a/src/ppsp.c
+++ b/src/ppsp.c
@@ -23,7 +23,7 @@ void eraPpsp(double a[3], double s, double b[3], double apsb[3])
** eraSxp multiply p-vector by scalar
** eraPpp p-vector plus p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -42,7 +42,7 @@ void eraPpsp(double a[3], double s, double b[3], double apsb[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pr00.c b/src/pr00.c
index 0cdf7d3..539e6d8 100644
--- a/src/pr00.c
+++ b/src/pr00.c
@@ -66,7 +66,7 @@ void eraPr00(double date1, double date2, double *dpsipr, double *depspr)
** Wallace, P.T., "Software for Implementing the IAU 2000
** Resolutions", in IERS Workshop 5.1 (2002).
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -90,7 +90,7 @@ void eraPr00(double date1, double date2, double *dpsipr, double *depspr)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/prec76.c b/src/prec76.c
index 4c47985..a13b928 100644
--- a/src/prec76.c
+++ b/src/prec76.c
@@ -66,7 +66,7 @@ void eraPrec76(double date01, double date02, double date11, double date12,
** Lieske, J.H., 1979, Astron.Astrophys. 73, 282, equations
** (6) & (7), p283.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -96,7 +96,7 @@ void eraPrec76(double date01, double date02, double date11, double date12,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pv2p.c b/src/pv2p.c
index b6ea164..f81ba42 100644
--- a/src/pv2p.c
+++ b/src/pv2p.c
@@ -17,7 +17,7 @@ void eraPv2p(double pv[2][3], double p[3])
** Called:
** eraCp copy p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -29,7 +29,7 @@ void eraPv2p(double pv[2][3], double p[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pv2s.c b/src/pv2s.c
index 58d86a9..d53b4b4 100644
--- a/src/pv2s.c
+++ b/src/pv2s.c
@@ -34,7 +34,7 @@ void eraPv2s(double pv[2][3],
** 2) If the position is a pole, theta, td and pd are indeterminate.
** In such cases zeroes are returned for all three.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -92,7 +92,7 @@ void eraPv2s(double pv[2][3],
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvdpv.c b/src/pvdpv.c
index 103c308..93c3041 100644
--- a/src/pvdpv.c
+++ b/src/pvdpv.c
@@ -25,7 +25,7 @@ void eraPvdpv(double a[2][3], double b[2][3], double adb[2])
** Called:
** eraPdp scalar product of two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -50,7 +50,7 @@ void eraPvdpv(double a[2][3], double b[2][3], double adb[2])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvm.c b/src/pvm.c
index fcb94c5..13ba202 100644
--- a/src/pvm.c
+++ b/src/pvm.c
@@ -18,7 +18,7 @@ void eraPvm(double pv[2][3], double *r, double *s)
** Called:
** eraPm modulus of p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -34,7 +34,7 @@ void eraPvm(double pv[2][3], double *r, double *s)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvmpv.c b/src/pvmpv.c
index dda99ee..fbdb06f 100644
--- a/src/pvmpv.c
+++ b/src/pvmpv.c
@@ -22,7 +22,7 @@ void eraPvmpv(double a[2][3], double b[2][3], double amb[2][3])
** Called:
** eraPmp p-vector minus p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -35,7 +35,7 @@ void eraPvmpv(double a[2][3], double b[2][3], double amb[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvppv.c b/src/pvppv.c
index 19c2875..7804eba 100644
--- a/src/pvppv.c
+++ b/src/pvppv.c
@@ -22,7 +22,7 @@ void eraPvppv(double a[2][3], double b[2][3], double apb[2][3])
** Called:
** eraPpp p-vector plus p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -35,7 +35,7 @@ void eraPvppv(double a[2][3], double b[2][3], double apb[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvstar.c b/src/pvstar.c
index 3a4e00b..2e6050b 100644
--- a/src/pvstar.c
+++ b/src/pvstar.c
@@ -10,7 +10,7 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
** Convert star position+velocity vector to catalog coordinates.
**
** Given (Note 1):
-** pv double[2][3] pv-vector (AU, AU/day)
+** pv double[2][3] pv-vector (au, au/day)
**
** Returned (Note 2):
** ra double right ascension (radians)
@@ -65,7 +65,7 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
** 3) Care is needed with units. The star coordinates are in radians
** and the proper motions in radians per Julian year, but the
** parallax is in arcseconds; the radial velocity is in km/s, but
-** the pv-vector result is in AU and AU/day.
+** the pv-vector result is in au and au/day.
**
** 4) The proper motions are the rate of change of the right ascension
** and declination at the catalog epoch and are in radians per Julian
@@ -93,7 +93,7 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
**
** Stumpff, P., 1985, Astron.Astrophys. 144, 232-240.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -101,12 +101,12 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
usr[3], ust[3], a, rad, decd, rd;
-/* Isolate the radial component of the velocity (AU/day, inertial). */
+/* Isolate the radial component of the velocity (au/day, inertial). */
eraPn(pv[0], &r, x);
vr = eraPdp(x, pv[1]);
eraSxp(vr, x, ur);
-/* Isolate the transverse component of the velocity (AU/day, inertial). */
+/* Isolate the transverse component of the velocity (au/day, inertial). */
eraPmp(pv[1], ur, ut);
vt = eraPm(ut);
@@ -116,9 +116,9 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
/* The inertial-to-observed correction terms. */
d = 1.0 + betr;
- w = 1.0 - betr*betr - bett*bett;
- if (d == 0.0 || w < 0) return -1;
- del = sqrt(w) - 1.0;
+ w = betr*betr + bett*bett;
+ if (d == 0.0 || w > 1.0) return -1;
+ del = - w / (sqrt(1.0-w) + 1.0);
/* Apply relativistic correction factor to radial velocity component. */
w = (betr != 0) ? (betr - del) / (betr * d) : 1.0;
@@ -128,7 +128,7 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
/* component. */
eraSxp(1.0/d, ut, ust);
-/* Combine the two to obtain the observed velocity vector (AU/day). */
+/* Combine the two to obtain the observed velocity vector (au/day). */
eraPpp(usr, ust, pv[1]);
/* Cartesian to spherical. */
@@ -155,7 +155,7 @@ int eraPvstar(double pv[2][3], double *ra, double *dec,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvtob.c b/src/pvtob.c
index 943a63c..b38b72c 100644
--- a/src/pvtob.c
+++ b/src/pvtob.c
@@ -61,7 +61,7 @@ void eraPvtob(double elong, double phi, double hm,
** eraPom00 polar motion matrix
** eraTrxp product of transpose of r-matrix and p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -101,7 +101,7 @@ void eraPvtob(double elong, double phi, double hm,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvu.c b/src/pvu.c
index 34d9db2..8660956 100644
--- a/src/pvu.c
+++ b/src/pvu.c
@@ -28,7 +28,7 @@ void eraPvu(double dt, double pv[2][3], double upv[2][3])
** eraPpsp p-vector plus scaled p-vector
** eraCp copy p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ void eraPvu(double dt, double pv[2][3], double upv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvup.c b/src/pvup.c
index 7f50e6c..426a739 100644
--- a/src/pvup.c
+++ b/src/pvup.c
@@ -22,7 +22,7 @@ void eraPvup(double dt, double pv[2][3], double p[3])
**
** 2) The time units of dt must match those of the velocity.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -36,7 +36,7 @@ void eraPvup(double dt, double pv[2][3], double p[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pvxpv.c b/src/pvxpv.c
index 0d87479..3b66f00 100644
--- a/src/pvxpv.c
+++ b/src/pvxpv.c
@@ -30,7 +30,7 @@ void eraPvxpv(double a[2][3], double b[2][3], double axb[2][3])
** eraPxp vector product of two p-vectors
** eraPpp p-vector plus p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -55,7 +55,7 @@ void eraPvxpv(double a[2][3], double b[2][3], double axb[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/pxp.c b/src/pxp.c
index 5b5a98b..34f06af 100644
--- a/src/pxp.c
+++ b/src/pxp.c
@@ -19,7 +19,7 @@ void eraPxp(double a[3], double b[3], double axb[3])
** It is permissible to re-use the same array for any of the
** arguments.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -42,7 +42,7 @@ void eraPxp(double a[3], double b[3], double axb[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/refco.c b/src/refco.c
index 918d990..9f6a2ca 100644
--- a/src/refco.c
+++ b/src/refco.c
@@ -145,7 +145,7 @@ void eraRefco(double phpa, double tc, double rh, double wl,
**
** Stone, Ronald C., P.A.S.P. 108, 1051-1058, 1996.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -201,7 +201,7 @@ void eraRefco(double phpa, double tc, double rh, double wl,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rm2v.c b/src/rm2v.c
index 2de16ce..aba4a05 100644
--- a/src/rm2v.c
+++ b/src/rm2v.c
@@ -29,7 +29,7 @@ void eraRm2v(double r[3][3], double w[3])
** 3) The reference frame rotates clockwise as seen looking along
** the rotation vector from the origin.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -59,7 +59,7 @@ void eraRm2v(double r[3][3], double w[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rv2m.c b/src/rv2m.c
index 9fe3c4b..b6b66f7 100644
--- a/src/rv2m.c
+++ b/src/rv2m.c
@@ -26,7 +26,7 @@ void eraRv2m(double w[3], double r[3][3])
** 3) The reference frame rotates clockwise as seen looking along the
** rotation vector from the origin.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -66,7 +66,7 @@ void eraRv2m(double w[3], double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rx.c b/src/rx.c
index df080d5..1c84bad 100644
--- a/src/rx.c
+++ b/src/rx.c
@@ -28,7 +28,7 @@ void eraRx(double phi, double r[3][3])
** ( )
** ( 0 - sin(phi) + cos(phi) )
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ void eraRx(double phi, double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rxp.c b/src/rxp.c
index f1dbe82..13292e1 100644
--- a/src/rxp.c
+++ b/src/rxp.c
@@ -21,7 +21,7 @@ void eraRxp(double r[3][3], double p[3], double rp[3])
** Called:
** eraCp copy p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -47,7 +47,7 @@ void eraRxp(double r[3][3], double p[3], double rp[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rxpv.c b/src/rxpv.c
index f7bb53d..6977452 100644
--- a/src/rxpv.c
+++ b/src/rxpv.c
@@ -21,7 +21,7 @@ void eraRxpv(double r[3][3], double pv[2][3], double rpv[2][3])
** Called:
** eraRxp product of r-matrix and p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -34,7 +34,7 @@ void eraRxpv(double r[3][3], double pv[2][3], double rpv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rxr.c b/src/rxr.c
index ff0485b..319dcc6 100644
--- a/src/rxr.c
+++ b/src/rxr.c
@@ -22,7 +22,7 @@ void eraRxr(double a[3][3], double b[3][3], double atb[3][3])
** Called:
** eraCr copy r-matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -47,7 +47,7 @@ void eraRxr(double a[3][3], double b[3][3], double atb[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ry.c b/src/ry.c
index 193d7a9..3ece0d7 100644
--- a/src/ry.c
+++ b/src/ry.c
@@ -28,7 +28,7 @@ void eraRy(double theta, double r[3][3])
** ( )
** ( + sin(theta) 0 + cos(theta) )
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ void eraRy(double theta, double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/rz.c b/src/rz.c
index 58a26e7..3cb3544 100644
--- a/src/rz.c
+++ b/src/rz.c
@@ -28,7 +28,7 @@ void eraRz(double psi, double r[3][3])
** ( )
** ( 0 0 1 )
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ void eraRz(double psi, double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s00.c b/src/s00.c
index 82d0a5f..2f55a13 100644
--- a/src/s00.c
+++ b/src/s00.c
@@ -76,7 +76,7 @@ double eraS00(double date1, double date2, double x, double y)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -319,7 +319,7 @@ double eraS00(double date1, double date2, double x, double y)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s00a.c b/src/s00a.c
index a65bb30..7c0d4e8 100644
--- a/src/s00a.c
+++ b/src/s00a.c
@@ -69,7 +69,7 @@ double eraS00a(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -91,7 +91,7 @@ double eraS00a(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s00b.c b/src/s00b.c
index 370f95b..353d917 100644
--- a/src/s00b.c
+++ b/src/s00b.c
@@ -69,7 +69,7 @@ double eraS00b(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -91,7 +91,7 @@ double eraS00b(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s06.c b/src/s06.c
index 21546c5..69545e0 100644
--- a/src/s06.c
+++ b/src/s06.c
@@ -73,7 +73,7 @@ double eraS06(double date1, double date2, double x, double y)
** McCarthy, D.D., Petit, G. (eds.) 2004, IERS Conventions (2003),
** IERS Technical Note No. 32, BKG
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -316,7 +316,7 @@ double eraS06(double date1, double date2, double x, double y)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s06a.c b/src/s06a.c
index 575c3dd..6890ff7 100644
--- a/src/s06a.c
+++ b/src/s06a.c
@@ -71,7 +71,7 @@ double eraS06a(double date1, double date2)
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -93,7 +93,7 @@ double eraS06a(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s2c.c b/src/s2c.c
index 067cec1..35d935f 100644
--- a/src/s2c.c
+++ b/src/s2c.c
@@ -15,7 +15,7 @@ void eraS2c(double theta, double phi, double c[3])
** Returned:
** c double[3] direction cosines
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -33,7 +33,7 @@ void eraS2c(double theta, double phi, double c[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s2p.c b/src/s2p.c
index a9b02bb..fc787fa 100644
--- a/src/s2p.c
+++ b/src/s2p.c
@@ -20,7 +20,7 @@ void eraS2p(double theta, double phi, double r, double p[3])
** eraS2c spherical coordinates to unit vector
** eraSxp multiply p-vector by scalar
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -36,7 +36,7 @@ void eraS2p(double theta, double phi, double r, double p[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s2pv.c b/src/s2pv.c
index df6e1c7..9d5439f 100644
--- a/src/s2pv.c
+++ b/src/s2pv.c
@@ -21,7 +21,7 @@ void eraS2pv(double theta, double phi, double r,
** Returned:
** pv double[2][3] pv-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -51,7 +51,7 @@ void eraS2pv(double theta, double phi, double r,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/s2xpv.c b/src/s2xpv.c
index 9b554da..272c116 100644
--- a/src/s2xpv.c
+++ b/src/s2xpv.c
@@ -22,7 +22,7 @@ void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3])
** Called:
** eraSxp multiply p-vector by scalar
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -35,7 +35,7 @@ void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/sepp.c b/src/sepp.c
index 98f2671..6144e52 100644
--- a/src/sepp.c
+++ b/src/sepp.c
@@ -30,7 +30,7 @@ double eraSepp(double a[3], double b[3])
** eraPm modulus of p-vector
** eraPdp scalar product of two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -53,7 +53,7 @@ double eraSepp(double a[3], double b[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/seps.c b/src/seps.c
index f97fc58..49795fe 100644
--- a/src/seps.c
+++ b/src/seps.c
@@ -21,7 +21,7 @@ double eraSeps(double al, double ap, double bl, double bp)
** eraS2c spherical coordinates to unit vector
** eraSepp angular separation between two p-vectors
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ double eraSeps(double al, double ap, double bl, double bp)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/sp00.c b/src/sp00.c
index 7c57abd..2fed268 100644
--- a/src/sp00.c
+++ b/src/sp00.c
@@ -47,7 +47,7 @@ double eraSp00(double date1, double date2)
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -66,7 +66,7 @@ double eraSp00(double date1, double date2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/starpm.c b/src/starpm.c
index 69b7708..c852eaa 100644
--- a/src/starpm.c
+++ b/src/starpm.c
@@ -106,7 +106,7 @@ int eraStarpm(double ra1, double dec1,
** eraPdp scalar product of two p-vectors
** eraPvstar space motion pv-vector to star catalog data
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -153,7 +153,7 @@ int eraStarpm(double ra1, double dec1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/starpv.c b/src/starpv.c
index 77173ed..19b66e9 100644
--- a/src/starpv.c
+++ b/src/starpv.c
@@ -19,7 +19,7 @@ int eraStarpv(double ra, double dec,
** rv double radial velocity (km/s, positive = receding)
**
** Returned (Note 2):
-** pv double[2][3] pv-vector (AU, AU/day)
+** pv double[2][3] pv-vector (au, au/day)
**
** Returned (function value):
** int status:
@@ -53,7 +53,7 @@ int eraStarpv(double ra, double dec,
** direction", where the object was located at the catalog epoch, be
** required, it may be obtained by calculating the magnitude of the
** position vector pv[0][0-2] dividing by the speed of light in
-** AU/day to give the light-time, and then multiplying the space
+** au/day to give the light-time, and then multiplying the space
** velocity pv[1][0-2] by this light-time and adding the result to
** pv[0][0-2].
**
@@ -72,7 +72,7 @@ int eraStarpv(double ra, double dec,
** 3) Care is needed with units. The star coordinates are in radians
** and the proper motions in radians per Julian year, but the
** parallax is in arcseconds; the radial velocity is in km/s, but
-** the pv-vector result is in AU and AU/day.
+** the pv-vector result is in au and au/day.
**
** 4) The RA proper motion is in terms of coordinate angle, not true
** angle. If the catalog uses arcseconds for both RA and Dec proper
@@ -113,7 +113,7 @@ int eraStarpv(double ra, double dec,
**
** Stumpff, P., 1985, Astron.Astrophys. 144, 232-240.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -135,7 +135,7 @@ int eraStarpv(double ra, double dec,
od = 0.0, odel = 0.0; /* warnings */
-/* Distance (AU). */
+/* Distance (au). */
if (px >= PXMIN) {
w = px;
iwarn = 0;
@@ -145,14 +145,14 @@ int eraStarpv(double ra, double dec,
}
r = ERFA_DR2AS / w;
-/* Radial velocity (AU/day). */
+/* Radial velocity (au/day). */
rd = ERFA_DAYSEC * rv * 1e3 / ERFA_DAU;
/* Proper motion (radian/day). */
rad = pmr / ERFA_DJY;
decd = pmd / ERFA_DJY;
-/* To pv-vector (AU,AU/day). */
+/* To pv-vector (au,au/day). */
eraS2pv(ra, dec, r, rad, decd, rd, pv);
/* If excessive velocity, arbitrarily set it to zero. */
@@ -162,12 +162,12 @@ int eraStarpv(double ra, double dec,
iwarn += 2;
}
-/* Isolate the radial component of the velocity (AU/day). */
+/* Isolate the radial component of the velocity (au/day). */
eraPn(pv[0], &w, x);
vsr = eraPdp(x, pv[1]);
eraSxp(vsr, x, usr);
-/* Isolate the transverse component of the velocity (AU/day). */
+/* Isolate the transverse component of the velocity (au/day). */
eraPmp(pv[1], usr, ust);
vst = eraPm(ust);
@@ -180,7 +180,8 @@ int eraStarpv(double ra, double dec,
betr = betsr;
for (i = 0; i < IMAX; i++) {
d = 1.0 + betr;
- del = sqrt(1.0 - betr*betr - bett*bett) - 1.0;
+ w = betr*betr + bett*bett;
+ del = - w / (sqrt(1.0 - w) + 1.0);
betr = d * betsr + del;
bett = d * betst;
if (i > 0) {
@@ -212,7 +213,7 @@ int eraStarpv(double ra, double dec,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/sxp.c b/src/sxp.c
index 3bd311f..4bcfe59 100644
--- a/src/sxp.c
+++ b/src/sxp.c
@@ -18,7 +18,7 @@ void eraSxp(double s, double p[3], double sp[3])
** Note:
** It is permissible for p and sp to be the same array.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -32,7 +32,7 @@ void eraSxp(double s, double p[3], double sp[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/sxpv.c b/src/sxpv.c
index 6b497cf..bb99969 100644
--- a/src/sxpv.c
+++ b/src/sxpv.c
@@ -21,7 +21,7 @@ void eraSxpv(double s, double pv[2][3], double spv[2][3])
** Called:
** eraS2xpv multiply pv-vector by two scalars
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -33,7 +33,7 @@ void eraSxpv(double s, double pv[2][3], double spv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/t_erfa_c.c b/src/t_erfa_c.c
index e32ce1e..9d469b7 100644
--- a/src/t_erfa_c.c
+++ b/src/t_erfa_c.c
@@ -17,7 +17,7 @@ static int verbose = 0;
**
** All messages go to stdout.
**
-** This revision: 2016 July 11
+** This revision: 2017 March 15
**
*/
@@ -271,7 +271,7 @@ static void t_apcg(int *status)
**
** Called: eraApcg, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, ebpv[2][3], ehp[3];
@@ -308,13 +308,13 @@ static void t_apcg(int *status)
"eraApcg", "eh(3)", status);
vvd(astrom.em, 1.010465295811013146, 1e-12,
"eraApcg", "em", status);
- vvd(astrom.v[0], 0.4289638897813379954e-4, 1e-16,
- "eraApcg", "v(1_", status);
- vvd(astrom.v[1], 0.8115034021720941898e-4, 1e-16,
+ vvd(astrom.v[0], 0.4289638913597693554e-4, 1e-16,
+ "eraApcg", "v(1)", status);
+ vvd(astrom.v[1], 0.8115034051581320575e-4, 1e-16,
"eraApcg", "v(2)", status);
- vvd(astrom.v[2], 0.3517555123437237778e-4, 1e-16,
+ vvd(astrom.v[2], 0.3517555136380563427e-4, 1e-16,
"eraApcg", "v(3)", status);
- vvd(astrom.bm1, 0.9999999951686013336, 1e-12,
+ vvd(astrom.bm1, 0.9999999951686012981, 1e-12,
"eraApcg", "bm1", status);
vvd(astrom.bpn[0][0], 1.0, 0.0,
"eraApcg", "bpn(1,1)", status);
@@ -350,7 +350,7 @@ static void t_apcg13(int *status)
**
** Called: eraApcg13, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2;
@@ -378,13 +378,13 @@ static void t_apcg13(int *status)
"eraApcg13", "eh(3)", status);
vvd(astrom.em, 1.010465295964664178, 1e-12,
"eraApcg13", "em", status);
- vvd(astrom.v[0], 0.4289638897157027528e-4, 1e-16,
+ vvd(astrom.v[0], 0.4289638912941341125e-4, 1e-16,
"eraApcg13", "v(1)", status);
- vvd(astrom.v[1], 0.8115034002544663526e-4, 1e-16,
+ vvd(astrom.v[1], 0.8115034032405042132e-4, 1e-16,
"eraApcg13", "v(2)", status);
- vvd(astrom.v[2], 0.3517555122593144633e-4, 1e-16,
+ vvd(astrom.v[2], 0.3517555135536470279e-4, 1e-16,
"eraApcg13", "v(3)", status);
- vvd(astrom.bm1, 0.9999999951686013498, 1e-12,
+ vvd(astrom.bm1, 0.9999999951686013142, 1e-12,
"eraApcg13", "bm1", status);
vvd(astrom.bpn[0][0], 1.0, 0.0,
"eraApcg13", "bpn(1,1)", status);
@@ -420,7 +420,7 @@ static void t_apci(int *status)
**
** Called: eraApci, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, ebpv[2][3], ehp[3], x, y, s;
@@ -460,13 +460,13 @@ static void t_apci(int *status)
"eraApci", "eh(3)", status);
vvd(astrom.em, 1.010465295811013146, 1e-12,
"eraApci", "em", status);
- vvd(astrom.v[0], 0.4289638897813379954e-4, 1e-16,
+ vvd(astrom.v[0], 0.4289638913597693554e-4, 1e-16,
"eraApci", "v(1)", status);
- vvd(astrom.v[1], 0.8115034021720941898e-4, 1e-16,
+ vvd(astrom.v[1], 0.8115034051581320575e-4, 1e-16,
"eraApci", "v(2)", status);
- vvd(astrom.v[2], 0.3517555123437237778e-4, 1e-16,
+ vvd(astrom.v[2], 0.3517555136380563427e-4, 1e-16,
"eraApci", "v(3)", status);
- vvd(astrom.bm1, 0.9999999951686013336, 1e-12,
+ vvd(astrom.bm1, 0.9999999951686012981, 1e-12,
"eraApci", "bm1", status);
vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
"eraApci", "bpn(1,1)", status);
@@ -502,7 +502,7 @@ static void t_apci13(int *status)
**
** Called: eraApci13, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, eo;
@@ -530,13 +530,13 @@ static void t_apci13(int *status)
"eraApci13", "eh(3)", status);
vvd(astrom.em, 1.010465295964664178, 1e-12,
"eraApci13", "em", status);
- vvd(astrom.v[0], 0.4289638897157027528e-4, 1e-16,
+ vvd(astrom.v[0], 0.4289638912941341125e-4, 1e-16,
"eraApci13", "v(1)", status);
- vvd(astrom.v[1], 0.8115034002544663526e-4, 1e-16,
+ vvd(astrom.v[1], 0.8115034032405042132e-4, 1e-16,
"eraApci13", "v(2)", status);
- vvd(astrom.v[2], 0.3517555122593144633e-4, 1e-16,
+ vvd(astrom.v[2], 0.3517555135536470279e-4, 1e-16,
"eraApci13", "v(3)", status);
- vvd(astrom.bm1, 0.9999999951686013498, 1e-12,
+ vvd(astrom.bm1, 0.9999999951686013142, 1e-12,
"eraApci13", "bm1", status);
vvd(astrom.bpn[0][0], 0.9999992060376761710, 1e-12,
"eraApci13", "bpn(1,1)", status);
@@ -574,7 +574,7 @@ static void t_apco(int *status)
**
** Called: eraApco, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, ebpv[2][3], ehp[3], x, y, s,
@@ -612,27 +612,27 @@ static void t_apco(int *status)
vvd(astrom.pmt, 13.25248468622587269, 1e-11,
"eraApco", "pmt", status);
- vvd(astrom.eb[0], -0.9741827110630897003, 1e-12,
+ vvd(astrom.eb[0], -0.9741827110630322720, 1e-12,
"eraApco", "eb(1)", status);
- vvd(astrom.eb[1], -0.2115130190135014340, 1e-12,
+ vvd(astrom.eb[1], -0.2115130190135344832, 1e-12,
"eraApco", "eb(2)", status);
- vvd(astrom.eb[2], -0.09179840186968295686, 1e-12,
+ vvd(astrom.eb[2], -0.09179840186949532298, 1e-12,
"eraApco", "eb(3)", status);
- vvd(astrom.eh[0], -0.9736425571689670428, 1e-12,
+ vvd(astrom.eh[0], -0.9736425571689739035, 1e-12,
"eraApco", "eh(1)", status);
- vvd(astrom.eh[1], -0.2092452125848862201, 1e-12,
+ vvd(astrom.eh[1], -0.2092452125849330936, 1e-12,
"eraApco", "eh(2)", status);
- vvd(astrom.eh[2], -0.09075578152261439954, 1e-12,
+ vvd(astrom.eh[2], -0.09075578152243272599, 1e-12,
"eraApco", "eh(3)", status);
- vvd(astrom.em, 0.9998233241710617934, 1e-12,
+ vvd(astrom.em, 0.9998233241709957653, 1e-12,
"eraApco", "em", status);
- vvd(astrom.v[0], 0.2078704985147609823e-4, 1e-16,
+ vvd(astrom.v[0], 0.2078704992916728762e-4, 1e-16,
"eraApco", "v(1)", status);
- vvd(astrom.v[1], -0.8955360074407552709e-4, 1e-16,
+ vvd(astrom.v[1], -0.8955360107151952319e-4, 1e-16,
"eraApco", "v(2)", status);
- vvd(astrom.v[2], -0.3863338980073114703e-4, 1e-16,
+ vvd(astrom.v[2], -0.3863338994288951082e-4, 1e-16,
"eraApco", "v(3)", status);
- vvd(astrom.bm1, 0.9999999950277561600, 1e-12,
+ vvd(astrom.bm1, 0.9999999950277561236, 1e-12,
"eraApco", "bm1", status);
vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
"eraApco", "bpn(1,1)", status);
@@ -686,7 +686,7 @@ static void t_apco13(int *status)
**
** Called: eraApco13, vvd, viv
**
-** This revision: 2013 October 4
+** This revision: 2017 March 15
*/
{
double utc1, utc2, dut1, elong, phi, hm, xp, yp,
@@ -713,27 +713,27 @@ static void t_apco13(int *status)
vvd(astrom.pmt, 13.25248468622475727, 1e-11,
"eraApco13", "pmt", status);
- vvd(astrom.eb[0], -0.9741827107321449445, 1e-12,
+ vvd(astrom.eb[0], -0.9741827107320875162, 1e-12,
"eraApco13", "eb(1)", status);
- vvd(astrom.eb[1], -0.2115130190489386190, 1e-12,
+ vvd(astrom.eb[1], -0.2115130190489716682, 1e-12,
"eraApco13", "eb(2)", status);
- vvd(astrom.eb[2], -0.09179840189515518726, 1e-12,
+ vvd(astrom.eb[2], -0.09179840189496755339, 1e-12,
"eraApco13", "eb(3)", status);
- vvd(astrom.eh[0], -0.9736425572586866640, 1e-12,
+ vvd(astrom.eh[0], -0.9736425572586935247, 1e-12,
"eraApco13", "eh(1)", status);
- vvd(astrom.eh[1], -0.2092452121602867431, 1e-12,
+ vvd(astrom.eh[1], -0.2092452121603336166, 1e-12,
"eraApco13", "eh(2)", status);
- vvd(astrom.eh[2], -0.09075578153903832650, 1e-12,
+ vvd(astrom.eh[2], -0.09075578153885665295, 1e-12,
"eraApco13", "eh(3)", status);
- vvd(astrom.em, 0.9998233240914558422, 1e-12,
+ vvd(astrom.em, 0.9998233240913898141, 1e-12,
"eraApco13", "em", status);
- vvd(astrom.v[0], 0.2078704986751370303e-4, 1e-16,
+ vvd(astrom.v[0], 0.2078704994520489246e-4, 1e-16,
"eraApco13", "v(1)", status);
- vvd(astrom.v[1], -0.8955360100494469232e-4, 1e-16,
+ vvd(astrom.v[1], -0.8955360133238868938e-4, 1e-16,
"eraApco13", "v(2)", status);
- vvd(astrom.v[2], -0.3863338978840051024e-4, 1e-16,
+ vvd(astrom.v[2], -0.3863338993055887398e-4, 1e-16,
"eraApco13", "v(3)", status);
- vvd(astrom.bm1, 0.9999999950277561368, 1e-12,
+ vvd(astrom.bm1, 0.9999999950277561004, 1e-12,
"eraApco13", "bm1", status);
vvd(astrom.bpn[0][0], 0.9999991390295147999, 1e-12,
"eraApco13", "bpn(1,1)", status);
@@ -790,7 +790,7 @@ static void t_apcs(int *status)
**
** Called: eraApcs, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, pv[2][3], ebpv[2][3], ehp[3];
@@ -819,27 +819,27 @@ static void t_apcs(int *status)
vvd(astrom.pmt, 13.25248468622587269, 1e-11,
"eraApcs", "pmt", status);
- vvd(astrom.eb[0], -0.9741827110630456169, 1e-12,
+ vvd(astrom.eb[0], -0.9741827110629881886, 1e-12,
"eraApcs", "eb(1)", status);
- vvd(astrom.eb[1], -0.2115130190136085494, 1e-12,
+ vvd(astrom.eb[1], -0.2115130190136415986, 1e-12,
"eraApcs", "eb(2)", status);
- vvd(astrom.eb[2], -0.09179840186973175487, 1e-12,
+ vvd(astrom.eb[2], -0.09179840186954412099, 1e-12,
"eraApcs", "eb(3)", status);
- vvd(astrom.eh[0], -0.9736425571689386099, 1e-12,
+ vvd(astrom.eh[0], -0.9736425571689454706, 1e-12,
"eraApcs", "eh(1)", status);
- vvd(astrom.eh[1], -0.2092452125849967195, 1e-12,
+ vvd(astrom.eh[1], -0.2092452125850435930, 1e-12,
"eraApcs", "eh(2)", status);
- vvd(astrom.eh[2], -0.09075578152266466572, 1e-12,
+ vvd(astrom.eh[2], -0.09075578152248299218, 1e-12,
"eraApcs", "eh(3)", status);
- vvd(astrom.em, 0.9998233241710457140, 1e-12,
+ vvd(astrom.em, 0.9998233241709796859, 1e-12,
"eraApcs", "em", status);
- vvd(astrom.v[0], 0.2078704985513566571e-4, 1e-16,
+ vvd(astrom.v[0], 0.2078704993282685510e-4, 1e-16,
"eraApcs", "v(1)", status);
- vvd(astrom.v[1], -0.8955360074245006073e-4, 1e-16,
+ vvd(astrom.v[1], -0.8955360106989405683e-4, 1e-16,
"eraApcs", "v(2)", status);
- vvd(astrom.v[2], -0.3863338980073572719e-4, 1e-16,
+ vvd(astrom.v[2], -0.3863338994289409097e-4, 1e-16,
"eraApcs", "v(3)", status);
- vvd(astrom.bm1, 0.9999999950277561601, 1e-12,
+ vvd(astrom.bm1, 0.9999999950277561237, 1e-12,
"eraApcs", "bm1", status);
vvd(astrom.bpn[0][0], 1, 0,
"eraApcs", "bpn(1,1)", status);
@@ -875,7 +875,7 @@ static void t_apcs13(int *status)
**
** Called: eraApcs13, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, pv[2][3];
@@ -895,27 +895,27 @@ static void t_apcs13(int *status)
vvd(astrom.pmt, 12.65133794027378508, 1e-11,
"eraApcs13", "pmt", status);
- vvd(astrom.eb[0], 0.9012691529023298391, 1e-12,
+ vvd(astrom.eb[0], 0.9012691529025250644, 1e-12,
"eraApcs13", "eb(1)", status);
- vvd(astrom.eb[1], -0.4173999812023068781, 1e-12,
+ vvd(astrom.eb[1], -0.4173999812023194317, 1e-12,
"eraApcs13", "eb(2)", status);
- vvd(astrom.eb[2], -0.1809906511146821008, 1e-12,
+ vvd(astrom.eb[2], -0.1809906511146429670, 1e-12,
"eraApcs13", "eb(3)", status);
- vvd(astrom.eh[0], 0.8939939101759726824, 1e-12,
+ vvd(astrom.eh[0], 0.8939939101760130792, 1e-12,
"eraApcs13", "eh(1)", status);
- vvd(astrom.eh[1], -0.4111053891734599955, 1e-12,
+ vvd(astrom.eh[1], -0.4111053891734021478, 1e-12,
"eraApcs13", "eh(2)", status);
- vvd(astrom.eh[2], -0.1782336880637689334, 1e-12,
+ vvd(astrom.eh[2], -0.1782336880636997374, 1e-12,
"eraApcs13", "eh(3)", status);
- vvd(astrom.em, 1.010428384373318379, 1e-12,
+ vvd(astrom.em, 1.010428384373491095, 1e-12,
"eraApcs13", "em", status);
- vvd(astrom.v[0], 0.4279877278327626511e-4, 1e-16,
+ vvd(astrom.v[0], 0.4279877294121697570e-4, 1e-16,
"eraApcs13", "v(1)", status);
- vvd(astrom.v[1], 0.7963255057040027770e-4, 1e-16,
+ vvd(astrom.v[1], 0.7963255087052120678e-4, 1e-16,
"eraApcs13", "v(2)", status);
- vvd(astrom.v[2], 0.3517564000441374759e-4, 1e-16,
+ vvd(astrom.v[2], 0.3517564013384691531e-4, 1e-16,
"eraApcs13", "v(3)", status);
- vvd(astrom.bm1, 0.9999999952947981330, 1e-12,
+ vvd(astrom.bm1, 0.9999999952947980978, 1e-12,
"eraApcs13", "bm1", status);
vvd(astrom.bpn[0][0], 1, 0,
"eraApcs13", "bpn(1,1)", status);
@@ -1124,7 +1124,7 @@ static void t_atci13(int *status)
**
** Called: eraAtci13, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double rc, dc, pr, pd, px, rv, date1, date2, ri, di, eo;
@@ -1141,9 +1141,9 @@ static void t_atci13(int *status)
eraAtci13(rc, dc, pr, pd, px, rv, date1, date2, &ri, &di, &eo);
- vvd(ri, 2.710121572969038991, 1e-12,
+ vvd(ri, 2.710121572968696744, 1e-12,
"eraAtci13", "ri", status);
- vvd(di, 0.1729371367218230438, 1e-12,
+ vvd(di, 0.1729371367219539137, 1e-12,
"eraAtci13", "di", status);
vvd(eo, -0.002900618712657375647, 1e-14,
"eraAtci13", "eo", status);
@@ -1163,7 +1163,7 @@ static void t_atciq(int *status)
**
** Called: eraApci13, eraAtciq, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, eo, rc, dc, pr, pd, px, rv, ri, di;
@@ -1181,8 +1181,8 @@ static void t_atciq(int *status)
eraAtciq(rc, dc, pr, pd, px, rv, &astrom, &ri, &di);
- vvd(ri, 2.710121572969038991, 1e-12, "eraAtciq", "ri", status);
- vvd(di, 0.1729371367218230438, 1e-12, "eraAtciq", "di", status);
+ vvd(ri, 2.710121572968696744, 1e-12, "eraAtciq", "ri", status);
+ vvd(di, 0.1729371367219539137, 1e-12, "eraAtciq", "di", status);
}
@@ -1199,7 +1199,7 @@ static void t_atciqn(int *status)
**
** Called: eraApci13, eraAtciqn, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
eraLDBODY b[3];
@@ -1242,8 +1242,8 @@ static void t_atciqn(int *status)
eraAtciqn ( rc, dc, pr, pd, px, rv, &astrom, 3, b, &ri, &di);
- vvd(ri, 2.710122008105325582, 1e-12, "eraAtciqn", "ri", status);
- vvd(di, 0.1729371916491459122, 1e-12, "eraAtciqn", "di", status);
+ vvd(ri, 2.710122008104983335, 1e-12, "eraAtciqn", "ri", status);
+ vvd(di, 0.1729371916492767821, 1e-12, "eraAtciqn", "di", status);
}
@@ -1260,7 +1260,7 @@ static void t_atciqz(int *status)
**
** Called: eraApci13, eraAtciqz, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, eo, rc, dc, ri, di;
@@ -1275,8 +1275,8 @@ static void t_atciqz(int *status)
eraAtciqz(rc, dc, &astrom, &ri, &di);
- vvd(ri, 2.709994899247599271, 1e-12, "eraAtciqz", "ri", status);
- vvd(di, 0.1728740720983623469, 1e-12, "eraAtciqz", "di", status);
+ vvd(ri, 2.709994899247256984, 1e-12, "eraAtciqz", "ri", status);
+ vvd(di, 0.1728740720984931891, 1e-12, "eraAtciqz", "di", status);
}
@@ -1293,7 +1293,7 @@ static void t_atco13(int *status)
**
** Called: eraAtco13, vvd, viv
**
-** This revision: 2013 October 4
+** This revision: 2017 March 15
*/
{
double rc, dc, pr, pd, px, rv, utc1, utc2, dut1,
@@ -1326,11 +1326,11 @@ static void t_atco13(int *status)
phpa, tc, rh, wl,
&aob, &zob, &hob, &dob, &rob, &eo);
- vvd(aob, 0.09251774485358230653, 1e-12, "eraAtco13", "aob", status);
- vvd(zob, 1.407661405256767021, 1e-12, "eraAtco13", "zob", status);
- vvd(hob, -0.09265154431403157925, 1e-12, "eraAtco13", "hob", status);
- vvd(dob, 0.1716626560075591655, 1e-12, "eraAtco13", "dob", status);
- vvd(rob, 2.710260453503097719, 1e-12, "eraAtco13", "rob", status);
+ vvd(aob, 0.09251774485385390973, 1e-12, "eraAtco13", "aob", status);
+ vvd(zob, 1.407661405256671703, 1e-12, "eraAtco13", "zob", status);
+ vvd(hob, -0.09265154431430045141, 1e-12, "eraAtco13", "hob", status);
+ vvd(dob, 0.1716626560074556029, 1e-12, "eraAtco13", "dob", status);
+ vvd(rob, 2.710260453503366591, 1e-12, "eraAtco13", "rob", status);
vvd(eo, -0.003020548354802412839, 1e-14, "eraAtco13", "eo", status);
viv(j, 0, "eraAtco13", "j", status);
@@ -1349,7 +1349,7 @@ static void t_atic13(int *status)
**
** Called: eraAtic13, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double ri, di, date1, date2, rc, dc, eo;
@@ -1362,8 +1362,8 @@ static void t_atic13(int *status)
eraAtic13(ri, di, date1, date2, &rc, &dc, &eo);
- vvd(rc, 2.710126504531374930, 1e-12, "eraAtic13", "rc", status);
- vvd(dc, 0.1740632537628342320, 1e-12, "eraAtic13", "dc", status);
+ vvd(rc, 2.710126504531716819, 1e-12, "eraAtic13", "rc", status);
+ vvd(dc, 0.1740632537627034482, 1e-12, "eraAtic13", "dc", status);
vvd(eo, -0.002900618712657375647, 1e-14, "eraAtic13", "eo", status);
}
@@ -1381,7 +1381,7 @@ static void t_aticq(int *status)
**
** Called: eraApci13, eraAticq, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, eo, ri, di, rc, dc;
@@ -1396,8 +1396,8 @@ static void t_aticq(int *status)
eraAticq(ri, di, &astrom, &rc, &dc);
- vvd(rc, 2.710126504531374930, 1e-12, "eraAticq", "rc", status);
- vvd(dc, 0.1740632537628342320, 1e-12, "eraAticq", "dc", status);
+ vvd(rc, 2.710126504531716819, 1e-12, "eraAticq", "rc", status);
+ vvd(dc, 0.1740632537627034482, 1e-12, "eraAticq", "dc", status);
}
@@ -1414,7 +1414,7 @@ static void t_aticqn(int *status)
**
** Called: eraApci13, eraAticqn, vvd
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double date1, date2, eo, ri, di, rc, dc;
@@ -1454,8 +1454,8 @@ static void t_aticqn(int *status)
eraAticqn(ri, di, &astrom, 3, b, &rc, &dc);
- vvd(rc, 2.709999575032685412, 1e-12, "eraAtciqn", "rc", status);
- vvd(dc, 0.1739999656317778034, 1e-12, "eraAtciqn", "dc", status);
+ vvd(rc, 2.709999575033027333, 1e-12, "eraAtciqn", "rc", status);
+ vvd(dc, 0.1739999656316469990, 1e-12, "eraAtciqn", "dc", status);
}
@@ -1569,7 +1569,7 @@ static void t_atoc13(int *status)
**
** Called: eraAtoc13, vvd, viv
**
-** This revision: 2013 October 3
+** This revision: 2017 March 15
*/
{
double utc1, utc2, dut1,
@@ -1596,8 +1596,8 @@ static void t_atoc13(int *status)
j = eraAtoc13 ( "R", ob1, ob2, utc1, utc2, dut1,
elong, phi, hm, xp, yp, phpa, tc, rh, wl,
&rc, &dc);
- vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "R/rc", status);
- vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "R/dc", status);
+ vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "R/rc", status);
+ vvd(dc, 0.1741696500896438967, 1e-12, "eraAtoc13", "R/dc", status);
viv(j, 0, "eraAtoc13", "R/j", status);
ob1 = -0.09247619879782006106;
@@ -1605,8 +1605,8 @@ static void t_atoc13(int *status)
j = eraAtoc13 ( "H", ob1, ob2, utc1, utc2, dut1,
elong, phi, hm, xp, yp, phpa, tc, rh, wl,
&rc, &dc);
- vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "H/rc", status);
- vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "H/dc", status);
+ vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "H/rc", status);
+ vvd(dc, 0.1741696500896438967, 1e-12, "eraAtoc13", "H/dc", status);
viv(j, 0, "eraAtoc13", "H/j", status);
ob1 = 0.09233952224794989993;
@@ -1614,8 +1614,8 @@ static void t_atoc13(int *status)
j = eraAtoc13 ( "A", ob1, ob2, utc1, utc2, dut1,
elong, phi, hm, xp, yp, phpa, tc, rh, wl,
&rc, &dc);
- vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "A/rc", status);
- vvd(dc, 0.1741696500895398565, 1e-12, "eraAtoc13", "A/dc", status);
+ vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "A/rc", status);
+ vvd(dc, 0.1741696500896438970, 1e-12, "eraAtoc13", "A/dc", status);
viv(j, 0, "eraAtoc13", "A/j", status);
}
@@ -3824,7 +3824,7 @@ static void t_fk52h(int *status)
**
** Called: eraFk52h, vvd
**
-** This revision: 2013 August 7
+** This revision: 2017 January 3
*/
{
double r5, d5, dr5, dd5, px5, rv5, rh, dh, drh, ddh, pxh, rvh;
@@ -4446,7 +4446,7 @@ static void t_h2fk5(int *status)
**
** Called: eraH2fk5, vvd
**
-** This revision: 2013 August 7
+** This revision: 2017 January 3
*/
{
double rh, dh, drh, ddh, pxh, rvh, r5, d5, dr5, dd5, px5, rv5;
@@ -4472,7 +4472,7 @@ static void t_h2fk5(int *status)
"eraH2fk5", "dd5", status);
vvd(px5, 0.37921, 1e-13,
"eraH2fk5", "px", status);
- vvd(rv5, -7.6000001309071126, 1e-10,
+ vvd(rv5, -7.6000001309071126, 1e-11,
"eraH2fk5", "rv", status);
}
@@ -5981,7 +5981,7 @@ static void t_pmpx(int *status)
**
** Called: eraPmpx, vvd
**
-** This revision: 2013 October 2
+** This revision: 2017 March 15
*/
{
double rc, dc, pr, pd, px, rv, pmt, pob[3], pco[3];
@@ -6000,11 +6000,11 @@ static void t_pmpx(int *status)
eraPmpx(rc, dc, pr, pd, px, rv, pmt, pob, pco);
- vvd(pco[0], 0.2328137623960308440, 1e-12,
+ vvd(pco[0], 0.2328137623960308438, 1e-12,
"eraPmpx", "1", status);
- vvd(pco[1], 0.6651097085397855317, 1e-12,
+ vvd(pco[1], 0.6651097085397855328, 1e-12,
"eraPmpx", "2", status);
- vvd(pco[2], 0.7095257765896359847, 1e-12,
+ vvd(pco[2], 0.7095257765896359837, 1e-12,
"eraPmpx", "3", status);
}
@@ -6022,7 +6022,7 @@ static void t_pmsafe(int *status)
**
** Called: eraPmsafe, vvd, viv
**
-** This revision: 2013 October 2
+** This revision: 2017 March 15
*/
{
int j;
@@ -6047,15 +6047,15 @@ static void t_pmsafe(int *status)
vvd(ra2, 1.234087484501017061, 1e-12,
"eraPmsafe", "ra2", status);
- vvd(dec2, 0.7888249982450468574, 1e-12,
+ vvd(dec2, 0.7888249982450468567, 1e-12,
"eraPmsafe", "dec2", status);
vvd(pmr2, 0.9996457663586073988e-5, 1e-12,
"eraPmsafe", "pmr2", status);
- vvd(pmd2, -0.2000040085106737816e-4, 1e-16,
+ vvd(pmd2, -0.2000040085106754565e-4, 1e-16,
"eraPmsafe", "pmd2", status);
- vvd(px2, 0.9999997295356765185e-2, 1e-12,
+ vvd(px2, 0.9999997295356830666e-2, 1e-12,
"eraPmsafe", "px2", status);
- vvd(rv2, 10.38468380113917014, 1e-10,
+ vvd(rv2, 10.38468380293920069, 1e-10,
"eraPmsafe", "rv2", status);
viv ( j, 0, "eraPmsafe", "j", status);
@@ -7386,7 +7386,7 @@ static void t_pvstar(int *status)
**
** Called: eraPvstar, vvd, viv
**
-** This revision: 2013 August 7
+** This revision: 2017 March 15
*/
{
double pv[2][3], ra, dec, pmr, pmd, px, rv;
@@ -7405,10 +7405,10 @@ static void t_pvstar(int *status)
vvd(ra, 0.1686756e-1, 1e-12, "eraPvstar", "ra", status);
vvd(dec, -1.093989828, 1e-12, "eraPvstar", "dec", status);
- vvd(pmr, -0.178323516e-4, 1e-16, "eraPvstar", "pmr", status);
- vvd(pmd, 0.2336024047e-5, 1e-16, "eraPvstar", "pmd", status);
+ vvd(pmr, -0.1783235160000472788e-4, 1e-16, "eraPvstar", "pmr", status);
+ vvd(pmd, 0.2336024047000619347e-5, 1e-16, "eraPvstar", "pmd", status);
vvd(px, 0.74723, 1e-12, "eraPvstar", "px", status);
- vvd(rv, -21.6, 1e-11, "eraPvstar", "rv", status);
+ vvd(rv, -21.60000010107306010, 1e-11, "eraPvstar", "rv", status);
viv(j, 0, "eraPvstar", "j", status);
@@ -8391,7 +8391,7 @@ static void t_starpm(int *status)
**
** Called: eraStarpm, vvd, viv
**
-** This revision: 2013 August 7
+** This revision: 2017 March 15
*/
{
double ra1, dec1, pmr1, pmd1, px1, rv1;
@@ -8410,17 +8410,17 @@ static void t_starpm(int *status)
2400000.5, 50083.0, 2400000.5, 53736.0,
&ra2, &dec2, &pmr2, &pmd2, &px2, &rv2);
- vvd(ra2, 0.01668919069414242368, 1e-13,
+ vvd(ra2, 0.01668919069414256149, 1e-13,
"eraStarpm", "ra", status);
- vvd(dec2, -1.093966454217127879, 1e-13,
+ vvd(dec2, -1.093966454217127897, 1e-13,
"eraStarpm", "dec", status);
- vvd(pmr2, -0.1783662682155932702e-4, 1e-17,
+ vvd(pmr2, -0.1783662682153176524e-4, 1e-17,
"eraStarpm", "pmr", status);
- vvd(pmd2, 0.2338092915987603664e-5, 1e-17,
+ vvd(pmd2, 0.2338092915983989595e-5, 1e-17,
"eraStarpm", "pmd", status);
- vvd(px2, 0.7473533835323493644, 1e-13,
+ vvd(px2, 0.7473533835317719243, 1e-13,
"eraStarpm", "px", status);
- vvd(rv2, -21.59905170476860786, 1e-11,
+ vvd(rv2, -21.59905170476417175, 1e-11,
"eraStarpm", "rv", status);
viv(j, 0, "eraStarpm", "j", status);
@@ -8440,7 +8440,7 @@ static void t_starpv(int *status)
**
** Called: eraStarpv, vvd, viv
**
-** This revision: 2013 August 7
+** This revision: 2017 March 15
*/
{
double ra, dec, pmr, pmd, px, rv, pv[2][3];
@@ -8463,11 +8463,11 @@ static void t_starpv(int *status)
vvd(pv[0][2], -245251.2339876830091, 1e-10,
"eraStarpv", "13", status);
- vvd(pv[1][0], -0.4051854035740712739e-2, 1e-13,
+ vvd(pv[1][0], -0.4051854008955659551e-2, 1e-13,
"eraStarpv", "21", status);
- vvd(pv[1][1], -0.6253919754866173866e-2, 1e-15,
+ vvd(pv[1][1], -0.6253919754414777970e-2, 1e-15,
"eraStarpv", "22", status);
- vvd(pv[1][2], 0.1189353719774107189e-1, 1e-13,
+ vvd(pv[1][2], 0.1189353714588109341e-1, 1e-13,
"eraStarpv", "23", status);
viv(j, 0, "eraStarpv", "j", status);
@@ -9671,6 +9671,8 @@ int main(int argc, char *argv[])
t_zr(&status);
/* Report, set up an appropriate exit status, and finish. */
+ printf("ERFA version: %s\n", eraVersion());
+ printf("SOFA version: %s\n", eraSofaVersion());
if (status) {
printf("t_erfa_c validation failed!\n");
} else {
@@ -9681,7 +9683,7 @@ int main(int argc, char *argv[])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/taitt.c b/src/taitt.c
index 087399e..3dee64c 100644
--- a/src/taitt.c
+++ b/src/taitt.c
@@ -33,7 +33,7 @@ int eraTaitt(double tai1, double tai2, double *tt1, double *tt2)
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ int eraTaitt(double tai1, double tai2, double *tt1, double *tt2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/taiut1.c b/src/taiut1.c
index 4a9a485..fa0a381 100644
--- a/src/taiut1.c
+++ b/src/taiut1.c
@@ -35,7 +35,7 @@ int eraTaiut1(double tai1, double tai2, double dta,
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -59,7 +59,7 @@ int eraTaiut1(double tai1, double tai2, double dta,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/taiutc.c b/src/taiutc.c
index ce3a177..9429c4c 100644
--- a/src/taiutc.c
+++ b/src/taiutc.c
@@ -56,7 +56,7 @@ int eraTaiutc(double tai1, double tai2, double *utc1, double *utc2)
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -107,7 +107,7 @@ int eraTaiutc(double tai1, double tai2, double *utc1, double *utc2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tcbtdb.c b/src/tcbtdb.c
index 007af2e..63f312d 100644
--- a/src/tcbtdb.c
+++ b/src/tcbtdb.c
@@ -47,7 +47,7 @@ int eraTcbtdb(double tcb1, double tcb2, double *tdb1, double *tdb2)
**
** IAU 2006 Resolution B3
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -80,7 +80,7 @@ int eraTcbtdb(double tcb1, double tcb2, double *tdb1, double *tdb2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tcgtt.c b/src/tcgtt.c
index 0e463b4..92ee47f 100644
--- a/src/tcgtt.c
+++ b/src/tcgtt.c
@@ -32,7 +32,7 @@ int eraTcgtt(double tcg1, double tcg2, double *tt1, double *tt2)
**
** IAU 2000 Resolution B1.9
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -57,7 +57,7 @@ int eraTcgtt(double tcg1, double tcg2, double *tt1, double *tt2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tdbtcb.c b/src/tdbtcb.c
index c12f807..3e9edf5 100644
--- a/src/tdbtcb.c
+++ b/src/tdbtcb.c
@@ -47,7 +47,7 @@ int eraTdbtcb(double tdb1, double tdb2, double *tcb1, double *tcb2)
**
** IAU 2006 Resolution B3
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -85,7 +85,7 @@ int eraTdbtcb(double tdb1, double tdb2, double *tcb1, double *tcb2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tdbtt.c b/src/tdbtt.c
index 879ffe5..6abf2cd 100644
--- a/src/tdbtt.c
+++ b/src/tdbtt.c
@@ -45,7 +45,7 @@ int eraTdbtt(double tdb1, double tdb2, double dtr,
**
** IAU 2006 Resolution 3
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ int eraTdbtt(double tdb1, double tdb2, double dtr,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tf2a.c b/src/tf2a.c
index 678a33d..92bfc5d 100644
--- a/src/tf2a.c
+++ b/src/tf2a.c
@@ -34,7 +34,7 @@ int eraTf2a(char s, int ihour, int imin, double sec, double *rad)
** 3) If there are multiple errors, the status value reflects only the
** first, the smallest taking precedence.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -55,7 +55,7 @@ int eraTf2a(char s, int ihour, int imin, double sec, double *rad)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tf2d.c b/src/tf2d.c
index 3936bfc..c8bb055 100644
--- a/src/tf2d.c
+++ b/src/tf2d.c
@@ -34,7 +34,7 @@ int eraTf2d(char s, int ihour, int imin, double sec, double *days)
** 3) If there are multiple errors, the status value reflects only the
** first, the smallest taking precedence.
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -55,7 +55,7 @@ int eraTf2d(char s, int ihour, int imin, double sec, double *days)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tr.c b/src/tr.c
index d49dc27..7def603 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -20,7 +20,7 @@ void eraTr(double r[3][3], double rt[3][3])
** Called:
** eraCr copy r-matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ void eraTr(double r[3][3], double rt[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/trxp.c b/src/trxp.c
index eaba6f1..1aa723c 100644
--- a/src/trxp.c
+++ b/src/trxp.c
@@ -22,7 +22,7 @@ void eraTrxp(double r[3][3], double p[3], double trp[3])
** eraTr transpose r-matrix
** eraRxp product of r-matrix and p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ void eraTrxp(double r[3][3], double p[3], double trp[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/trxpv.c b/src/trxpv.c
index ce6e5ae..9b4f5ea 100644
--- a/src/trxpv.c
+++ b/src/trxpv.c
@@ -22,7 +22,7 @@ void eraTrxpv(double r[3][3], double pv[2][3], double trpv[2][3])
** eraTr transpose r-matrix
** eraRxpv product of r-matrix and pv-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -41,7 +41,7 @@ void eraTrxpv(double r[3][3], double pv[2][3], double trpv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tttai.c b/src/tttai.c
index 0392aee..fa14717 100644
--- a/src/tttai.c
+++ b/src/tttai.c
@@ -33,7 +33,7 @@ int eraTttai(double tt1, double tt2, double *tai1, double *tai2)
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ int eraTttai(double tt1, double tt2, double *tai1, double *tai2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tttcg.c b/src/tttcg.c
index a0367dc..aa69d3e 100644
--- a/src/tttcg.c
+++ b/src/tttcg.c
@@ -32,7 +32,7 @@ int eraTttcg(double tt1, double tt2, double *tcg1, double *tcg2)
**
** IAU 2000 Resolution B1.9
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -60,7 +60,7 @@ int eraTttcg(double tt1, double tt2, double *tcg1, double *tcg2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/tttdb.c b/src/tttdb.c
index 2d59625..a260c0d 100644
--- a/src/tttdb.c
+++ b/src/tttdb.c
@@ -45,7 +45,7 @@ int eraTttdb(double tt1, double tt2, double dtr,
**
** IAU 2006 Resolution 3
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -69,7 +69,7 @@ int eraTttdb(double tt1, double tt2, double dtr,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ttut1.c b/src/ttut1.c
index b225f3a..8b02053 100644
--- a/src/ttut1.c
+++ b/src/ttut1.c
@@ -34,7 +34,7 @@ int eraTtut1(double tt1, double tt2, double dt,
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ int eraTtut1(double tt1, double tt2, double dt,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ut1tai.c b/src/ut1tai.c
index 34a87c6..f230d27 100644
--- a/src/ut1tai.c
+++ b/src/ut1tai.c
@@ -35,7 +35,7 @@ int eraUt1tai(double ut11, double ut12, double dta,
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -59,7 +59,7 @@ int eraUt1tai(double ut11, double ut12, double dta,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ut1tt.c b/src/ut1tt.c
index 56964e0..52eb616 100644
--- a/src/ut1tt.c
+++ b/src/ut1tt.c
@@ -34,7 +34,7 @@ int eraUt1tt(double ut11, double ut12, double dt,
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -58,7 +58,7 @@ int eraUt1tt(double ut11, double ut12, double dt,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/ut1utc.c b/src/ut1utc.c
index 6ec1b44..bda5299 100644
--- a/src/ut1utc.c
+++ b/src/ut1utc.c
@@ -62,7 +62,7 @@ int eraUt1utc(double ut11, double ut12, double dut1,
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -141,7 +141,7 @@ int eraUt1utc(double ut11, double ut12, double dut1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/utctai.c b/src/utctai.c
index 2863867..b51f630 100644
--- a/src/utctai.c
+++ b/src/utctai.c
@@ -58,7 +58,7 @@ int eraUtctai(double utc1, double utc2, double *tai1, double *tai2)
** Explanatory Supplement to the Astronomical Almanac,
** P. Kenneth Seidelmann (ed), University Science Books (1992)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -125,7 +125,7 @@ int eraUtctai(double utc1, double utc2, double *tai1, double *tai2)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/utcut1.c b/src/utcut1.c
index 1ab4e94..f83a408 100644
--- a/src/utcut1.c
+++ b/src/utcut1.c
@@ -63,7 +63,7 @@ int eraUtcut1(double utc1, double utc2, double dut1,
** eraUtctai UTC to TAI
** eraTaiut1 TAI to UT1
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -95,7 +95,7 @@ int eraUtcut1(double utc1, double utc2, double dut1,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/xy06.c b/src/xy06.c
index 67079b4..14220b2 100644
--- a/src/xy06.c
+++ b/src/xy06.c
@@ -85,7 +85,7 @@ void eraXy06(double date1, double date2, double *x, double *y)
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -2706,7 +2706,7 @@ void eraXy06(double date1, double date2, double *x, double *y)
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/xys00a.c b/src/xys00a.c
index 41a0723..a7b4483 100644
--- a/src/xys00a.c
+++ b/src/xys00a.c
@@ -59,7 +59,7 @@ void eraXys00a(double date1, double date2,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,7 +81,7 @@ void eraXys00a(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/xys00b.c b/src/xys00b.c
index d2ebda7..fce4ee7 100644
--- a/src/xys00b.c
+++ b/src/xys00b.c
@@ -59,7 +59,7 @@ void eraXys00b(double date1, double date2,
** McCarthy, D. D., Petit, G. (eds.), IERS Conventions (2003),
** IERS Technical Note No. 32, BKG (2004)
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,7 +81,7 @@ void eraXys00b(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/xys06a.c b/src/xys06a.c
index e116e15..93893bb 100644
--- a/src/xys06a.c
+++ b/src/xys06a.c
@@ -59,7 +59,7 @@ void eraXys06a(double date1, double date2,
**
** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -81,7 +81,7 @@ void eraXys06a(double date1, double date2,
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/zp.c b/src/zp.c
index 77a8e59..e19589c 100644
--- a/src/zp.c
+++ b/src/zp.c
@@ -11,7 +11,7 @@ void eraZp(double p[3])
** Returned:
** p double[3] p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -25,7 +25,7 @@ void eraZp(double p[3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/zpv.c b/src/zpv.c
index ca176be..809fc82 100644
--- a/src/zpv.c
+++ b/src/zpv.c
@@ -14,7 +14,7 @@ void eraZpv(double pv[2][3])
** Called:
** eraZp zero p-vector
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -27,7 +27,7 @@ void eraZpv(double pv[2][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
diff --git a/src/zr.c b/src/zr.c
index 3a07ff8..08e996f 100644
--- a/src/zr.c
+++ b/src/zr.c
@@ -11,7 +11,7 @@ void eraZr(double r[3][3])
** Returned:
** r double[3][3] r-matrix
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
{
@@ -31,7 +31,7 @@ void eraZr(double r[3][3])
/*----------------------------------------------------------------------
**
**
-** Copyright (C) 2013-2016, NumFOCUS Foundation.
+** Copyright (C) 2013-2017, NumFOCUS Foundation.
** All rights reserved.
**
** This library is derived, with permission, from the International
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/erfa.git
More information about the Debian-astro-commits
mailing list