Changeset 18921 for trunk


Ignore:
Timestamp:
10/18/17 14:07:51 (7 years ago)
Author:
tbretz
Message:
Updated to ERFA 1.4.0
Location:
trunk/FACT++/erfa
Files:
228 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/erfa/README.rst

    r18711 r18921  
    3434ERFA includes smaller changes that may or may not eventually make it into SOFA,
    3535addressing localized bugs or similar smaller issues:
     36
     37* ERFA 1.4.0 and SOFA "20170420"
     38
     39  + ERFA 1.4.0 adds the ``eraVersion`` and ``eraSofaVersion`` functions to
     40    determine the installed version of ERFA (and the SOFA version it is derived
     41    from).
     42
     43  + ERFA 1.4.0 includes some bug fixes contributed to ERFA after 1.3.0 but
     44    before 1.4.0.  These were incorporated (with modification) into
     45    SOFA "20170420" (without attribution) and hence these are not differences
     46    between ERFA and SOFA. (See https://github.com/liberfa/erfa/issues/40 and
     47    https://github.com/liberfa/erfa/issues/41)
    3648
    3749* ERFA 1.3.0 and SOFA "20160503_a"
  • trunk/FACT++/erfa/RELEASE.rst

    r18711 r18921  
    55  and change to the ERFA directory.
    66
    7 * Make sure you are on the "master" branch from the "liberfa" github 
     7* Make sure you are on the "master" branch from the "liberfa" github
    88  repository and have the latest version (if you have a fresh clone, this
    99  should already be the case).
     
    1111* If a new version of SOFA exists, run `sofa_deriver.py` from the `erfa-fetch
    1212  repository`_ in its own directory.  That will create a directory called `erfa`
    13   inside the `erfa-fetch` directory, and   you should copy its contents to the 
    14   `src` directory of `erfa`.  Add any new C files or header files added by SOFA 
    15   to ``src/Makefile.am``, as appropriate. Use ``git diff`` in `erfa` to inspect 
     13  inside the `erfa-fetch` directory, and   you should copy its contents to the
     14  `src` directory of `erfa`.  Add any new C files or header files added by SOFA
     15  to ``src/Makefile.am``, as appropriate. Use ``git diff`` in `erfa` to inspect
    1616  the changes, and then commit and push them to github.
    1717
    1818* Update the version number in the `AC_INIT` macro of `configure.ac` to
    19   the version number you are about to release, and also update the version 
    20   mentioned in `README.rst`. Follow the instructions in 
     19  the version number you are about to release, and also update the version
     20  mentioned in `README.rst`. Follow the instructions in
    2121  `Version numbering` below.
    2222
    23 * Update the version info of the shared library in the `ERFA_LIB_VERSION_INFO` 
     23* Update the version info of the shared library in the `ERFA_LIB_VERSION_INFO`
    2424  macro of `configure.ac`. Follow the instructions in `Version numbering` below.
     25  Also be sure to the ``OFA_VERSION` macro in the `configure.ac`.
    2526
    26 * Commit these changes using ``git commit``, with a commit message like 
     27* Commit these changes using ``git commit``, with a commit message like
    2728  ``Preparing release v0.0.1``.
    2829
    29 * Run `./bootstrap.sh`: you need `automake`, `autoconf` and `libtool` 
     30* Run `./bootstrap.sh`: you need `automake`, `autoconf` and `libtool`
    3031  installed.  If no errors appear, this will create a new `./configure`
    3132  file.
    3233
    33 * Run ``./configure``, which should create a `Makefile` in the top level 
     34* Run ``./configure``, which should create a `Makefile` in the top level
    3435  directory and in ./src
    3536
     
    3738  make sure they pass before proceeding.
    3839
    39 * Run ``make distcheck``: this creates the distribution tarball, 
     40* Run ``make distcheck``: this creates the distribution tarball,
    4041  unpackages it and runs the check inside the untarred directory.
    4142  The resulting tarball will be named e.g., `erfa-0.0.1.tar.gz` and
    4243  will be placed in the working directory.
    4344
    44 * Tag the current commit with the version number.  A signed tag is preferred if 
    45   you have an a signing key (e.g., do ``git tag -s v0.0.1``). 
     45* Tag the current commit with the version number.  A signed tag is preferred if
     46  you have an a signing key (e.g., do ``git tag -s v0.0.1``).
    4647
    47 * Push up your changes and the new tag to github: 
     48* Push up your changes and the new tag to github:
    4849  ``git push --tags origin master``. (The command here assumes the git remote
    4950  "origin" points to the "liberfa/erfa" repository.  If not, substitute the
     
    5152
    5253* Go to the "liberfa/erfa" repository for the github page, and click on the
    53   "releases" button, and then the release corresponding to the tag you just 
    54   made. 
     54  "releases" button, and then the release corresponding to the tag you just
     55  made.
    5556
    56 * Click on the "Draft release notes or downloads" button (or it might be 
    57   "Edit release").  Put the version number as the title (e.g., ``v0.0.1``)and 
     57* Click on the "Draft release notes or downloads" button (or it might be
     58  "Edit release").  Put the version number as the title (e.g., ``v0.0.1``)and
    5859  for the description put ``See `README.rst` for release notes.``
    5960
    6061* Upload the tarball you created (e.g., `erfa-0.0.1.tar.gz`) by dropping it
    61   in the area that says "Attach binaries for this release  by dropping them 
    62   here." 
     62  in the area that says "Attach binaries for this release  by dropping them
     63  here."
    6364
    6465* Click the "Publish release" button.
     
    7374
    7475ERFA needs to provide two different version numbers.  You need to update both.
    75 The first is the 
    76 **package version number** or **version number** proper. ERFA uses 
     76The first is the
     77**package version number** or **version number** proper. ERFA uses
    7778`semantic versioning <http://semver.org/>`_ to create this number.
    78 For more on this choice, see 
     79For more on this choice, see
    7980`liberfa/erfa#6 <https://github.com/liberfa/erfa/issues/6>`_.
    8081
    81 The second number is `shared library version info`. When a program has been 
     82The second number is `shared library version info`. When a program has been
    8283linked with the ERFA shared library, the dynamic linker checks the version
    83 info of the library requested by the program with those of the libraries 
     84info of the library requested by the program with those of the libraries
    8485present if the system. This version info is important to binary distributions
    8586(such as Linux distributions). ERFA uses `libtool versioning <http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html>`_.
     
    104105
    105106  * if there is a backwards incompatible change (function removed, types of
    106     arguments altered, macros renamed...) then increase MAJOR by one and set 
     107    arguments altered, macros renamed...) then increase MAJOR by one and set
    107108    the others to zero.
    108   * else if there is backwards compatible change (new function added or 
    109     new macro added) then do not change MAJOR, increase MINOR by one and 
     109  * else if there is backwards compatible change (new function added or
     110    new macro added) then do not change MAJOR, increase MINOR by one and
    110111    set PATCH to zero.
    111112  * else
     
    119120
    120121For the shared  library version info, we are only interested in a subset of
    121 the API, the **interfaces of the shared library**. As the C macros are 
    122 interpolated away at compile time, the interfaces in the ERFA 
     122the API, the **interfaces of the shared library**. As the C macros are
     123interpolated away at compile time, the interfaces in the ERFA
    123124shared library are:
    124125
    125   * The names, return types, number of arguments and types of the functions 
    126  
     126  * The names, return types, number of arguments and types of the functions
     127
    127128Again, the release manager has to review the relevant information:
    128129
     
    130131  * relevant bug reports in the github project page
    131132
    132 The shared library version info is stored in three numbers called *current*, 
    133 *revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO` 
     133The shared library version info is stored in three numbers called *current*,
     134*revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO`
    134135in the mentioned order.
    135136
     
    137138
    138139  * if there is a backwards incompatible change (function removed, types of
    139     arguments altered...) then increase CURRENT by one and set 
     140    arguments altered...) then increase CURRENT by one and set
    140141    the others to zero (c,r,a -> c+1,0,0).
    141142  * else if there is backwards compatible change (new function added)
    142     then increase both CURRENT and AGE by one, set REVISON to zero 
     143    then increase both CURRENT and AGE by one, set REVISON to zero
    143144    (c,r,a -> c+1,0,a+1).
    144145  * else if the library code has been modified at all
     
    165166  and age are incremented).
    166167
    167 * SOFA makes a new relase fixing some bugs in the code without changing the 
     168* SOFA makes a new relase fixing some bugs in the code without changing the
    168169  API. New package version is 2.1.1. The shared library version is 2,1,1
    169170
     
    174175  The new package version is 2.2.0. The shared library version is 3,0,2
    175176
    176 * SOFA makes a new release removing functions. This is a backawars 
     177* SOFA makes a new release removing functions. This is a backawars
    177178  incompatible change, so the new package will
    178179  have version 3.0.0 and the shared library version info will be 4,0,0
  • trunk/FACT++/erfa/configure.ac

    r18711 r18921  
    33AC_PREREQ([2.68])
    44## Follow the instructions in RELEASE.rst to change package version
    5 AC_INIT([erfa],[1.3.0])
     5AC_INIT([erfa],[1.4.0])
    66AC_CONFIG_SRCDIR([src/erfa.h])
    77AC_CONFIG_HEADER([config.h])
     
    1818## Revision is the version of the current interface
    1919## Follow the instructions in RELEASE.rst to change the version info
    20 ERFA_LIB_VERSION_INFO(4, 0, 3)
     20ERFA_LIB_VERSION_INFO(5, 0, 4)
     21
     22## SOFA version, update if needed in new relases
     23AC_DEFINE([SOFA_VERSION], ["20170420"], [Define to the version of SOFA])
    2124
    2225# Checks for libraries.
  • trunk/FACT++/erfa/src/Makefile.am

    r18711 r18921  
    2727tcgtt.c tdbtcb.c tdbtt.c tf2a.c tf2d.c tr.c trxp.c trxpv.c tttai.c \
    2828tttcg.c tttdb.c ttut1.c ut1tai.c ut1tt.c ut1utc.c utctai.c utcut1.c \
    29 xy06.c xys00a.c xys00b.c xys06a.c zp.c zpv.c zr.c
     29xy06.c xys00a.c xys00b.c xys06a.c zp.c zpv.c zr.c \
     30erfaversion.c
    3031
    31 include_HEADERS = erfa.h erfam.h
     32include_HEADERS = erfa.h erfam.h erfaextra.h
    3233
    3334## Version info is in current : revision : age form
  • trunk/FACT++/erfa/src/a2af.c

    r18711 r18921  
    5252**     by testing for idmsf[0]=360 and setting idmsf[0-3] to zero.
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    6969** 
    7070** 
    71 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     71**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7272**  All rights reserved.
    7373** 
  • trunk/FACT++/erfa/src/a2tf.c

    r18711 r18921  
    5252**     by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero.
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    6565** 
    6666** 
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  All rights reserved.
    6969** 
  • trunk/FACT++/erfa/src/ab.c

    r18711 r18921  
    4949**     eraPdp       scalar product of two p-vectors
    5050**
    51 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     51**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5252**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5353*/
     
    7777** 
    7878** 
    79 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     79**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8080**  All rights reserved.
    8181** 
  • trunk/FACT++/erfa/src/af2a.c

    r18711 r18921  
    3535**      first, the smallest taking precedence.
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5656** 
    5757** 
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  All rights reserved.
    6060** 
  • trunk/FACT++/erfa/src/anp.c

    r18711 r18921  
    1515**              double     angle in range 0-2pi
    1616**
    17 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     17**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1818**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1919*/
     
    3131** 
    3232** 
    33 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     33**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3434**  All rights reserved.
    3535** 
  • trunk/FACT++/erfa/src/anpm.c

    r18711 r18921  
    1515**              double     angle in range +/-pi
    1616**
    17 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     17**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1818**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1919*/
     
    3131** 
    3232** 
    33 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     33**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3434**  All rights reserved.
    3535** 
  • trunk/FACT++/erfa/src/apcg.c

    r18711 r18921  
    103103**     eraApcs      astrometry parameters, ICRS-GCRS, space observer
    104104**
    105 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     105**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    106106**  Derived, with permission, from the SOFA library.  See notes at end of file.
    107107*/
     
    121121** 
    122122** 
    123 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     123**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    124124**  All rights reserved.
    125125** 
  • trunk/FACT++/erfa/src/apcg13.c

    r18711 r18921  
    105105**     eraApcg      astrometry parameters, ICRS-GCRS, geocenter
    106106**
    107 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     107**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    108108**  Derived, with permission, from the SOFA library.  See notes at end of file.
    109109*/
     
    124124** 
    125125** 
    126 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     126**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    127127**  All rights reserved.
    128128** 
  • trunk/FACT++/erfa/src/apci.c

    r18711 r18921  
    113113**     eraC2ixys    celestial-to-intermediate matrix, given X,Y and s
    114114**
    115 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     115**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    116116**  Derived, with permission, from the SOFA library.  See notes at end of file.
    117117*/
     
    130130** 
    131131** 
    132 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     132**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    133133**  All rights reserved.
    134134** 
  • trunk/FACT++/erfa/src/apci13.c

    r18711 r18921  
    111111**     eraEors      equation of the origins, given NPB matrix and s
    112112**
    113 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     113**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    114114**  Derived, with permission, from the SOFA library.  See notes at end of file.
    115115*/
     
    142142** 
    143143** 
    144 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     144**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    145145**  All rights reserved.
    146146** 
  • trunk/FACT++/erfa/src/apco.c

    r18711 r18921  
    153153**     eraCr        copy r-matrix
    154154**
    155 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     155**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    156156**  Derived, with permission, from the SOFA library.  See notes at end of file.
    157157*/
     
    204204** 
    205205** 
    206 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     206**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    207207**  All rights reserved.
    208208** 
  • trunk/FACT++/erfa/src/apco13.c

    r18711 r18921  
    174174**     eraEors      equation of the origins, given NPB matrix and s
    175175**
    176 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     176**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    177177**  Derived, with permission, from the SOFA library.  See notes at end of file.
    178178*/
     
    227227** 
    228228** 
    229 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     229**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    230230**  All rights reserved.
    231231** 
  • trunk/FACT++/erfa/src/apcs.c

    r18711 r18921  
    123123**     eraIr        initialize r-matrix to identity
    124124**
    125 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     125**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    126126**  Derived, with permission, from the SOFA library.  See notes at end of file.
    127127*/
     
    130130   const double AUDMS = ERFA_DAU/ERFA_DAYSEC;
    131131
    132 /* Light time for 1 AU (day) */
     132/* Light time for 1 au (day) */
    133133   const double CR = ERFA_AULT/ERFA_DAYSEC;
    134134
     
    173173** 
    174174** 
    175 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     175**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    176176**  All rights reserved.
    177177** 
  • trunk/FACT++/erfa/src/apcs13.c

    r18711 r18921  
    112112**     eraApcs      astrometry parameters, ICRS-GCRS, space observer
    113113**
    114 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     114**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    115115**  Derived, with permission, from the SOFA library.  See notes at end of file.
    116116*/
     
    131131** 
    132132** 
    133 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     133**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    134134**  All rights reserved.
    135135** 
  • trunk/FACT++/erfa/src/aper.c

    r18711 r18921  
    9090**     transformation), and atmospheric refraction.
    9191**
    92 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     92**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9393**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9494*/
     
    102102** 
    103103** 
    104 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     104**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    105105**  All rights reserved.
    106106** 
  • trunk/FACT++/erfa/src/aper13.c

    r18711 r18921  
    109109**     eraEra00     Earth rotation angle, IAU 2000
    110110**
    111 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     111**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    112112**  Derived, with permission, from the SOFA library.  See notes at end of file.
    113113*/
     
    121121** 
    122122** 
    123 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     123**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    124124**  All rights reserved.
    125125** 
  • trunk/FACT++/erfa/src/apio.c

    r18711 r18921  
    114114**     eraAper      astrometry parameters: update ERA
    115115**
    116 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     116**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    117117**  Derived, with permission, from the SOFA library.  See notes at end of file.
    118118*/
     
    153153** 
    154154** 
    155 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     155**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    156156**  All rights reserved.
    157157** 
  • trunk/FACT++/erfa/src/apio13.c

    r18711 r18921  
    163163**     eraApio      astrometry parameters, CIRS-observed
    164164**
    165 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     165**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    166166**  Derived, with permission, from the SOFA library.  See notes at end of file.
    167167*/
     
    199199** 
    200200** 
    201 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     201**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    202202**  All rights reserved.
    203203** 
  • trunk/FACT++/erfa/src/atci13.c

    r18711 r18921  
    3636**  3) The TDB date date1+date2 is a Julian Date, apportioned in any
    3737**     convenient way between the two arguments.  For example,
    38 **     JD(TDB)=2450123.8g could be expressed in any of these ways, among
     38**     JD(TDB)=2450123.7 could be expressed in any of these ways, among
    3939**     others:
    4040**
    4141**            date1          date2
    4242**
    43 **         2450123.8g           0.0       (JD method)
     43**         2450123.7           0.0       (JD method)
    4444**         2451545.0       -1421.3       (J2000 method)
    4545**         2400000.5       50123.2       (MJD method)
     
    7979**     eraAtciq     quick ICRS to CIRS
    8080**
    81 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     81**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8282**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8383*/
     
    9999** 
    100100** 
    101 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     101**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    102102**  All rights reserved.
    103103** 
  • trunk/FACT++/erfa/src/atciq.c

    r18711 r18921  
    6565**     eraAnp       normalize angle into range 0 to 2pi
    6666**
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6969*/
     
    9494** 
    9595** 
    96 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     96**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9797**  All rights reserved.
    9898** 
  • trunk/FACT++/erfa/src/atciqn.c

    r18711 r18921  
    102102**     eraAnp       normalize angle into range 0 to 2pi
    103103**
    104 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     104**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    105105**  Derived, with permission, from the SOFA library.  See notes at end of file.
    106106*/
     
    131131** 
    132132** 
    133 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     133**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    134134**  All rights reserved.
    135135** 
  • trunk/FACT++/erfa/src/atciqz.c

    r18711 r18921  
    6464**     eraAnp       normalize angle into range +/- pi
    6565**
    66 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     66**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6767**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6868*/
     
    9393** 
    9494** 
    95 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     95**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9696**  All rights reserved.
    9797** 
  • trunk/FACT++/erfa/src/atco13.c

    r18711 r18921  
    152152**     eraAtioq     quick CIRS to observed
    153153**
    154 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     154**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    155155**  Derived, with permission, from the SOFA library.  See notes at end of file.
    156156*/
     
    183183** 
    184184** 
    185 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     185**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    186186**  All rights reserved.
    187187** 
  • trunk/FACT++/erfa/src/atic13.c

    r18711 r18921  
    7272**     eraAticq     quick CIRS to ICRS astrometric
    7373**
    74 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     74**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7575**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7676*/
     
    9292** 
    9393** 
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  All rights reserved.
    9696** 
  • trunk/FACT++/erfa/src/aticq.c

    r18711 r18921  
    6060**     eraAnp       normalize angle into range +/- pi
    6161**
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6464*/
     
    139139** 
    140140** 
    141 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     141**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    142142**  All rights reserved.
    143143** 
  • trunk/FACT++/erfa/src/aticqn.c

    r18711 r18921  
    9898**     eraAnp       normalize angle into range +/- pi
    9999**
    100 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     100**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    101101**  Derived, with permission, from the SOFA library.  See notes at end of file.
    102102*/
     
    177177** 
    178178** 
    179 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     179**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    180180**  All rights reserved.
    181181** 
  • trunk/FACT++/erfa/src/atio13.c

    r18711 r18921  
    135135**     eraAtioq     quick CIRS to observed
    136136**
    137 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     137**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    138138**  Derived, with permission, from the SOFA library.  See notes at end of file.
    139139*/
     
    162162** 
    163163** 
    164 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     164**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    165165**  All rights reserved.
    166166** 
  • trunk/FACT++/erfa/src/atioq.c

    r18711 r18921  
    9696**     eraAnp       normalize angle into range 0 to 2pi
    9797**
    98 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     98**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9999**  Derived, with permission, from the SOFA library.  See notes at end of file.
    100100*/
     
    183183** 
    184184** 
    185 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     185**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    186186**  All rights reserved.
    187187** 
  • trunk/FACT++/erfa/src/atoc13.c

    r18711 r18921  
    142142**     eraAticq     quick CIRS to ICRS
    143143**
    144 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     144**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    145145**  Derived, with permission, from the SOFA library.  See notes at end of file.
    146146*/
     
    173173** 
    174174** 
    175 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     175**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    176176**  All rights reserved.
    177177** 
  • trunk/FACT++/erfa/src/atoi13.c

    r18711 r18921  
    141141**     eraAtoiq     quick observed to CIRS
    142142**
    143 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     143**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    144144**  Derived, with permission, from the SOFA library.  See notes at end of file.
    145145*/
     
    168168** 
    169169** 
    170 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     170**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    171171**  All rights reserved.
    172172** 
  • trunk/FACT++/erfa/src/atoiq.c

    r18711 r18921  
    8989**     eraAnp       normalize angle into range 0 to 2pi
    9090**
    91 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     91**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9292**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9393*/
     
    200200** 
    201201** 
    202 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     202**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    203203**  All rights reserved.
    204204** 
  • trunk/FACT++/erfa/src/bi00.c

    r18711 r18921  
    4242**     from ftp://maia.usno.navy.mil/conv2000/chapter5/IAU2000A.
    4343**
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4646*/
     
    6565** 
    6666** 
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  All rights reserved.
    6969** 
  • trunk/FACT++/erfa/src/bp00.c

    r18711 r18921  
    7171**          intermediate origin" (CIO) by IAU 2006 Resolution 2.
    7272**
    73 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     73**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7474**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7575*/
     
    121121** 
    122122** 
    123 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     123**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    124124**  All rights reserved.
    125125** 
  • trunk/FACT++/erfa/src/bp06.c

    r18711 r18921  
    6565**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    6666**
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6969*/
     
    9292** 
    9393** 
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  All rights reserved.
    9696** 
  • trunk/FACT++/erfa/src/bpn2xy.c

    r18711 r18921  
    3535**          intermediate origin" (CIO) by IAU 2006 Resolution 2.
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    4949** 
    5050** 
    51 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     51**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5252**  All rights reserved.
    5353** 
  • trunk/FACT++/erfa/src/c2i00a.c

    r18711 r18921  
    6969**     IERS Technical Note No. 32, BKG (2004)
    7070**
    71 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     71**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7272**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7373*/
     
    8888** 
    8989** 
    90 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     90**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9191**  All rights reserved.
    9292** 
  • trunk/FACT++/erfa/src/c2i00b.c

    r18711 r18921  
    6969**     IERS Technical Note No. 32, BKG (2004)
    7070**
    71 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     71**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7272**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7373*/
     
    8888** 
    8989** 
    90 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     90**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9191**  All rights reserved.
    9292** 
  • trunk/FACT++/erfa/src/c2i06a.c

    r18711 r18921  
    6060**     IERS Technical Note No. 32, BKG
    6161**
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6464*/
     
    8585** 
    8686** 
    87 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     87**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8888**  All rights reserved.
    8989** 
  • trunk/FACT++/erfa/src/c2ibpn.c

    r18711 r18921  
    7272**     IERS Technical Note No. 32, BKG (2004)
    7373**
    74 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     74**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7575**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7676*/
     
    9191** 
    9292** 
    93 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     93**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9494**  All rights reserved.
    9595** 
  • trunk/FACT++/erfa/src/c2ixy.c

    r18711 r18921  
    6666**     IERS Technical Note No. 32, BKG (2004)
    6767**
    68 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     68**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6969**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7070*/
     
    8080** 
    8181** 
    82 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     82**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8383**  All rights reserved.
    8484** 
  • trunk/FACT++/erfa/src/c2ixys.c

    r18711 r18921  
    4848**     IERS Technical Note No. 32, BKG (2004)
    4949**
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5252*/
     
    7272** 
    7373** 
    74 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     74**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7575**  All rights reserved.
    7676** 
  • trunk/FACT++/erfa/src/c2s.c

    r18711 r18921  
    2424**  3) At either pole, zero theta is returned.
    2525**
    26 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     26**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2727**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2828*/
     
    4545** 
    4646** 
    47 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     47**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4848**  All rights reserved.
    4949** 
  • trunk/FACT++/erfa/src/c2t00a.c

    r18711 r18921  
    7575**     IERS Technical Note No. 32, BKG (2004)
    7676**
    77 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     77**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7878**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7979*/
     
    103103** 
    104104** 
    105 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     105**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    106106**  All rights reserved.
    107107** 
  • trunk/FACT++/erfa/src/c2t00b.c

    r18711 r18921  
    7474**     IERS Technical Note No. 32, BKG (2004)
    7575**
    76 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     76**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7777**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7878*/
     
    9999** 
    100100** 
    101 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     101**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    102102**  All rights reserved.
    103103** 
  • trunk/FACT++/erfa/src/c2t06a.c

    r18711 r18921  
    7373**     IERS Technical Note No. 32, BKG
    7474**
    75 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     75**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7676**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7777*/
     
    101101** 
    102102** 
    103 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     103**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    104104**  All rights reserved.
    105105** 
  • trunk/FACT++/erfa/src/c2tcio.c

    r18711 r18921  
    5353**     IERS Technical Note No. 32, BKG
    5454**
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5757*/
     
    7171** 
    7272** 
    73 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     73**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7474**  All rights reserved.
    7575** 
  • trunk/FACT++/erfa/src/c2teqx.c

    r18711 r18921  
    5353**     IERS Technical Note No. 32, BKG (2004)
    5454**
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5757*/
     
    7171** 
    7272** 
    73 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     73**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7474**  All rights reserved.
    7575** 
  • trunk/FACT++/erfa/src/c2tpe.c

    r18711 r18921  
    8484**     IERS Technical Note No. 32, BKG (2004)
    8585**
    86 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     86**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8787**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8888*/
     
    116116** 
    117117** 
    118 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     118**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    119119**  All rights reserved.
    120120** 
  • trunk/FACT++/erfa/src/c2txy.c

    r18711 r18921  
    8080**     IERS Technical Note No. 32, BKG (2004)
    8181**
    82 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     82**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8383**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8484*/
     
    108108** 
    109109** 
    110 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     110**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    111111**  All rights reserved.
    112112** 
  • trunk/FACT++/erfa/src/cal2jd.c

    r18711 r18921  
    4444**     Section 12.92 (p604).
    4545**
    46 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     46**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4747**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4848*/
     
    8888** 
    8989** 
    90 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     90**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9191**  All rights reserved.
    9292** 
  • trunk/FACT++/erfa/src/cp.c

    r18711 r18921  
    1515**     c        double[3]     copy
    1616**
    17 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     17**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1818**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1919*/
     
    2929** 
    3030** 
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  All rights reserved.
    3333** 
  • trunk/FACT++/erfa/src/cpv.c

    r18711 r18921  
    1818**     eraCp        copy p-vector
    1919**
    20 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     20**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2121**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2222*/
     
    3131** 
    3232** 
    33 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     33**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3434**  All rights reserved.
    3535** 
  • trunk/FACT++/erfa/src/cr.c

    r18711 r18921  
    1818**     eraCp        copy p-vector
    1919**
    20 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     20**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2121**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2222*/
     
    3232** 
    3333** 
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  All rights reserved.
    3636** 
  • trunk/FACT++/erfa/src/d2dtf.c

    r18711 r18921  
    7272**     eraDat       delta(AT) = TAI-UTC
    7373**
    74 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     74**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7575**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7676*/
     
    185185** 
    186186** 
    187 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     187**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    188188**  All rights reserved.
    189189** 
  • trunk/FACT++/erfa/src/d2tf.c

    r18711 r18921  
    4949**     by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero.
    5050**
    51 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     51**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5252**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5353*/
     
    109109** 
    110110** 
    111 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     111**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    112112**  All rights reserved.
    113113** 
  • trunk/FACT++/erfa/src/dat.c

    r18711 r18921  
    7878**
    7979**  2) If the specified date is for a day which ends with a leap second,
    80 **     the UTC-TAI value returned is for the period leading up to the
     80**     the TAI-UTC value returned is for the period leading up to the
    8181**     leap second.  If the date is for a day which begins as a leap
    82 **     second ends, the UTC-TAI returned is for the period following the
     82**     second ends, the TAI-UTC returned is for the period following the
    8383**     leap second.
    8484**
     
    116116**     eraCal2jd    Gregorian calendar to JD
    117117**
    118 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     118**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    119119**  Derived, with permission, from the SOFA library.  See notes at end of file.
    120120*/
     
    246246** 
    247247** 
    248 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     248**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    249249**  All rights reserved.
    250250** 
  • trunk/FACT++/erfa/src/dtdb.c

    r18711 r18921  
    158158**     Francou, G. & Laskar, J., Astron.Astrophys., 282, 663-683 (1994).
    159159**
    160 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     160**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    161161**  Derived, with permission, from the SOFA library.  See notes at end of file.
    162162*/
     
    11621162** 
    11631163** 
    1164 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     1164**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    11651165**  All rights reserved.
    11661166** 
  • trunk/FACT++/erfa/src/dtf2d.c

    r18711 r18921  
    7676**     eraJd2cal    JD to Gregorian calendar
    7777**
    78 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     78**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7979**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8080*/
     
    152152** 
    153153** 
    154 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     154**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    155155**  All rights reserved.
    156156** 
  • trunk/FACT++/erfa/src/ee00.c

    r18711 r18921  
    6161**     IERS Technical Note No. 32, BKG (2004)
    6262**
    63 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     63**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6464**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6565*/
     
    7777** 
    7878** 
    79 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     79**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8080**  All rights reserved.
    8181** 
  • trunk/FACT++/erfa/src/ee00a.c

    r18711 r18921  
    5959**     IERS Technical Note No. 32, BKG (2004).
    6060**
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6363*/
     
    8484** 
    8585** 
    86 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     86**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8787**  All rights reserved.
    8888** 
  • trunk/FACT++/erfa/src/ee00b.c

    r18711 r18921  
    6565**     IERS Technical Note No. 32, BKG (2004)
    6666**
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6969*/
     
    9090** 
    9191** 
    92 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     92**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9393**  All rights reserved.
    9494** 
  • trunk/FACT++/erfa/src/ee06a.c

    r18711 r18921  
    5151**     IERS Technical Note No. 32, BKG
    5252**
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5555*/
     
    7171** 
    7272** 
    73 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     73**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7474**  All rights reserved.
    7575** 
  • trunk/FACT++/erfa/src/eect00.c

    r18711 r18921  
    9292**     IERS Technical Note No. 32, BKG (2004)
    9393**
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9696*/
     
    231231** 
    232232** 
    233 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     233**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    234234**  All rights reserved.
    235235** 
  • trunk/FACT++/erfa/src/eform.c

    r18711 r18921  
    5656**     p220.
    5757**
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6060*/
     
    9595** 
    9696** 
    97 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     97**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9898**  All rights reserved.
    9999** 
  • trunk/FACT++/erfa/src/eo06a.c

    r18711 r18921  
    5555**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    5656**
    57 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     57**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5858**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5959*/
     
    8080** 
    8181** 
    82 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     82**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8383**  All rights reserved.
    8484** 
  • trunk/FACT++/erfa/src/eors.c

    r18711 r18921  
    3434**     Wallace, P. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    3535**
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3838*/
     
    5757** 
    5858** 
    59 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     59**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6060**  All rights reserved.
    6161** 
  • trunk/FACT++/erfa/src/epb.c

    r18711 r18921  
    2727**     Lieske, J.H., 1979. Astron.Astrophys., 73, 282.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4040** 
    4141** 
    42 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     42**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4343**  All rights reserved.
    4444** 
  • trunk/FACT++/erfa/src/epb2jd.c

    r18711 r18921  
    2727**     Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4040** 
    4141** 
    42 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     42**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4343**  All rights reserved.
    4444** 
  • trunk/FACT++/erfa/src/epj.c

    r18711 r18921  
    2727**     Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/epj2jd.c

    r18711 r18921  
    2727**     Lieske, J.H., 1979, Astron.Astrophys. 73, 282.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4040** 
    4141** 
    42 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     42**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4343**  All rights reserved.
    4444** 
  • trunk/FACT++/erfa/src/epv00.c

    r18711 r18921  
    5151**
    5252**        pvh[0][0]  x       }
    53 **        pvh[0][1]  y       } heliocentric position, AU
     53**        pvh[0][1]  y       } heliocentric position, au
    5454**        pvh[0][2]  z       }
    5555**
    5656**        pvh[1][0]  xdot    }
    57 **        pvh[1][1]  ydot    } heliocentric velocity, AU/d
     57**        pvh[1][1]  ydot    } heliocentric velocity, au/d
    5858**        pvh[1][2]  zdot    }
    5959**
    6060**        pvb[0][0]  x       }
    61 **        pvb[0][1]  y       } barycentric position, AU
     61**        pvb[0][1]  y       } barycentric position, au
    6262**        pvb[0][2]  z       }
    6363**
    6464**        pvb[1][0]  xdot    }
    65 **        pvb[1][1]  ydot    } barycentric velocity, AU/d
     65**        pvb[1][1]  ydot    } barycentric velocity, au/d
    6666**        pvb[1][2]  zdot    }
    6767**
     
    9595**     will receive the barycentric values.
    9696**
    97 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     97**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9898**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9999*/
     
    25382538** 
    25392539** 
    2540 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     2540**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    25412541**  All rights reserved.
    25422542** 
  • trunk/FACT++/erfa/src/eqeq94.c

    r18711 r18921  
    5252**     645-650.
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    8181** 
    8282** 
    83 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     83**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8484**  All rights reserved.
    8585** 
  • trunk/FACT++/erfa/src/era00.c

    r18711 r18921  
    5555**     IERS Technical Note No. 32, BKG (2004)
    5656**
    57 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     57**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5858**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5959*/
     
    8585** 
    8686** 
    87 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     87**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8888**  All rights reserved.
    8989** 
  • trunk/FACT++/erfa/src/erfa.h

    r18711 r18921  
    99**  Prototype function declarations for ERFA library.
    1010**
    11 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     11**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1212**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1313*/
     
    451451#endif
    452452
     453
     454#include "erfaextra.h"
     455
    453456#endif
    454457
     
    457460** 
    458461** 
    459 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     462**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    460463**  All rights reserved.
    461464** 
  • trunk/FACT++/erfa/src/erfam.h

    r18711 r18921  
    99**  Macros used by ERFA library.
    1010**
    11 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     11**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1212**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1313*/
     
    9999#define ERFA_TTMTAI (32.184)
    100100
    101 /* Astronomical unit (m) */
    102 #define ERFA_DAU (149597870e3)
     101/* Astronomical unit (m, IAU 2012) */
     102#define ERFA_DAU (149597870.7e3)
    103103
    104104/* Speed of light (m/s) */
     
    106106
    107107/* Light time for 1 au (s) */
    108 #define ERFA_AULT 499.004782
    109 
    110 /* Speed of light (AU per day) */
    111 #define ERFA_DC (ERFA_DAYSEC / ERFA_AULT)
     108#define ERFA_AULT (ERFA_DAU/ERFA_CMPS)
     109
     110/* Speed of light (au per day) */
     111#define ERFA_DC (ERFA_DAYSEC/ERFA_AULT)
    112112
    113113/* L_G = 1 - d(TT)/d(TCG) */
     
    148148** 
    149149** 
    150 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     150**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    151151**  All rights reserved.
    152152** 
  • trunk/FACT++/erfa/src/fad03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    5252** 
    5353** 
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  All rights reserved.
    5656** 
  • trunk/FACT++/erfa/src/fae03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/faf03.c

    r18711 r18921  
    3333**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3434**
    35 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     35**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3636**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3737*/
     
    5555** 
    5656** 
    57 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     57**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5858**  All rights reserved.
    5959** 
  • trunk/FACT++/erfa/src/faju03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/fal03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    5252** 
    5353** 
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  All rights reserved.
    5656** 
  • trunk/FACT++/erfa/src/falp03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    5252** 
    5353** 
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  All rights reserved.
    5656** 
  • trunk/FACT++/erfa/src/fama03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/fame03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/fane03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    4848** 
    4949** 
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  All rights reserved.
    5252** 
  • trunk/FACT++/erfa/src/faom03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    5353** 
    5454** 
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  All rights reserved.
    5757** 
  • trunk/FACT++/erfa/src/fapa03.c

    r18711 r18921  
    3636**     IERS Technical Note No. 32, BKG (2004)
    3737**
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4040*/
     
    5252** 
    5353** 
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  All rights reserved.
    5656** 
  • trunk/FACT++/erfa/src/fasa03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/faur03.c

    r18711 r18921  
    3232**     Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683
    3333**
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3636*/
     
    4848** 
    4949** 
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  All rights reserved.
    5252** 
  • trunk/FACT++/erfa/src/fave03.c

    r18711 r18921  
    3535**     Astron.Astrophys.Supp.Ser. 135, 111
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/fk52h.c

    r18711 r18921  
    5454**     F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
    5555**
    56 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     56**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5757**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5858*/
     
    9292** 
    9393** 
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  All rights reserved.
    9696** 
  • trunk/FACT++/erfa/src/fk5hip.c

    r18711 r18921  
    3737**     F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
    3838**
    39 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     39**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4040**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4141*/
     
    7575** 
    7676** 
    77 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     77**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7878**  All rights reserved.
    7979** 
  • trunk/FACT++/erfa/src/fk5hz.c

    r18711 r18921  
    7070**     F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739.
    7171**
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7474*/
     
    109109** 
    110110** 
    111 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     111**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    112112**  All rights reserved.
    113113** 
  • trunk/FACT++/erfa/src/fw2m.c

    r18711 r18921  
    6666**     Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
    6767**
    68 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     68**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6969**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7070*/
     
    8383** 
    8484** 
    85 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     85**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8686**  All rights reserved.
    8787** 
  • trunk/FACT++/erfa/src/fw2xy.c

    r18711 r18921  
    5151**     Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
    5252**
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5555*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/g2icrs.c

    r18711 r18921  
    6262**     Publications Division, Noordwijk, Netherlands.
    6363**
    64 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     64**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6565**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6666*/
     
    110110** 
    111111** 
    112 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     112**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    113113**  All rights reserved.
    114114** 
  • trunk/FACT++/erfa/src/gc2gd.c

    r18711 r18921  
    5252**     eraGc2gde    geocentric to geodetic transformation, general
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    8383** 
    8484** 
    85 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     85**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8686**  All rights reserved.
    8787** 
  • trunk/FACT++/erfa/src/gc2gde.c

    r18711 r18921  
    5757**     79: 689-693
    5858**
    59 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     59**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6060**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6161*/
     
    148148** 
    149149** 
    150 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     150**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    151151**  All rights reserved.
    152152** 
  • trunk/FACT++/erfa/src/gd2gc.c

    r18711 r18921  
    5555**     eraZp        zero p-vector
    5656**
    57 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     57**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5858**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5959*/
     
    8282** 
    8383** 
    84 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     84**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8585**  All rights reserved.
    8686** 
  • trunk/FACT++/erfa/src/gd2gce.c

    r18711 r18921  
    5656**     Section 4.22, p202.
    5757**
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6060*/
     
    8686** 
    8787** 
    88 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     88**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8989**  All rights reserved.
    9090** 
  • trunk/FACT++/erfa/src/gmst00.c

    r18711 r18921  
    6969**     IERS Technical Note No. 32, BKG (2004)
    7070**
    71 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     71**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7272**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7373*/
     
    9494** 
    9595** 
    96 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     96**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9797**  All rights reserved.
    9898** 
  • trunk/FACT++/erfa/src/gmst06.c

    r18711 r18921  
    5959**     Astron.Astrophys. 432, 355
    6060**
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6363*/
     
    8585** 
    8686** 
    87 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     87**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8888**  All rights reserved.
    8989** 
  • trunk/FACT++/erfa/src/gmst82.c

    r18711 r18921  
    6161**     Aoki et al., Astron. Astrophys. 105, 359-361 (1982).
    6262**
    63 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     63**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6464**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6565*/
     
    100100** 
    101101** 
    102 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     102**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    103103**  All rights reserved.
    104104** 
  • trunk/FACT++/erfa/src/gst00a.c

    r18711 r18921  
    7070**     IERS Technical Note No. 32, BKG (2004)
    7171**
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7474*/
     
    8787** 
    8888** 
    89 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     89**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9090**  All rights reserved.
    9191** 
  • trunk/FACT++/erfa/src/gst00b.c

    r18711 r18921  
    7878**     IERS Technical Note No. 32, BKG (2004)
    7979**
    80 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     80**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8181**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8282*/
     
    9595** 
    9696** 
    97 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     97**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9898**  All rights reserved.
    9999** 
  • trunk/FACT++/erfa/src/gst06.c

    r18711 r18921  
    6565**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    6666**
    67 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     67**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6868**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6969*/
     
    8989** 
    9090** 
    91 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     91**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9292**  All rights reserved.
    9393** 
  • trunk/FACT++/erfa/src/gst06a.c

    r18711 r18921  
    6161**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    6262**
    63 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     63**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6464**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6565*/
     
    8080** 
    8181** 
    82 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     82**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8383**  All rights reserved.
    8484** 
  • trunk/FACT++/erfa/src/gst94.c

    r18711 r18921  
    6363**     IAU Resolution C7, Recommendation 3 (1994)
    6464**
    65 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     65**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6666**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6767*/
     
    8080** 
    8181** 
    82 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     82**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8383**  All rights reserved.
    8484** 
  • trunk/FACT++/erfa/src/h2fk5.c

    r18711 r18921  
    5656**     F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000).
    5757**
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6060*/
     
    9797** 
    9898** 
    99 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     99**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    100100**  All rights reserved.
    101101** 
  • trunk/FACT++/erfa/src/hfk5z.c

    r18711 r18921  
    7575**     F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739.
    7676**
    77 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     77**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7878**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7979*/
     
    124124** 
    125125** 
    126 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     126**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    127127**  All rights reserved.
    128128** 
  • trunk/FACT++/erfa/src/icrs2g.c

    r18711 r18921  
    6262**     Publications Division, Noordwijk, Netherlands.
    6363**
    64 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     64**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6565**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6666*/
     
    110110** 
    111111** 
    112 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     112**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    113113**  All rights reserved.
    114114** 
  • trunk/FACT++/erfa/src/ir.c

    r18711 r18921  
    1212**     r       double[3][3]    r-matrix
    1313**
    14 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     14**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1515**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1616*/
     
    3232** 
    3333** 
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  All rights reserved.
    3636** 
  • trunk/FACT++/erfa/src/jd2cal.c

    r18711 r18921  
    2222**               int      status:
    2323**                           0 = OK
    24 **                          -1 = unacceptable date (Note 3)
     24**                          -1 = unacceptable date (Note 1)
    2525**
    2626**  Notes:
     
    5151**     Section 12.92 (p604).
    5252**
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5555*/
     
    8282   f = fmod(f1 + f2, 1.0);
    8383   if (f < 0.0) f += 1.0;
    84    d = floor(d1 - f1) + floor(d2 - f2) + floor(f1 + f2 - f);
    85    jd = (long) floor(d) + 1L;
     84   d = ERFA_DNINT(d1-f1) + ERFA_DNINT(d2-f2) + ERFA_DNINT(f1+f2-f);
     85   jd = (long) ERFA_DNINT(d) + 1L;
    8686
    8787/* Express day in Gregorian calendar. */
     
    104104** 
    105105** 
    106 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     106**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    107107**  All rights reserved.
    108108** 
  • trunk/FACT++/erfa/src/jdcalf.c

    r18711 r18921  
    5656**     Section 12.92 (p604).
    5757**
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6060*/
     
    8686   f1 = fmod(d1, 1.0);
    8787   f2 = fmod(d2, 1.0);
    88    d1 = floor(d1 - f1);
    89    d2 = floor(d2 - f2);
     88   d1 = ERFA_DNINT(d1-f1);
     89   d2 = ERFA_DNINT(d2-f2);
    9090
    9191/* Round the total fraction to the specified number of places. */
    92    f = floor((f1+f2)*denom + 0.5) / denom;
     92   f = ERFA_DNINT((f1+f2)*denom) / denom;
    9393
    9494/* Re-assemble the rounded date and re-align to noon. */
     
    110110** 
    111111** 
    112 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     112**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    113113**  All rights reserved.
    114114** 
  • trunk/FACT++/erfa/src/ld.c

    r18711 r18921  
    6969**     eraPxp       vector product of two p-vectors
    7070**
    71 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     71**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7272**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7373*/
     
    101101** 
    102102** 
    103 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     103**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    104104**  All rights reserved.
    105105** 
  • trunk/FACT++/erfa/src/ldn.c

    r18711 r18921  
    7979**     eraLd        light deflection by a solar-system body
    8080**
    81 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     81**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8282**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8383*/
    8484{
    85 /* Light time for 1 AU (days) */
     85/* Light time for 1 au (days) */
    8686   const double CR = ERFA_AULT/ERFA_DAYSEC;
    8787
     
    123123** 
    124124** 
    125 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     125**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    126126**  All rights reserved.
    127127** 
  • trunk/FACT++/erfa/src/ldsun.c

    r18711 r18921  
    3434**     eraLd        light deflection by a solar-system body
    3535**
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3838*/
     
    5555** 
    5656** 
    57 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     57**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5858**  All rights reserved.
    5959** 
  • trunk/FACT++/erfa/src/num00a.c

    r18711 r18921  
    5353**     Section 3.222-3 (p114).
    5454**
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5757*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/num00b.c

    r18711 r18921  
    5353**     Section 3.222-3 (p114).
    5454**
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5757*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/num06a.c

    r18711 r18921  
    5252**     Section 3.222-3 (p114).
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    7474** 
    7575** 
    76 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     76**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7777**  All rights reserved.
    7878** 
  • trunk/FACT++/erfa/src/numat.c

    r18711 r18921  
    4242**     Section 3.222-3 (p114).
    4343**
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4646*/
     
    5858** 
    5959** 
    60 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     60**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6161**  All rights reserved.
    6262** 
  • trunk/FACT++/erfa/src/nut00a.c

    r18711 r18921  
    149149**     Resolutions", in IERS Workshop 5.1 (2002)
    150150**
    151 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     151**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    152152**  Derived, with permission, from the SOFA library.  See notes at end of file.
    153153*/
     
    19961996** 
    19971997** 
    1998 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     1998**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    19991999**  All rights reserved.
    20002000** 
  • trunk/FACT++/erfa/src/nut00b.c

    r18711 r18921  
    117117**     Francou, G., Laskar, J., Astron.Astrophys. 282, 663-683 (1994)
    118118**
    119 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     119**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    120120**  Derived, with permission, from the SOFA library.  See notes at end of file.
    121121*/
     
    321321** 
    322322** 
    323 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     323**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    324324**  All rights reserved.
    325325** 
  • trunk/FACT++/erfa/src/nut06a.c

    r18711 r18921  
    7676**     Resolutions", in IERS Workshop 5.1 (2002)
    7777**
    78 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     78**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7979**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8080*/
     
    102102** 
    103103** 
    104 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     104**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    105105**  All rights reserved.
    106106** 
  • trunk/FACT++/erfa/src/nut80.c

    r18711 r18921  
    4949**     Section 3.222 (p111).
    5050**
    51 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     51**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5252**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5353*/
     
    274274** 
    275275** 
    276 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     276**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    277277**  All rights reserved.
    278278** 
  • trunk/FACT++/erfa/src/nutm80.c

    r18711 r18921  
    4646**     eraNumat     form nutation matrix
    4747**
    48 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     48**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4949**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5050*/
     
    6666** 
    6767** 
    68 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     68**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6969**  All rights reserved.
    7070** 
  • trunk/FACT++/erfa/src/obl06.c

    r18711 r18921  
    4343**     Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351
    4444**
    45 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     45**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4646**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4747*/
     
    6767** 
    6868** 
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  All rights reserved.
    7171** 
  • trunk/FACT++/erfa/src/obl80.c

    r18711 r18921  
    4545**     Expression 3.222-1 (p114).
    4646**
    47 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     47**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4848**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4949*/
     
    6767** 
    6868** 
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  All rights reserved.
    7171** 
  • trunk/FACT++/erfa/src/p06e.c

    r18711 r18921  
    121121**     eraObl06     mean obliquity, IAU 2006
    122122**
    123 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     123**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    124124**  Derived, with permission, from the SOFA library.  See notes at end of file.
    125125*/
     
    270270** 
    271271** 
    272 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     272**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    273273**  All rights reserved.
    274274** 
  • trunk/FACT++/erfa/src/p2pv.c

    r18711 r18921  
    1919**     eraZp        zero p-vector
    2020**
    21 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     21**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2222**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2323*/
     
    3232** 
    3333** 
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  All rights reserved.
    3636** 
  • trunk/FACT++/erfa/src/p2s.c

    r18711 r18921  
    2727**     eraPm        modulus of p-vector
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4040** 
    4141** 
    42 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     42**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4343**  All rights reserved.
    4444** 
  • trunk/FACT++/erfa/src/pap.c

    r18711 r18921  
    3838**     eraPdp       scalar product of two p-vectors
    3939**
    40 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     40**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4141**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4242*/
     
    8888** 
    8989** 
    90 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     90**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9191**  All rights reserved.
    9292** 
  • trunk/FACT++/erfa/src/pas.c

    r18711 r18921  
    2727**  2) Zero is returned if the two points are coincident.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    4545** 
    4646** 
    47 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     47**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4848**  All rights reserved.
    4949** 
  • trunk/FACT++/erfa/src/pb06.c

    r18711 r18921  
    6464**     eraRz        rotate around Z-axis
    6565**
    66 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     66**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6767**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6868*/
     
    9393** 
    9494** 
    95 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     95**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9696**  All rights reserved.
    9797** 
  • trunk/FACT++/erfa/src/pdp.c

    r18711 r18921  
    1616**            double        a . b
    1717**
    18 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     18**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1919**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2020*/
     
    3333** 
    3434** 
    35 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     35**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3636**  All rights reserved.
    3737** 
  • trunk/FACT++/erfa/src/pfw06.c

    r18711 r18921  
    7474**     eraObl06     mean obliquity, IAU 2006
    7575**
    76 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     76**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7777**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7878*/
     
    114114** 
    115115** 
    116 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     116**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    117117**  All rights reserved.
    118118** 
  • trunk/FACT++/erfa/src/plan94.c

    r18711 r18921  
    1818**
    1919**  Returned (argument):
    20 **     pv     double[2][3] planet p,v (heliocentric, J2000.0, AU,AU/d)
     20**     pv     double[2][3] planet p,v (heliocentric, J2000.0, au,au/d)
    2121**
    2222**  Returned (function value):
     
    5959**
    6060**        pv[0][0]   x      }
    61 **        pv[0][1]   y      } heliocentric position, AU
     61**        pv[0][1]   y      } heliocentric position, au
    6262**        pv[0][2]   z      }
    6363**
    6464**        pv[1][0]   xdot   }
    65 **        pv[1][1]   ydot   } heliocentric velocity, AU/d
     65**        pv[1][1]   ydot   } heliocentric velocity, au/d
    6666**        pv[1][2]   zdot   }
    6767**
     
    158158**              Astron. Astrophys. 282, 663 (1994).
    159159**
    160 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     160**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    161161**  Derived, with permission, from the SOFA library.  See notes at end of file.
    162162*/
     
    190190** Tables giving the mean Keplerian elements, limited to t^2 terms:
    191191**
    192 **   a       semi-major axis (AU)
     192**   a       semi-major axis (au)
    193193**   dlm     mean longitude (degree and arcsecond)
    194194**   e       eccentricity
     
    417417                                                       cos(ae2));
    418418
    419    /* Distance (AU) and speed (radians per day). */
     419   /* Distance (au) and speed (radians per day). */
    420420      r = da * (1.0 - de * cos(ae));
    421421      v = GK * sqrt((1.0 + 1.0 / amas[np]) / (da * da * da));
     
    434434      xpxq2 = 2 * xp * xq;
    435435
    436    /* Position (J2000.0 ecliptic x,y,z in AU). */
     436   /* Position (J2000.0 ecliptic x,y,z in au). */
    437437      x = r * (xcw - xm2 * xp);
    438438      y = r * (xsw + xm2 * xq);
     
    444444      pv[0][2] = y * SINEPS + z * COSEPS;
    445445
    446    /* Velocity (J2000.0 ecliptic xdot,ydot,zdot in AU/d). */
     446   /* Velocity (J2000.0 ecliptic xdot,ydot,zdot in au/d). */
    447447      x = v * (( -1.0 + 2.0 * xp * xp) * xms + xpxq2 * xmc);
    448448      y = v * ((  1.0 - 2.0 * xq * xq) * xmc - xpxq2 * xms);
     
    463463** 
    464464** 
    465 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     465**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    466466**  All rights reserved.
    467467** 
  • trunk/FACT++/erfa/src/pm.c

    r18711 r18921  
    1515**            double        modulus
    1616**
    17 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     17**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1818**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1919*/
     
    2525** 
    2626** 
    27 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     27**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2828**  All rights reserved.
    2929** 
  • trunk/FACT++/erfa/src/pmat00.c

    r18711 r18921  
    5151**     (2000)
    5252**
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5555*/
     
    6767** 
    6868** 
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  All rights reserved.
    7171** 
  • trunk/FACT++/erfa/src/pmat06.c

    r18711 r18921  
    5252**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    5353**
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5656*/
     
    7171** 
    7272** 
    73 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     73**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7474**  All rights reserved.
    7575** 
  • trunk/FACT++/erfa/src/pmat76.c

    r18711 r18921  
    6767**     Kaplan,G.H., 1981. USNO circular no. 163, pA2.
    6868**
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7171*/
     
    9090** 
    9191** 
    92 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     92**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9393**  All rights reserved.
    9494** 
  • trunk/FACT++/erfa/src/pmp.c

    r18711 r18921  
    2020**     arguments.
    2121**
    22 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     22**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2323**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2424*/
     
    3434** 
    3535** 
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  All rights reserved.
    3838** 
  • trunk/FACT++/erfa/src/pmpx.c

    r18711 r18921  
    4747**     eraPn        decompose p-vector into modulus and direction
    4848**
    49 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     49**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5050**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5151*/
     
    9393** 
    9494** 
    95 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     95**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9696**  All rights reserved.
    9797** 
  • trunk/FACT++/erfa/src/pmsafe.c

    r18711 r18921  
    106106**     eraStarpm    update star catalog data for space motion
    107107**
    108 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     108**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    109109**  Derived, with permission, from the SOFA library.  See notes at end of file.
    110110*/
     
    146146** 
    147147** 
    148 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     148**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    149149**  All rights reserved.
    150150** 
  • trunk/FACT++/erfa/src/pn.c

    r18711 r18921  
    2929**     eraSxp       multiply p-vector by scalar
    3030**
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3333*/
     
    5858** 
    5959** 
    60 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     60**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6161**  All rights reserved.
    6262** 
  • trunk/FACT++/erfa/src/pn00.c

    r18711 r18921  
    9696**          intermediate origin" (CIO) by IAU 2006 Resolution 2.
    9797**
    98 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     98**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9999**  Derived, with permission, from the SOFA library.  See notes at end of file.
    100100*/
     
    126126** 
    127127** 
    128 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     128**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    129129**  All rights reserved.
    130130** 
  • trunk/FACT++/erfa/src/pn00a.c

    r18711 r18921  
    9696**          intermediate origin" (CIO) by IAU 2006 Resolution 2.
    9797**
    98 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     98**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9999**  Derived, with permission, from the SOFA library.  See notes at end of file.
    100100*/
     
    112112** 
    113113** 
    114 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     114**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    115115**  All rights reserved.
    116116** 
  • trunk/FACT++/erfa/src/pn00b.c

    r18711 r18921  
    9696**          intermediate origin" (CIO) by IAU 2006 Resolution 2.
    9797**
    98 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     98**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9999**  Derived, with permission, from the SOFA library.  See notes at end of file.
    100100*/
     
    112112** 
    113113** 
    114 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     114**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    115115**  All rights reserved.
    116116** 
  • trunk/FACT++/erfa/src/pn06.c

    r18711 r18921  
    9494**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    9595**
    96 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     96**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9797**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9898*/
     
    136136** 
    137137** 
    138 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     138**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    139139**  All rights reserved.
    140140** 
  • trunk/FACT++/erfa/src/pn06a.c

    r18711 r18921  
    8686**     Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855
    8787**
    88 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     88**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8989**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9090*/
     
    102102** 
    103103** 
    104 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     104**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    105105**  All rights reserved.
    106106** 
  • trunk/FACT++/erfa/src/pnm00a.c

    r18711 r18921  
    5454**     (2000)
    5555**
    56 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     56**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5757**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5858*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/pnm00b.c

    r18711 r18921  
    5454**     (2000)
    5555**
    56 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     56**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5757**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5858*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/pnm06a.c

    r18711 r18921  
    5151**     Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855.
    5252**
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5555*/
     
    7373** 
    7474** 
    75 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     75**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7676**  All rights reserved.
    7777** 
  • trunk/FACT++/erfa/src/pnm80.c

    r18711 r18921  
    5353**     Section 3.3 (p145).
    5454**
    55 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     55**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5656**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5757*/
     
    7575** 
    7676** 
    77 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     77**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7878**  All rights reserved.
    7979** 
  • trunk/FACT++/erfa/src/pom00.c

    r18711 r18921  
    4747**     IERS Technical Note No. 32, BKG (2004)
    4848**
    49 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     49**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5050**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5151*/
     
    6464** 
    6565** 
    66 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     66**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6767**  All rights reserved.
    6868** 
  • trunk/FACT++/erfa/src/ppp.c

    r18711 r18921  
    2020**     arguments.
    2121**
    22 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     22**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2323**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2424*/
     
    3434** 
    3535** 
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  All rights reserved.
    3838** 
  • trunk/FACT++/erfa/src/ppsp.c

    r18711 r18921  
    2424**     eraPpp       p-vector plus p-vector
    2525**
    26 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     26**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2727**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2828*/
     
    4343** 
    4444** 
    45 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     45**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4646**  All rights reserved.
    4747** 
  • trunk/FACT++/erfa/src/pr00.c

    r18711 r18921  
    6767**     Resolutions", in IERS Workshop 5.1 (2002).
    6868**
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7171*/
     
    9191** 
    9292** 
    93 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     93**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9494**  All rights reserved.
    9595** 
  • trunk/FACT++/erfa/src/prec76.c

    r18711 r18921  
    6767**     (6) & (7), p283.
    6868**
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7171*/
     
    9797** 
    9898** 
    99 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     99**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    100100**  All rights reserved.
    101101** 
  • trunk/FACT++/erfa/src/pv2p.c

    r18711 r18921  
    1818**     eraCp        copy p-vector
    1919**
    20 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     20**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2121**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2222*/
     
    3030** 
    3131** 
    32 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     32**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3333**  All rights reserved.
    3434** 
  • trunk/FACT++/erfa/src/pv2s.c

    r18711 r18921  
    3535**     In such cases zeroes are returned for all three.
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    9393** 
    9494** 
    95 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     95**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9696**  All rights reserved.
    9797** 
  • trunk/FACT++/erfa/src/pvdpv.c

    r18711 r18921  
    2626**     eraPdp       scalar product of two p-vectors
    2727**
    28 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     28**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2929**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3030*/
     
    5151** 
    5252** 
    53 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     53**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5454**  All rights reserved.
    5555** 
  • trunk/FACT++/erfa/src/pvm.c

    r18711 r18921  
    1919**     eraPm        modulus of p-vector
    2020**
    21 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     21**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2222**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2323*/
     
    3535** 
    3636** 
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  All rights reserved.
    3939** 
  • trunk/FACT++/erfa/src/pvmpv.c

    r18711 r18921  
    2323**     eraPmp       p-vector minus p-vector
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    3636** 
    3737** 
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  All rights reserved.
    4040** 
  • trunk/FACT++/erfa/src/pvppv.c

    r18711 r18921  
    2323**     eraPpp       p-vector plus p-vector
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    3636** 
    3737** 
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  All rights reserved.
    4040** 
  • trunk/FACT++/erfa/src/pvstar.c

    r18711 r18921  
    1111**
    1212**  Given (Note 1):
    13 **     pv     double[2][3]   pv-vector (AU, AU/day)
     13**     pv     double[2][3]   pv-vector (au, au/day)
    1414**
    1515**  Returned (Note 2):
     
    6666**     and the proper motions in radians per Julian year, but the
    6767**     parallax is in arcseconds; the radial velocity is in km/s, but
    68 **     the pv-vector result is in AU and AU/day.
     68**     the pv-vector result is in au and au/day.
    6969**
    7070**  4) The proper motions are the rate of change of the right ascension
     
    9494**     Stumpff, P., 1985, Astron.Astrophys. 144, 232-240.
    9595**
    96 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     96**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9797**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9898*/
     
    102102
    103103
    104 /* Isolate the radial component of the velocity (AU/day, inertial). */
     104/* Isolate the radial component of the velocity (au/day, inertial). */
    105105   eraPn(pv[0], &r, x);
    106106   vr = eraPdp(x, pv[1]);
    107107   eraSxp(vr, x, ur);
    108108
    109 /* Isolate the transverse component of the velocity (AU/day, inertial). */
     109/* Isolate the transverse component of the velocity (au/day, inertial). */
    110110   eraPmp(pv[1], ur, ut);
    111111   vt = eraPm(ut);
     
    117117/* The inertial-to-observed correction terms. */
    118118   d = 1.0 + betr;
    119    w = 1.0 - betr*betr - bett*bett;
    120    if (d == 0.0 || w < 0) return -1;
    121    del = sqrt(w) - 1.0;
     119   w = betr*betr + bett*bett;
     120   if (d == 0.0 || w > 1.0) return -1;
     121   del = - w / (sqrt(1.0-w) + 1.0);
    122122
    123123/* Apply relativistic correction factor to radial velocity component. */
     
    129129   eraSxp(1.0/d, ut, ust);
    130130
    131 /* Combine the two to obtain the observed velocity vector (AU/day). */
     131/* Combine the two to obtain the observed velocity vector (au/day). */
    132132   eraPpp(usr, ust, pv[1]);
    133133
     
    156156** 
    157157** 
    158 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     158**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    159159**  All rights reserved.
    160160** 
  • trunk/FACT++/erfa/src/pvtob.c

    r18711 r18921  
    6262**     eraTrxp      product of transpose of r-matrix and p-vector
    6363**
    64 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     64**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6565**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6666*/
     
    102102** 
    103103** 
    104 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     104**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    105105**  All rights reserved.
    106106** 
  • trunk/FACT++/erfa/src/pvu.c

    r18711 r18921  
    2929**     eraCp        copy p-vector
    3030**
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3333*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/pvup.c

    r18711 r18921  
    2323**  2) The time units of dt must match those of the velocity.
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    3737** 
    3838** 
    39 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     39**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4040**  All rights reserved.
    4141** 
  • trunk/FACT++/erfa/src/pvxpv.c

    r18711 r18921  
    3131**     eraPpp       p-vector plus p-vector
    3232**
    33 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     33**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3434**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3535*/
     
    5656** 
    5757** 
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  All rights reserved.
    6060** 
  • trunk/FACT++/erfa/src/pxp.c

    r18711 r18921  
    2020**     arguments.
    2121**
    22 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     22**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2323**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2424*/
     
    4343** 
    4444** 
    45 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     45**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4646**  All rights reserved.
    4747** 
  • trunk/FACT++/erfa/src/refco.c

    r18711 r18921  
    146146**     Stone, Ronald C., P.A.S.P. 108, 1051-1058, 1996.
    147147**
    148 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     148**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    149149**  Derived, with permission, from the SOFA library.  See notes at end of file.
    150150*/
     
    202202** 
    203203** 
    204 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     204**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    205205**  All rights reserved.
    206206** 
  • trunk/FACT++/erfa/src/rm2v.c

    r18711 r18921  
    3030**     the rotation vector from the origin.
    3131**
    32 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     32**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3333**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3434*/
     
    6060** 
    6161** 
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  All rights reserved.
    6464** 
  • trunk/FACT++/erfa/src/rv2m.c

    r18711 r18921  
    2727**     rotation vector from the origin.
    2828**
    29 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     29**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3030**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3131*/
     
    6767** 
    6868** 
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  All rights reserved.
    7171** 
  • trunk/FACT++/erfa/src/rx.c

    r18711 r18921  
    2929**         (  0   - sin(phi)   + cos(phi)  )
    3030**
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3333*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/rxp.c

    r18711 r18921  
    2222**     eraCp        copy p-vector
    2323**
    24 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     24**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2525**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2626*/
     
    4848** 
    4949** 
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  All rights reserved.
    5252** 
  • trunk/FACT++/erfa/src/rxpv.c

    r18711 r18921  
    2222**     eraRxp       product of r-matrix and p-vector
    2323**
    24 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     24**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2525**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2626*/
     
    3535** 
    3636** 
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  All rights reserved.
    3939** 
  • trunk/FACT++/erfa/src/rxr.c

    r18711 r18921  
    2323**     eraCr        copy r-matrix
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    4848** 
    4949** 
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  All rights reserved.
    5252** 
  • trunk/FACT++/erfa/src/ry.c

    r18711 r18921  
    2929**         (  + sin(theta)     0      + cos(theta)  )
    3030**
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3333*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/rz.c

    r18711 r18921  
    2929**         (       0            0         1  )
    3030**
    31 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     31**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3232**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3333*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/s00.c

    r18711 r18921  
    7777**     IERS Technical Note No. 32, BKG (2004)
    7878**
    79 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     79**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8080**  Derived, with permission, from the SOFA library.  See notes at end of file.
    8181*/
     
    320320** 
    321321** 
    322 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     322**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    323323**  All rights reserved.
    324324** 
  • trunk/FACT++/erfa/src/s00a.c

    r18711 r18921  
    7070**     IERS Technical Note No. 32, BKG (2004)
    7171**
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7474*/
     
    9292** 
    9393** 
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  All rights reserved.
    9696** 
  • trunk/FACT++/erfa/src/s00b.c

    r18711 r18921  
    7070**     IERS Technical Note No. 32, BKG (2004)
    7171**
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7474*/
     
    9292** 
    9393** 
    94 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     94**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9595**  All rights reserved.
    9696** 
  • trunk/FACT++/erfa/src/s06.c

    r18711 r18921  
    7474**     IERS Technical Note No. 32, BKG
    7575**
    76 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     76**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7777**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7878*/
     
    317317** 
    318318** 
    319 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     319**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    320320**  All rights reserved.
    321321** 
  • trunk/FACT++/erfa/src/s06a.c

    r18711 r18921  
    7272**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    7373**
    74 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     74**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7575**  Derived, with permission, from the SOFA library.  See notes at end of file.
    7676*/
     
    9494** 
    9595** 
    96 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     96**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9797**  All rights reserved.
    9898** 
  • trunk/FACT++/erfa/src/s2c.c

    r18711 r18921  
    1616**     c        double[3]    direction cosines
    1717**
    18 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     18**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1919**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2020*/
     
    3434** 
    3535** 
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  All rights reserved.
    3838** 
  • trunk/FACT++/erfa/src/s2p.c

    r18711 r18921  
    2121**     eraSxp       multiply p-vector by scalar
    2222**
    23 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     23**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2424**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2525*/
     
    3737** 
    3838** 
    39 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     39**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4040**  All rights reserved.
    4141** 
  • trunk/FACT++/erfa/src/s2pv.c

    r18711 r18921  
    2222**     pv       double[2][3]    pv-vector
    2323**
    24 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     24**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2525**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2626*/
     
    5252** 
    5353** 
    54 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     54**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5555**  All rights reserved.
    5656** 
  • trunk/FACT++/erfa/src/s2xpv.c

    r18711 r18921  
    2323**     eraSxp       multiply p-vector by scalar
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    3636** 
    3737** 
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  All rights reserved.
    4040** 
  • trunk/FACT++/erfa/src/sepp.c

    r18711 r18921  
    3131**     eraPdp       scalar product of two p-vectors
    3232**
    33 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     33**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3434**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3535*/
     
    5454** 
    5555** 
    56 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     56**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5757**  All rights reserved.
    5858** 
  • trunk/FACT++/erfa/src/seps.c

    r18711 r18921  
    2222**     eraSepp      angular separation between two p-vectors
    2323**
    24 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     24**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2525**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2626*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/sp00.c

    r18711 r18921  
    4848**     IERS Technical Note No. 32, BKG (2004)
    4949**
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5252*/
     
    6767** 
    6868** 
    69 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     69**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7070**  All rights reserved.
    7171** 
  • trunk/FACT++/erfa/src/starpm.c

    r18711 r18921  
    107107**     eraPvstar    space motion pv-vector to star catalog data
    108108**
    109 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     109**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    110110**  Derived, with permission, from the SOFA library.  See notes at end of file.
    111111*/
     
    154154** 
    155155** 
    156 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     156**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    157157**  All rights reserved.
    158158** 
  • trunk/FACT++/erfa/src/starpv.c

    r18711 r18921  
    2020**
    2121**  Returned (Note 2):
    22 **     pv     double[2][3]  pv-vector (AU, AU/day)
     22**     pv     double[2][3]  pv-vector (au, au/day)
    2323**
    2424**  Returned (function value):
     
    5454**     required, it may be obtained by calculating the magnitude of the
    5555**     position vector pv[0][0-2] dividing by the speed of light in
    56 **     AU/day to give the light-time, and then multiplying the space
     56**     au/day to give the light-time, and then multiplying the space
    5757**     velocity pv[1][0-2] by this light-time and adding the result to
    5858**     pv[0][0-2].
     
    7373**     and the proper motions in radians per Julian year, but the
    7474**     parallax is in arcseconds; the radial velocity is in km/s, but
    75 **     the pv-vector result is in AU and AU/day.
     75**     the pv-vector result is in au and au/day.
    7676**
    7777**  4) The RA proper motion is in terms of coordinate angle, not true
     
    114114**     Stumpff, P., 1985, Astron.Astrophys. 144, 232-240.
    115115**
    116 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     116**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    117117**  Derived, with permission, from the SOFA library.  See notes at end of file.
    118118*/
     
    136136
    137137
    138 /* Distance (AU). */
     138/* Distance (au). */
    139139   if (px >= PXMIN) {
    140140      w = px;
     
    146146   r = ERFA_DR2AS / w;
    147147
    148 /* Radial velocity (AU/day). */
     148/* Radial velocity (au/day). */
    149149   rd = ERFA_DAYSEC * rv * 1e3 / ERFA_DAU;
    150150
     
    153153   decd = pmd / ERFA_DJY;
    154154
    155 /* To pv-vector (AU,AU/day). */
     155/* To pv-vector (au,au/day). */
    156156   eraS2pv(ra, dec, r, rad, decd, rd, pv);
    157157
     
    163163   }
    164164
    165 /* Isolate the radial component of the velocity (AU/day). */
     165/* Isolate the radial component of the velocity (au/day). */
    166166   eraPn(pv[0], &w, x);
    167167   vsr = eraPdp(x, pv[1]);
    168168   eraSxp(vsr, x, usr);
    169169
    170 /* Isolate the transverse component of the velocity (AU/day). */
     170/* Isolate the transverse component of the velocity (au/day). */
    171171   eraPmp(pv[1], usr, ust);
    172172   vst = eraPm(ust);
     
    181181   for (i = 0; i < IMAX; i++) {
    182182      d = 1.0 + betr;
    183       del = sqrt(1.0 - betr*betr - bett*bett) - 1.0;
     183      w = betr*betr + bett*bett;
     184      del = - w / (sqrt(1.0 - w) + 1.0);
    184185      betr = d * betsr + del;
    185186      bett = d * betst;
     
    213214** 
    214215** 
    215 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     216**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    216217**  All rights reserved.
    217218** 
  • trunk/FACT++/erfa/src/sxp.c

    r18711 r18921  
    1919**     It is permissible for p and sp to be the same array.
    2020**
    21 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     21**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2222**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2323*/
     
    3333** 
    3434** 
    35 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     35**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3636**  All rights reserved.
    3737** 
  • trunk/FACT++/erfa/src/sxpv.c

    r18711 r18921  
    2222**     eraS2xpv     multiply pv-vector by two scalars
    2323**
    24 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     24**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2525**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2626*/
     
    3434** 
    3535** 
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  All rights reserved.
    3838** 
  • trunk/FACT++/erfa/src/t_erfa_c.c

    r18711 r18921  
    1818**  All messages go to stdout.
    1919**
    20 **  This revision:  2016 July 11
     20**  This revision:  2017 March 15
    2121**
    2222*/
     
    272272**  Called:  eraApcg, vvd
    273273**
    274 **  This revision:  2013 October 3
     274**  This revision:  2017 March 15
    275275*/
    276276{
     
    309309   vvd(astrom.em, 1.010465295811013146, 1e-12,
    310310                  "eraApcg", "em", status);
    311    vvd(astrom.v[0], 0.4289638897813379954e-4, 1e-16,
    312                     "eraApcg", "v(1_", status);
    313    vvd(astrom.v[1], 0.8115034021720941898e-4, 1e-16,
     311   vvd(astrom.v[0], 0.4289638913597693554e-4, 1e-16,
     312                    "eraApcg", "v(1)", status);
     313   vvd(astrom.v[1], 0.8115034051581320575e-4, 1e-16,
    314314                    "eraApcg", "v(2)", status);
    315    vvd(astrom.v[2], 0.3517555123437237778e-4, 1e-16,
     315   vvd(astrom.v[2], 0.3517555136380563427e-4, 1e-16,
    316316                    "eraApcg", "v(3)", status);
    317    vvd(astrom.bm1, 0.9999999951686013336, 1e-12,
     317   vvd(astrom.bm1, 0.9999999951686012981, 1e-12,
    318318                   "eraApcg", "bm1", status);
    319319   vvd(astrom.bpn[0][0], 1.0, 0.0,
     
    351351**  Called:  eraApcg13, vvd
    352352**
    353 **  This revision:  2013 October 3
     353**  This revision:  2017 March 15
    354354*/
    355355{
     
    379379   vvd(astrom.em, 1.010465295964664178, 1e-12,
    380380                   "eraApcg13", "em", status);
    381    vvd(astrom.v[0], 0.4289638897157027528e-4, 1e-16,
     381   vvd(astrom.v[0], 0.4289638912941341125e-4, 1e-16,
    382382                   "eraApcg13", "v(1)", status);
    383    vvd(astrom.v[1], 0.8115034002544663526e-4, 1e-16,
     383   vvd(astrom.v[1], 0.8115034032405042132e-4, 1e-16,
    384384                   "eraApcg13", "v(2)", status);
    385    vvd(astrom.v[2], 0.3517555122593144633e-4, 1e-16,
     385   vvd(astrom.v[2], 0.3517555135536470279e-4, 1e-16,
    386386                   "eraApcg13", "v(3)", status);
    387    vvd(astrom.bm1, 0.9999999951686013498, 1e-12,
     387   vvd(astrom.bm1, 0.9999999951686013142, 1e-12,
    388388                   "eraApcg13", "bm1", status);
    389389   vvd(astrom.bpn[0][0], 1.0, 0.0,
     
    421421**  Called:  eraApci, vvd
    422422**
    423 **  This revision:  2013 October 3
     423**  This revision:  2017 March 15
    424424*/
    425425{
     
    461461   vvd(astrom.em, 1.010465295811013146, 1e-12,
    462462                  "eraApci", "em", status);
    463    vvd(astrom.v[0], 0.4289638897813379954e-4, 1e-16,
     463   vvd(astrom.v[0], 0.4289638913597693554e-4, 1e-16,
    464464                    "eraApci", "v(1)", status);
    465    vvd(astrom.v[1], 0.8115034021720941898e-4, 1e-16,
     465   vvd(astrom.v[1], 0.8115034051581320575e-4, 1e-16,
    466466                    "eraApci", "v(2)", status);
    467    vvd(astrom.v[2], 0.3517555123437237778e-4, 1e-16,
     467   vvd(astrom.v[2], 0.3517555136380563427e-4, 1e-16,
    468468                    "eraApci", "v(3)", status);
    469    vvd(astrom.bm1, 0.9999999951686013336, 1e-12,
     469   vvd(astrom.bm1, 0.9999999951686012981, 1e-12,
    470470                   "eraApci", "bm1", status);
    471471   vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
     
    503503**  Called:  eraApci13, vvd
    504504**
    505 **  This revision:  2013 October 3
     505**  This revision:  2017 March 15
    506506*/
    507507{
     
    531531   vvd(astrom.em, 1.010465295964664178, 1e-12,
    532532                  "eraApci13", "em", status);
    533    vvd(astrom.v[0], 0.4289638897157027528e-4, 1e-16,
     533   vvd(astrom.v[0], 0.4289638912941341125e-4, 1e-16,
    534534                    "eraApci13", "v(1)", status);
    535    vvd(astrom.v[1], 0.8115034002544663526e-4, 1e-16,
     535   vvd(astrom.v[1], 0.8115034032405042132e-4, 1e-16,
    536536                    "eraApci13", "v(2)", status);
    537    vvd(astrom.v[2], 0.3517555122593144633e-4, 1e-16,
     537   vvd(astrom.v[2], 0.3517555135536470279e-4, 1e-16,
    538538                    "eraApci13", "v(3)", status);
    539    vvd(astrom.bm1, 0.9999999951686013498, 1e-12,
     539   vvd(astrom.bm1, 0.9999999951686013142, 1e-12,
    540540                   "eraApci13", "bm1", status);
    541541   vvd(astrom.bpn[0][0], 0.9999992060376761710, 1e-12,
     
    575575**  Called:  eraApco, vvd
    576576**
    577 **  This revision:  2013 October 3
     577**  This revision:  2017 March 15
    578578*/
    579579{
     
    613613   vvd(astrom.pmt, 13.25248468622587269, 1e-11,
    614614                   "eraApco", "pmt", status);
    615    vvd(astrom.eb[0], -0.9741827110630897003, 1e-12,
     615   vvd(astrom.eb[0], -0.9741827110630322720, 1e-12,
    616616                     "eraApco", "eb(1)", status);
    617    vvd(astrom.eb[1], -0.2115130190135014340, 1e-12,
     617   vvd(astrom.eb[1], -0.2115130190135344832, 1e-12,
    618618                     "eraApco", "eb(2)", status);
    619    vvd(astrom.eb[2], -0.09179840186968295686, 1e-12,
     619   vvd(astrom.eb[2], -0.09179840186949532298, 1e-12,
    620620                     "eraApco", "eb(3)", status);
    621    vvd(astrom.eh[0], -0.9736425571689670428, 1e-12,
     621   vvd(astrom.eh[0], -0.9736425571689739035, 1e-12,
    622622                     "eraApco", "eh(1)", status);
    623    vvd(astrom.eh[1], -0.2092452125848862201, 1e-12,
     623   vvd(astrom.eh[1], -0.2092452125849330936, 1e-12,
    624624                     "eraApco", "eh(2)", status);
    625    vvd(astrom.eh[2], -0.09075578152261439954, 1e-12,
     625   vvd(astrom.eh[2], -0.09075578152243272599, 1e-12,
    626626                     "eraApco", "eh(3)", status);
    627    vvd(astrom.em, 0.9998233241710617934, 1e-12,
     627   vvd(astrom.em, 0.9998233241709957653, 1e-12,
    628628                  "eraApco", "em", status);
    629    vvd(astrom.v[0], 0.2078704985147609823e-4, 1e-16,
     629   vvd(astrom.v[0], 0.2078704992916728762e-4, 1e-16,
    630630                    "eraApco", "v(1)", status);
    631    vvd(astrom.v[1], -0.8955360074407552709e-4, 1e-16,
     631   vvd(astrom.v[1], -0.8955360107151952319e-4, 1e-16,
    632632                    "eraApco", "v(2)", status);
    633    vvd(astrom.v[2], -0.3863338980073114703e-4, 1e-16,
     633   vvd(astrom.v[2], -0.3863338994288951082e-4, 1e-16,
    634634                    "eraApco", "v(3)", status);
    635    vvd(astrom.bm1, 0.9999999950277561600, 1e-12,
     635   vvd(astrom.bm1, 0.9999999950277561236, 1e-12,
    636636                   "eraApco", "bm1", status);
    637637   vvd(astrom.bpn[0][0], 0.9999991390295159156, 1e-12,
     
    687687**  Called:  eraApco13, vvd, viv
    688688**
    689 **  This revision:  2013 October 4
     689**  This revision:  2017 March 15
    690690*/
    691691{
     
    714714   vvd(astrom.pmt, 13.25248468622475727, 1e-11,
    715715                   "eraApco13", "pmt", status);
    716    vvd(astrom.eb[0], -0.9741827107321449445, 1e-12,
     716   vvd(astrom.eb[0], -0.9741827107320875162, 1e-12,
    717717                   "eraApco13", "eb(1)", status);
    718    vvd(astrom.eb[1], -0.2115130190489386190, 1e-12,
     718   vvd(astrom.eb[1], -0.2115130190489716682, 1e-12,
    719719                     "eraApco13", "eb(2)", status);
    720    vvd(astrom.eb[2], -0.09179840189515518726, 1e-12,
     720   vvd(astrom.eb[2], -0.09179840189496755339, 1e-12,
    721721                     "eraApco13", "eb(3)", status);
    722    vvd(astrom.eh[0], -0.9736425572586866640, 1e-12,
     722   vvd(astrom.eh[0], -0.9736425572586935247, 1e-12,
    723723                     "eraApco13", "eh(1)", status);
    724    vvd(astrom.eh[1], -0.2092452121602867431, 1e-12,
     724   vvd(astrom.eh[1], -0.2092452121603336166, 1e-12,
    725725                     "eraApco13", "eh(2)", status);
    726    vvd(astrom.eh[2], -0.09075578153903832650, 1e-12,
     726   vvd(astrom.eh[2], -0.09075578153885665295, 1e-12,
    727727                     "eraApco13", "eh(3)", status);
    728    vvd(astrom.em, 0.9998233240914558422, 1e-12,
     728   vvd(astrom.em, 0.9998233240913898141, 1e-12,
    729729                  "eraApco13", "em", status);
    730    vvd(astrom.v[0], 0.2078704986751370303e-4, 1e-16,
     730   vvd(astrom.v[0], 0.2078704994520489246e-4, 1e-16,
    731731                    "eraApco13", "v(1)", status);
    732    vvd(astrom.v[1], -0.8955360100494469232e-4, 1e-16,
     732   vvd(astrom.v[1], -0.8955360133238868938e-4, 1e-16,
    733733                    "eraApco13", "v(2)", status);
    734    vvd(astrom.v[2], -0.3863338978840051024e-4, 1e-16,
     734   vvd(astrom.v[2], -0.3863338993055887398e-4, 1e-16,
    735735                    "eraApco13", "v(3)", status);
    736    vvd(astrom.bm1, 0.9999999950277561368, 1e-12,
     736   vvd(astrom.bm1, 0.9999999950277561004, 1e-12,
    737737                   "eraApco13", "bm1", status);
    738738   vvd(astrom.bpn[0][0], 0.9999991390295147999, 1e-12,
     
    791791**  Called:  eraApcs, vvd
    792792**
    793 **  This revision:  2013 October 3
     793**  This revision:  2017 March 15
    794794*/
    795795{
     
    820820   vvd(astrom.pmt, 13.25248468622587269, 1e-11,
    821821                   "eraApcs", "pmt", status);
    822    vvd(astrom.eb[0], -0.9741827110630456169, 1e-12,
     822   vvd(astrom.eb[0], -0.9741827110629881886, 1e-12,
    823823                     "eraApcs", "eb(1)", status);
    824    vvd(astrom.eb[1], -0.2115130190136085494, 1e-12,
     824   vvd(astrom.eb[1], -0.2115130190136415986, 1e-12,
    825825                     "eraApcs", "eb(2)", status);
    826    vvd(astrom.eb[2], -0.09179840186973175487, 1e-12,
     826   vvd(astrom.eb[2], -0.09179840186954412099, 1e-12,
    827827                     "eraApcs", "eb(3)", status);
    828    vvd(astrom.eh[0], -0.9736425571689386099, 1e-12,
     828   vvd(astrom.eh[0], -0.9736425571689454706, 1e-12,
    829829                     "eraApcs", "eh(1)", status);
    830    vvd(astrom.eh[1], -0.2092452125849967195, 1e-12,
     830   vvd(astrom.eh[1], -0.2092452125850435930, 1e-12,
    831831                     "eraApcs", "eh(2)", status);
    832    vvd(astrom.eh[2], -0.09075578152266466572, 1e-12,
     832   vvd(astrom.eh[2], -0.09075578152248299218, 1e-12,
    833833                     "eraApcs", "eh(3)", status);
    834    vvd(astrom.em, 0.9998233241710457140, 1e-12,
     834   vvd(astrom.em, 0.9998233241709796859, 1e-12,
    835835                  "eraApcs", "em", status);
    836    vvd(astrom.v[0], 0.2078704985513566571e-4, 1e-16,
     836   vvd(astrom.v[0], 0.2078704993282685510e-4, 1e-16,
    837837                    "eraApcs", "v(1)", status);
    838    vvd(astrom.v[1], -0.8955360074245006073e-4, 1e-16,
     838   vvd(astrom.v[1], -0.8955360106989405683e-4, 1e-16,
    839839                    "eraApcs", "v(2)", status);
    840    vvd(astrom.v[2], -0.3863338980073572719e-4, 1e-16,
     840   vvd(astrom.v[2], -0.3863338994289409097e-4, 1e-16,
    841841                    "eraApcs", "v(3)", status);
    842    vvd(astrom.bm1, 0.9999999950277561601, 1e-12,
     842   vvd(astrom.bm1, 0.9999999950277561237, 1e-12,
    843843                   "eraApcs", "bm1", status);
    844844   vvd(astrom.bpn[0][0], 1, 0,
     
    876876**  Called:  eraApcs13, vvd
    877877**
    878 **  This revision:  2013 October 3
     878**  This revision:  2017 March 15
    879879*/
    880880{
     
    896896   vvd(astrom.pmt, 12.65133794027378508, 1e-11,
    897897                   "eraApcs13", "pmt", status);
    898    vvd(astrom.eb[0], 0.9012691529023298391, 1e-12,
     898   vvd(astrom.eb[0], 0.9012691529025250644, 1e-12,
    899899                     "eraApcs13", "eb(1)", status);
    900    vvd(astrom.eb[1], -0.4173999812023068781, 1e-12,
     900   vvd(astrom.eb[1], -0.4173999812023194317, 1e-12,
    901901                     "eraApcs13", "eb(2)", status);
    902    vvd(astrom.eb[2], -0.1809906511146821008, 1e-12,
     902   vvd(astrom.eb[2], -0.1809906511146429670, 1e-12,
    903903                     "eraApcs13", "eb(3)", status);
    904    vvd(astrom.eh[0], 0.8939939101759726824, 1e-12,
     904   vvd(astrom.eh[0], 0.8939939101760130792, 1e-12,
    905905                     "eraApcs13", "eh(1)", status);
    906    vvd(astrom.eh[1], -0.4111053891734599955, 1e-12,
     906   vvd(astrom.eh[1], -0.4111053891734021478, 1e-12,
    907907                     "eraApcs13", "eh(2)", status);
    908    vvd(astrom.eh[2], -0.1782336880637689334, 1e-12,
     908   vvd(astrom.eh[2], -0.1782336880636997374, 1e-12,
    909909                     "eraApcs13", "eh(3)", status);
    910    vvd(astrom.em, 1.010428384373318379, 1e-12,
     910   vvd(astrom.em, 1.010428384373491095, 1e-12,
    911911                  "eraApcs13", "em", status);
    912    vvd(astrom.v[0], 0.4279877278327626511e-4, 1e-16,
     912   vvd(astrom.v[0], 0.4279877294121697570e-4, 1e-16,
    913913                    "eraApcs13", "v(1)", status);
    914    vvd(astrom.v[1], 0.7963255057040027770e-4, 1e-16,
     914   vvd(astrom.v[1], 0.7963255087052120678e-4, 1e-16,
    915915                    "eraApcs13", "v(2)", status);
    916    vvd(astrom.v[2], 0.3517564000441374759e-4, 1e-16,
     916   vvd(astrom.v[2], 0.3517564013384691531e-4, 1e-16,
    917917                    "eraApcs13", "v(3)", status);
    918    vvd(astrom.bm1, 0.9999999952947981330, 1e-12,
     918   vvd(astrom.bm1, 0.9999999952947980978, 1e-12,
    919919                   "eraApcs13", "bm1", status);
    920920   vvd(astrom.bpn[0][0], 1, 0,
     
    11251125**  Called:  eraAtci13, vvd
    11261126**
    1127 **  This revision:  2013 October 3
     1127**  This revision:  2017 March 15
    11281128*/
    11291129{
     
    11421142   eraAtci13(rc, dc, pr, pd, px, rv, date1, date2, &ri, &di, &eo);
    11431143
    1144    vvd(ri, 2.710121572969038991, 1e-12,
     1144   vvd(ri, 2.710121572968696744, 1e-12,
    11451145           "eraAtci13", "ri", status);
    1146    vvd(di, 0.1729371367218230438, 1e-12,
     1146   vvd(di, 0.1729371367219539137, 1e-12,
    11471147           "eraAtci13", "di", status);
    11481148   vvd(eo, -0.002900618712657375647, 1e-14,
     
    11641164**  Called:  eraApci13, eraAtciq, vvd
    11651165**
    1166 **  This revision:  2013 October 3
     1166**  This revision:  2017 March 15
    11671167*/
    11681168{
     
    11821182   eraAtciq(rc, dc, pr, pd, px, rv, &astrom, &ri, &di);
    11831183
    1184    vvd(ri, 2.710121572969038991, 1e-12, "eraAtciq", "ri", status);
    1185    vvd(di, 0.1729371367218230438, 1e-12, "eraAtciq", "di", status);
     1184   vvd(ri, 2.710121572968696744, 1e-12, "eraAtciq", "ri", status);
     1185   vvd(di, 0.1729371367219539137, 1e-12, "eraAtciq", "di", status);
    11861186
    11871187}
     
    12001200**  Called:  eraApci13, eraAtciqn, vvd
    12011201**
    1202 **  This revision:  2013 October 3
     1202**  This revision:  2017 March 15
    12031203*/
    12041204{
     
    12431243   eraAtciqn ( rc, dc, pr, pd, px, rv, &astrom, 3, b, &ri, &di);
    12441244
    1245    vvd(ri, 2.710122008105325582, 1e-12, "eraAtciqn", "ri", status);
    1246    vvd(di, 0.1729371916491459122, 1e-12, "eraAtciqn", "di", status);
     1245   vvd(ri, 2.710122008104983335, 1e-12, "eraAtciqn", "ri", status);
     1246   vvd(di, 0.1729371916492767821, 1e-12, "eraAtciqn", "di", status);
    12471247
    12481248}
     
    12611261**  Called:  eraApci13, eraAtciqz, vvd
    12621262**
    1263 **  This revision:  2013 October 3
     1263**  This revision:  2017 March 15
    12641264*/
    12651265{
     
    12761276   eraAtciqz(rc, dc, &astrom, &ri, &di);
    12771277
    1278    vvd(ri, 2.709994899247599271, 1e-12, "eraAtciqz", "ri", status);
    1279    vvd(di, 0.1728740720983623469, 1e-12, "eraAtciqz", "di", status);
     1278   vvd(ri, 2.709994899247256984, 1e-12, "eraAtciqz", "ri", status);
     1279   vvd(di, 0.1728740720984931891, 1e-12, "eraAtciqz", "di", status);
    12801280
    12811281}
     
    12941294**  Called:  eraAtco13, vvd, viv
    12951295**
    1296 **  This revision:  2013 October 4
     1296**  This revision:  2017 March 15
    12971297*/
    12981298{
     
    13271327                 &aob, &zob, &hob, &dob, &rob, &eo);
    13281328
    1329    vvd(aob, 0.09251774485358230653, 1e-12, "eraAtco13", "aob", status);
    1330    vvd(zob, 1.407661405256767021, 1e-12, "eraAtco13", "zob", status);
    1331    vvd(hob, -0.09265154431403157925, 1e-12, "eraAtco13", "hob", status);
    1332    vvd(dob, 0.1716626560075591655, 1e-12, "eraAtco13", "dob", status);
    1333    vvd(rob, 2.710260453503097719, 1e-12, "eraAtco13", "rob", status);
     1329   vvd(aob, 0.09251774485385390973, 1e-12, "eraAtco13", "aob", status);
     1330   vvd(zob, 1.407661405256671703, 1e-12, "eraAtco13", "zob", status);
     1331   vvd(hob, -0.09265154431430045141, 1e-12, "eraAtco13", "hob", status);
     1332   vvd(dob, 0.1716626560074556029, 1e-12, "eraAtco13", "dob", status);
     1333   vvd(rob, 2.710260453503366591, 1e-12, "eraAtco13", "rob", status);
    13341334   vvd(eo, -0.003020548354802412839, 1e-14, "eraAtco13", "eo", status);
    13351335   viv(j, 0, "eraAtco13", "j", status);
     
    13501350**  Called:  eraAtic13, vvd
    13511351**
    1352 **  This revision:  2013 October 3
     1352**  This revision:  2017 March 15
    13531353*/
    13541354{
     
    13631363   eraAtic13(ri, di, date1, date2, &rc, &dc, &eo);
    13641364
    1365    vvd(rc, 2.710126504531374930, 1e-12, "eraAtic13", "rc", status);
    1366    vvd(dc, 0.1740632537628342320, 1e-12, "eraAtic13", "dc", status);
     1365   vvd(rc, 2.710126504531716819, 1e-12, "eraAtic13", "rc", status);
     1366   vvd(dc, 0.1740632537627034482, 1e-12, "eraAtic13", "dc", status);
    13671367   vvd(eo, -0.002900618712657375647, 1e-14, "eraAtic13", "eo", status);
    13681368
     
    13821382**  Called:  eraApci13, eraAticq, vvd
    13831383**
    1384 **  This revision:  2013 October 3
     1384**  This revision:  2017 March 15
    13851385*/
    13861386{
     
    13971397   eraAticq(ri, di, &astrom, &rc, &dc);
    13981398
    1399    vvd(rc, 2.710126504531374930, 1e-12, "eraAticq", "rc", status);
    1400    vvd(dc, 0.1740632537628342320, 1e-12, "eraAticq", "dc", status);
     1399   vvd(rc, 2.710126504531716819, 1e-12, "eraAticq", "rc", status);
     1400   vvd(dc, 0.1740632537627034482, 1e-12, "eraAticq", "dc", status);
    14011401
    14021402}
     
    14151415**  Called:  eraApci13, eraAticqn, vvd
    14161416**
    1417 **  This revision:  2013 October 3
     1417**  This revision:  2017 March 15
    14181418*/
    14191419{
     
    14551455   eraAticqn(ri, di, &astrom, 3, b, &rc, &dc);
    14561456
    1457    vvd(rc, 2.709999575032685412, 1e-12, "eraAtciqn", "rc", status);
    1458    vvd(dc, 0.1739999656317778034, 1e-12, "eraAtciqn", "dc", status);
     1457   vvd(rc, 2.709999575033027333, 1e-12, "eraAtciqn", "rc", status);
     1458   vvd(dc, 0.1739999656316469990, 1e-12, "eraAtciqn", "dc", status);
    14591459
    14601460}
     
    15701570**  Called:  eraAtoc13, vvd, viv
    15711571**
    1572 **  This revision:  2013 October 3
     1572**  This revision:  2017 March 15
    15731573*/
    15741574{
     
    15971597                   elong, phi, hm, xp, yp, phpa, tc, rh, wl,
    15981598                   &rc, &dc);
    1599    vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "R/rc", status);
    1600    vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "R/dc", status);
     1599   vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "R/rc", status);
     1600   vvd(dc, 0.1741696500896438967, 1e-12, "eraAtoc13", "R/dc", status);
    16011601   viv(j, 0, "eraAtoc13", "R/j", status);
    16021602
     
    16061606                   elong, phi, hm, xp, yp, phpa, tc, rh, wl,
    16071607                   &rc, &dc);
    1608    vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "H/rc", status);
    1609    vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "H/dc", status);
     1608   vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "H/rc", status);
     1609   vvd(dc, 0.1741696500896438967, 1e-12, "eraAtoc13", "H/dc", status);
    16101610   viv(j, 0, "eraAtoc13", "H/j", status);
    16111611
     
    16151615                   elong, phi, hm, xp, yp, phpa, tc, rh, wl,
    16161616                   &rc, &dc);
    1617    vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "A/rc", status);
    1618    vvd(dc, 0.1741696500895398565, 1e-12, "eraAtoc13", "A/dc", status);
     1617   vvd(rc, 2.709956744660731630, 1e-12, "eraAtoc13", "A/rc", status);
     1618   vvd(dc, 0.1741696500896438970, 1e-12, "eraAtoc13", "A/dc", status);
    16191619   viv(j, 0, "eraAtoc13", "A/j", status);
    16201620
     
    38253825**  Called:  eraFk52h, vvd
    38263826**
    3827 **  This revision:  2013 August 7
     3827**  This revision:  2017 January 3
    38283828*/
    38293829{
     
    44474447**  Called:  eraH2fk5, vvd
    44484448**
    4449 **  This revision:  2013 August 7
     4449**  This revision:  2017 January 3
    44504450*/
    44514451{
     
    44734473   vvd(px5, 0.37921, 1e-13,
    44744474       "eraH2fk5", "px", status);
    4475    vvd(rv5, -7.6000001309071126, 1e-10,
     4475   vvd(rv5, -7.6000001309071126, 1e-11,
    44764476       "eraH2fk5", "rv", status);
    44774477
     
    59825982**  Called:  eraPmpx, vvd
    59835983**
    5984 **  This revision:  2013 October 2
     5984**  This revision:  2017 March 15
    59855985*/
    59865986{
     
    60016001   eraPmpx(rc, dc, pr, pd, px, rv, pmt, pob, pco);
    60026002
    6003    vvd(pco[0], 0.2328137623960308440, 1e-12,
     6003   vvd(pco[0], 0.2328137623960308438, 1e-12,
    60046004               "eraPmpx", "1", status);
    6005    vvd(pco[1], 0.6651097085397855317, 1e-12,
     6005   vvd(pco[1], 0.6651097085397855328, 1e-12,
    60066006               "eraPmpx", "2", status);
    6007    vvd(pco[2], 0.7095257765896359847, 1e-12,
     6007   vvd(pco[2], 0.7095257765896359837, 1e-12,
    60086008               "eraPmpx", "3", status);
    60096009
     
    60236023**  Called:  eraPmsafe, vvd, viv
    60246024**
    6025 **  This revision:  2013 October 2
     6025**  This revision:  2017 March 15
    60266026*/
    60276027{
     
    60486048   vvd(ra2, 1.234087484501017061, 1e-12,
    60496049            "eraPmsafe", "ra2", status);
    6050    vvd(dec2, 0.7888249982450468574, 1e-12,
     6050   vvd(dec2, 0.7888249982450468567, 1e-12,
    60516051            "eraPmsafe", "dec2", status);
    60526052   vvd(pmr2, 0.9996457663586073988e-5, 1e-12,
    60536053             "eraPmsafe", "pmr2", status);
    6054    vvd(pmd2, -0.2000040085106737816e-4, 1e-16,
     6054   vvd(pmd2, -0.2000040085106754565e-4, 1e-16,
    60556055             "eraPmsafe", "pmd2", status);
    6056    vvd(px2, 0.9999997295356765185e-2, 1e-12,
     6056   vvd(px2, 0.9999997295356830666e-2, 1e-12,
    60576057            "eraPmsafe", "px2", status);
    6058    vvd(rv2, 10.38468380113917014, 1e-10,
     6058   vvd(rv2, 10.38468380293920069, 1e-10,
    60596059            "eraPmsafe", "rv2", status);
    60606060   viv ( j, 0, "eraPmsafe", "j", status);
     
    73877387**  Called:  eraPvstar, vvd, viv
    73887388**
    7389 **  This revision:  2013 August 7
     7389**  This revision:  2017 March 15
    73907390*/
    73917391{
     
    74067406   vvd(ra, 0.1686756e-1, 1e-12, "eraPvstar", "ra", status);
    74077407   vvd(dec, -1.093989828, 1e-12, "eraPvstar", "dec", status);
    7408    vvd(pmr, -0.178323516e-4, 1e-16, "eraPvstar", "pmr", status);
    7409    vvd(pmd, 0.2336024047e-5, 1e-16, "eraPvstar", "pmd", status);
     7408   vvd(pmr, -0.1783235160000472788e-4, 1e-16, "eraPvstar", "pmr", status);
     7409   vvd(pmd, 0.2336024047000619347e-5, 1e-16, "eraPvstar", "pmd", status);
    74107410   vvd(px, 0.74723, 1e-12, "eraPvstar", "px", status);
    7411    vvd(rv, -21.6, 1e-11, "eraPvstar", "rv", status);
     7411   vvd(rv, -21.60000010107306010, 1e-11, "eraPvstar", "rv", status);
    74127412
    74137413   viv(j, 0, "eraPvstar", "j", status);
     
    83928392**  Called:  eraStarpm, vvd, viv
    83938393**
    8394 **  This revision:  2013 August 7
     8394**  This revision:  2017 March 15
    83958395*/
    83968396{
     
    84118411                 &ra2, &dec2, &pmr2, &pmd2, &px2, &rv2);
    84128412
    8413    vvd(ra2, 0.01668919069414242368, 1e-13,
     8413   vvd(ra2, 0.01668919069414256149, 1e-13,
    84148414       "eraStarpm", "ra", status);
    8415    vvd(dec2, -1.093966454217127879, 1e-13,
     8415   vvd(dec2, -1.093966454217127897, 1e-13,
    84168416       "eraStarpm", "dec", status);
    8417    vvd(pmr2, -0.1783662682155932702e-4, 1e-17,
     8417   vvd(pmr2, -0.1783662682153176524e-4, 1e-17,
    84188418       "eraStarpm", "pmr", status);
    8419    vvd(pmd2, 0.2338092915987603664e-5, 1e-17,
     8419   vvd(pmd2, 0.2338092915983989595e-5, 1e-17,
    84208420       "eraStarpm", "pmd", status);
    8421    vvd(px2, 0.7473533835323493644, 1e-13,
     8421   vvd(px2, 0.7473533835317719243, 1e-13,
    84228422       "eraStarpm", "px", status);
    8423    vvd(rv2, -21.59905170476860786, 1e-11,
     8423   vvd(rv2, -21.59905170476417175, 1e-11,
    84248424       "eraStarpm", "rv", status);
    84258425
     
    84418441**  Called:  eraStarpv, vvd, viv
    84428442**
    8443 **  This revision:  2013 August 7
     8443**  This revision:  2017 March 15
    84448444*/
    84458445{
     
    84648464       "eraStarpv", "13", status);
    84658465
    8466    vvd(pv[1][0], -0.4051854035740712739e-2, 1e-13,
     8466   vvd(pv[1][0], -0.4051854008955659551e-2, 1e-13,
    84678467       "eraStarpv", "21", status);
    8468    vvd(pv[1][1], -0.6253919754866173866e-2, 1e-15,
     8468   vvd(pv[1][1], -0.6253919754414777970e-2, 1e-15,
    84698469       "eraStarpv", "22", status);
    8470    vvd(pv[1][2], 0.1189353719774107189e-1, 1e-13,
     8470   vvd(pv[1][2], 0.1189353714588109341e-1, 1e-13,
    84718471       "eraStarpv", "23", status);
    84728472
     
    96729672
    96739673/* Report, set up an appropriate exit status, and finish. */
     9674   printf("ERFA version: %s\n", eraVersion());
     9675   printf("SOFA version: %s\n", eraSofaVersion());
    96749676   if (status) {
    96759677      printf("t_erfa_c validation failed!\n");
     
    96829684** 
    96839685** 
    9684 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     9686**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    96859687**  All rights reserved.
    96869688** 
  • trunk/FACT++/erfa/src/taitt.c

    r18711 r18921  
    3434**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3535**
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3838*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/taiut1.c

    r18711 r18921  
    3636**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3737**
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4040*/
     
    6060** 
    6161** 
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  All rights reserved.
    6464** 
  • trunk/FACT++/erfa/src/taiutc.c

    r18711 r18921  
    5757**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    5858**
    59 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     59**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6060**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6161*/
     
    108108** 
    109109** 
    110 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     110**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    111111**  All rights reserved.
    112112** 
  • trunk/FACT++/erfa/src/tcbtdb.c

    r18711 r18921  
    4848**     IAU 2006 Resolution B3
    4949**
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5252*/
     
    8181** 
    8282** 
    83 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     83**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8484**  All rights reserved.
    8585** 
  • trunk/FACT++/erfa/src/tcgtt.c

    r18711 r18921  
    3333**     IAU 2000 Resolution B1.9
    3434**
    35 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     35**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3636**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3737*/
     
    5858** 
    5959** 
    60 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     60**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6161**  All rights reserved.
    6262** 
  • trunk/FACT++/erfa/src/tdbtcb.c

    r18711 r18921  
    4848**     IAU 2006 Resolution B3
    4949**
    50 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     50**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5151**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5252*/
     
    8686** 
    8787** 
    88 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     88**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8989**  All rights reserved.
    9090** 
  • trunk/FACT++/erfa/src/tdbtt.c

    r18711 r18921  
    4646**     IAU 2006 Resolution 3
    4747**
    48 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     48**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4949**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5050*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/tf2a.c

    r18711 r18921  
    3535**      first, the smallest taking precedence.
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5656** 
    5757** 
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  All rights reserved.
    6060** 
  • trunk/FACT++/erfa/src/tf2d.c

    r18711 r18921  
    3535**      first, the smallest taking precedence.
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5656** 
    5757** 
    58 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     58**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    5959**  All rights reserved.
    6060** 
  • trunk/FACT++/erfa/src/tr.c

    r18711 r18921  
    2121**     eraCr        copy r-matrix
    2222**
    23 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     23**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2424**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2525*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/trxp.c

    r18711 r18921  
    2323**     eraRxp       product of r-matrix and p-vector
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/trxpv.c

    r18711 r18921  
    2323**     eraRxpv      product of r-matrix and pv-vector
    2424**
    25 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     25**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2626**  Derived, with permission, from the SOFA library.  See notes at end of file.
    2727*/
     
    4242** 
    4343** 
    44 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     44**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4545**  All rights reserved.
    4646** 
  • trunk/FACT++/erfa/src/tttai.c

    r18711 r18921  
    3434**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3535**
    36 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     36**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3737**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3838*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/tttcg.c

    r18711 r18921  
    3333**     IAU 2000 Resolution B1.9
    3434**
    35 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     35**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3636**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3737*/
     
    6161** 
    6262** 
    63 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     63**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6464**  All rights reserved.
    6565** 
  • trunk/FACT++/erfa/src/tttdb.c

    r18711 r18921  
    4646**     IAU 2006 Resolution 3
    4747**
    48 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     48**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    4949**  Derived, with permission, from the SOFA library.  See notes at end of file.
    5050*/
     
    7070** 
    7171** 
    72 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     72**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    7373**  All rights reserved.
    7474** 
  • trunk/FACT++/erfa/src/ttut1.c

    r18711 r18921  
    3535**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/ut1tai.c

    r18711 r18921  
    3636**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3737**
    38 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     38**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3939**  Derived, with permission, from the SOFA library.  See notes at end of file.
    4040*/
     
    6060** 
    6161** 
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  All rights reserved.
    6464** 
  • trunk/FACT++/erfa/src/ut1tt.c

    r18711 r18921  
    3535**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    3636**
    37 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     37**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3838**  Derived, with permission, from the SOFA library.  See notes at end of file.
    3939*/
     
    5959** 
    6060** 
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  All rights reserved.
    6363** 
  • trunk/FACT++/erfa/src/ut1utc.c

    r18711 r18921  
    6363**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    6464**
    65 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     65**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6666**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6767*/
     
    142142** 
    143143** 
    144 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     144**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    145145**  All rights reserved.
    146146** 
  • trunk/FACT++/erfa/src/utctai.c

    r18711 r18921  
    5959**     P. Kenneth Seidelmann (ed), University Science Books (1992)
    6060**
    61 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     61**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6262**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6363*/
     
    126126** 
    127127** 
    128 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     128**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    129129**  All rights reserved.
    130130** 
  • trunk/FACT++/erfa/src/utcut1.c

    r18711 r18921  
    6464**     eraTaiut1    TAI to UT1
    6565**
    66 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     66**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6767**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6868*/
     
    9696** 
    9797** 
    98 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     98**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    9999**  All rights reserved.
    100100** 
  • trunk/FACT++/erfa/src/xy06.c

    r18711 r18921  
    8686**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    8787**
    88 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     88**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8989**  Derived, with permission, from the SOFA library.  See notes at end of file.
    9090*/
     
    27072707** 
    27082708** 
    2709 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     2709**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    27102710**  All rights reserved.
    27112711** 
  • trunk/FACT++/erfa/src/xys00a.c

    r18711 r18921  
    6060**     IERS Technical Note No. 32, BKG (2004)
    6161**
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6464*/
     
    8282** 
    8383** 
    84 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     84**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8585**  All rights reserved.
    8686** 
  • trunk/FACT++/erfa/src/xys00b.c

    r18711 r18921  
    6060**     IERS Technical Note No. 32, BKG (2004)
    6161**
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6464*/
     
    8282** 
    8383** 
    84 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     84**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8585**  All rights reserved.
    8686** 
  • trunk/FACT++/erfa/src/xys06a.c

    r18711 r18921  
    6060**     Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981
    6161**
    62 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     62**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    6363**  Derived, with permission, from the SOFA library.  See notes at end of file.
    6464*/
     
    8282** 
    8383** 
    84 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     84**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    8585**  All rights reserved.
    8686** 
  • trunk/FACT++/erfa/src/zp.c

    r18711 r18921  
    1212**     p        double[3]      p-vector
    1313**
    14 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     14**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1515**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1616*/
     
    2626** 
    2727** 
    28 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     28**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    2929**  All rights reserved.
    3030** 
  • trunk/FACT++/erfa/src/zpv.c

    r18711 r18921  
    1515**     eraZp        zero p-vector
    1616**
    17 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     17**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1818**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1919*/
     
    2828** 
    2929** 
    30 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     30**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3131**  All rights reserved.
    3232** 
  • trunk/FACT++/erfa/src/zr.c

    r18711 r18921  
    1212**     r        double[3][3]    r-matrix
    1313**
    14 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     14**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    1515**  Derived, with permission, from the SOFA library.  See notes at end of file.
    1616*/
     
    3232** 
    3333** 
    34 **  Copyright (C) 2013-2016, NumFOCUS Foundation.
     34**  Copyright (C) 2013-2017, NumFOCUS Foundation.
    3535**  All rights reserved.
    3636** 
Note: See TracChangeset for help on using the changeset viewer.