Skip to content

Commit

Permalink
Added ADES tags for spacecraft velocity (vel1, vel2, vel3). Looks as …
Browse files Browse the repository at this point in the history
…if we don't have velCov## tags yet.
  • Loading branch information
Bill-Gray committed Apr 22, 2024
1 parent 2ae152c commit 01480d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ades2mpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ sorted so that a binary search can speed up tag matching slightly. */
#define ADES_trkSub 140
#define ADES_trx 141
#define ADES_uncTime 142
#define ADES_vel1 143
#define ADES_vel2 144
#define ADES_vel3 145

/* See 'adestags.c' for code that created following array
and the above #defines. */
Expand Down Expand Up @@ -293,7 +296,8 @@ static int find_tag( const char *buff, size_t len)
"selPhot", "shapeOcc", "sigCorr", "sigDec", "sigDelay",
"sigDoppler", "sigMag", "sigRA", "sigTime", "software",
"stn", "subFmt", "subFrm", "submitter", "sys", "telescope",
"trkID", "trkMPC", "trkSub", "trx", "uncTime",
"trkID", "trkMPC", "trkSub", "trx", "uncTime", "vel1",
"vel2", "vel3",
NULL };

int i, rval = -1;
Expand Down
2 changes: 2 additions & 0 deletions adestags.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ int main( const int intentionally_unused_argc,
"name",
/* added Sep 2018 */
"rmsTime",
/* added April 2024 */
"vel1", "vel2", "vel3",
NULL };
size_t i, j;

Expand Down

0 comments on commit 01480d1

Please sign in to comment.