This file is indexed.

/usr/include/astrometry/hd.h is in libastrometry-dev 0.67+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/

#ifndef AN_HD_H
#define AN_HD_H

#include "astrometry/kdtree.h"
#include "astrometry/bl.h"

/**

 This code allows easy access to the Henry Draper catalog stored in
 kd-tree format.  Get the required hd.fits file either by the easy way:

 wget http://trac.astrometry.net/export/13120/binary/henry-draper/hd.fits

 Or the hard way (which involves downloading > 500 MB of Tycho-2 catalog from Denmark!):

 make hd.fits   (in the astrometry.net catalog/ directory)

 **/


struct hd_entry {
    // J2000.0 degrees
    double ra;
    double dec;

    int hd;
};
typedef struct hd_entry hd_entry_t;

struct hd_catalog {
    char* fn;
    kdtree_t* kd;
};
typedef struct hd_catalog hd_catalog_t;

hd_catalog_t* henry_draper_open(const char* fn);

// N stars
int henry_draper_n(const hd_catalog_t* hd);

void henry_draper_close(hd_catalog_t* hd);

bl* henry_draper_get(hd_catalog_t* hd,
                     double racenter, double deccenter,
                     double radius_in_arcsec);

#endif