Skip to content

Commit

Permalink
EFCC18 debiasing for UCAC-5 was applied to Gaia-DR3 instead. Wrong ca…
Browse files Browse the repository at this point in the history
…talogue 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
  • Loading branch information
Bill-Gray committed Nov 16, 2024
1 parent 4898baa commit a96d942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bias.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ int find_fcct_biases( const double ra, const double dec, const char catalog,
fclose( ofile);
}
}
if( n_cats == 26 && catalog_codes[25] == 'W') /* fix a mistaken catalog */
catalog_codes[25] = 'Y'; /* code in pre-2023 EFCC files */
if( !catalog) /* just inquiring as to which version we have */
return( n_cats == 26 ? 2018 : 2014);
catalog_loc = strchr( catalog_codes, catalog);
Expand Down

0 comments on commit a96d942

Please sign in to comment.