Skip to content

Commit a96d942

Browse files
committed
EFCC18 debiasing for UCAC-5 was applied to Gaia-DR3 instead. Wrong catalogue code was given in the input file, and fixed there in 2023... but plenty of old copies of the EFCC18 data are out there; this fix ensures they'll work correctly
1 parent 4898baa commit a96d942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bias.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ int find_fcct_biases( const double ra, const double dec, const char catalog,
201201
fclose( ofile);
202202
}
203203
}
204+
if( n_cats == 26 && catalog_codes[25] == 'W') /* fix a mistaken catalog */
205+
catalog_codes[25] = 'Y'; /* code in pre-2023 EFCC files */
204206
if( !catalog) /* just inquiring as to which version we have */
205207
return( n_cats == 26 ? 2018 : 2014);
206208
catalog_loc = strchr( catalog_codes, catalog);

0 commit comments

Comments
 (0)