Skip to content

Commit 43e06dc

Browse files
committed
Added support for the Gaia-EDR3 astrometric reference catalog (still without proper motions).
Pushed version number to 2.10.0.
1 parent c0dd787 commit 43e06dc

File tree

5 files changed

+24
-14
lines changed

5 files changed

+24
-14
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# You should have received a copy of the GNU General Public License
2323
# along with SCAMP. If not, see <http://www.gnu.org/licenses/>.
2424
#
25-
# Last modified: 19/08/2020
25+
# Last modified: 01/12/2020
2626
#
2727
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2828

@@ -31,7 +31,7 @@ define([AC_CACHE_LOAD],)
3131
define([AC_CACHE_SAVE],)
3232

3333
# This is your standard AstrOmatic source code...
34-
AC_INIT(SCAMP, 2.9.3, [[email protected]],
34+
AC_INIT(SCAMP, 2.10.0, [[email protected]],
3535
scamp, [http://astromatic.net/software/scamp])
3636
AC_CONFIG_MACRO_DIR([m4])
3737
AC_CONFIG_AUX_DIR(autoconf)

doc/src/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
# built documents.
6868
#
6969
# The short X.Y version.
70-
version = '2.9.3'
70+
version = '2.10.0'
7171
# The full version, including alpha/beta/rc tags.
72-
release = '2.9.3'
72+
release = '2.10.0'
7373

7474
# The language for content autogenerated by Sphinx. Refer to documentation
7575
# for a list of supported languages.
@@ -81,7 +81,7 @@
8181
# There are two options for replacing |today|: either, you set today to some
8282
# non-false value, then it is used:
8383
#
84-
today = 'Thu Aug 20 2020'
84+
today = 'Thu Dec 03 2020'
8585
#
8686
# Else, today_fmt is used as the format for a strftime call.
8787
#

src/astrefcat.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* You should have received a copy of the GNU General Public License
2323
* along with SCAMP. If not, see <http://www.gnu.org/licenses/>.
2424
*
25-
* Last modified: 28/06/2020
25+
* Last modified: 01/12/2020
2626
*
2727
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
2828

@@ -194,6 +194,13 @@ astrefstruct astrefcats[] =
194194
{"G", "BP", "RP", ""},
195195
3, 0},
196196

197+
{"GAIA-EDR3", "I/350/gaiaedr3", {"Dup", "RA_ICRS","DE_ICRS","e_RA_ICRS","e_DE_ICRS",
198+
"Epoch","pmRA","pmDE","e_pmRA","e_pmDE",
199+
"Gmag","e_Gmag","BPmag","e_BPmag","RPmag","e_RPmag",""},
200+
{"Gmag", "BPmag","RPmag",""},
201+
{"G", "BP", "RP", ""},
202+
3, 0},
203+
197204
{"PANSTARRS-1", "II/349", {"Qual", "RAJ2000","DEJ2000","e_RAJ2000","e_DEJ2000",
198205
"Epoch", "gmag","e_gmag","rmag","e_rmag","imag","e_imag",
199206
"zmag","e_zmag","ymag","e_ymag",""},
@@ -227,7 +234,7 @@ INPUT Catalog name,
227234
OUTPUT Pointer to the reference field.
228235
NOTES Global preferences are used.
229236
AUTHOR E. Bertin (IAP)
230-
VERSION 02/05/2018
237+
VERSION 01/12/2020
231238
*/
232239
fieldstruct *get_astreffield(astrefenum refcat, double *wcspos,
233240
int lng, int lat, int naxis, double maxradius)
@@ -802,6 +809,7 @@ fieldstruct *get_astreffield(astrefenum refcat, double *wcspos,
802809
break;
803810

804811
case ASTREFCAT_GAIADR2:
812+
case ASTREFCAT_GAIAEDR3:
805813
/*-------- Reject duplicated sources */
806814
sflag = cols[cindex++];
807815
/*

src/astrefcat.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This file part of: SCAMP
99
*
10-
* Copyright: (C) 2002-2018 IAP/CNRS/UPMC
10+
* Copyright: (C) 2002-2020 IAP/CNRS/SorbonneU
1111
*
1212
* License: GNU General Public License
1313
*
@@ -22,7 +22,7 @@
2222
* You should have received a copy of the GNU General Public License
2323
* along with SCAMP. If not, see <http://www.gnu.org/licenses/>.
2424
*
25-
* Last modified: 02/05/2018
25+
* Last modified: 01/12/2020
2626
*
2727
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
2828

@@ -59,7 +59,8 @@ typedef enum {ASTREFCAT_NONE, ASTREFCAT_FILE,
5959
ASTREFCAT_URAT1, ASTREFCAT_SDSSR9, ASTREFCAT_SDSSR12,
6060
ASTREFCAT_NOMAD1, ASTREFCAT_PPMX, ASTREFCAT_CMC15,
6161
ASTREFCAT_TYCHO2, ASTREFCAT_IGSL, ASTREFCAT_ALLWISE,
62-
ASTREFCAT_GAIADR1, ASTREFCAT_GAIADR2, ASTREFCAT_PANSTARRS1
62+
ASTREFCAT_GAIADR1, ASTREFCAT_GAIADR2, ASTREFCAT_GAIAEDR3,
63+
ASTREFCAT_PANSTARRS1
6364
} astrefenum;
6465

6566
typedef struct

src/preflist.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* You should have received a copy of the GNU General Public License
2323
* along with SCAMP. If not, see <http://www.gnu.org/licenses/>.
2424
*
25-
* Last modified: 29/06/2020
25+
* Last modified: 01/12/2020
2626
*
2727
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
2828

@@ -67,7 +67,8 @@ pkeystruct key[] =
6767
{"ASTREF_CATALOG", P_KEY, &prefs.astrefcat, 0,0, 0.0,0.0,
6868
{"NONE", "FILE", "USNO-A2", "USNO-B1", "GSC-2.3", "2MASS", "DENIS-3",
6969
"UCAC-4", "URAT-1", "SDSS-R9", "SDSS-R12", "NOMAD-1", "PPMX", "CMC-15",
70-
"TYCHO-2", "IGSL", "ALLWISE", "GAIA-DR1", "GAIA-DR2", "PANSTARRS-1", ""}},
70+
"TYCHO-2", "IGSL", "ALLWISE", "GAIA-DR1", "GAIA-DR2", "GAIA-EDR3",
71+
"PANSTARRS-1", ""}},
7172
{"ASTREF_WEIGHT", P_FLOAT, &prefs.astref_weight, 0,0, 1e-6,1e6},
7273
{"ASTREFCAT_NAME", P_STRINGLIST, prefs.astref_name, 0,0,0.0,0.0,
7374
{""}, 0, MAXNGROUP, &prefs.nastref_name},
@@ -231,8 +232,8 @@ char *default_prefs[] =
231232
"ASTREF_CATALOG 2MASS # NONE,FILE,USNO-A2,USNO-B1,GSC-2.3,",
232233
" # TYCHO-2,UCAC-4,URAT-1,NOMAD-1,PPMX,",
233234
" # CMC-15,2MASS,DENIS-3,SDSS-R9,SDSS-R12,",
234-
" # IGSL,GAIA-DR1,GAIA-DR2,PANSTARRS-1,",
235-
" # or ALLWISE",
235+
" # IGSL,GAIA-DR1,GAIA-DR2,GAIA-EDR3,",
236+
" # PANSTARRS-1, or ALLWISE",
236237
"ASTREF_BAND DEFAULT # Photom. band for astr.ref.magnitudes",
237238
" # or DEFAULT, BLUEST, or REDDEST",
238239
"*ASTREFCAT_NAME astrefcat.cat # Local astrometric reference catalogs",

0 commit comments

Comments
 (0)