IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42076


Ignore:
Timestamp:
Feb 28, 2022, 12:06:44 PM (4 years ago)
Author:
eugene
Message:

merge from eam_branches/ipp-20211108 : add apparent mag to mpcorb prediction; install mpcorb_predict by default

Location:
trunk/Ohana/src/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/Makefile

    r41710 r42076  
    1717PROGRAMS = gconfig fhead pspsconvert ftable fields list_astro glockfile \
    1818radec mktemp precess csystem fits_insert \
    19 medianfilter mefhead ckfits random fits_to_mysql testukirt
     19medianfilter mefhead ckfits random fits_to_mysql mpcorb_predict
     20
     21OTHER = testukirt
    2022
    2123# roc
  • trunk/Ohana/src/tools/src/mpcorb_predict.c

    r41714 r42076  
    237237
    238238  Planets tmpPlanet;
     239  memset (&tmpPlanet, 0, sizeof(Planets));
     240
    239241  PlanetDatum myPlanet;
    240242  myPlanet.Robs = NAN;
    241243  myPlanet.Dobs = NAN;
    242244  myPlanet.dist = NAN;
     245  myPlanet.Mobs = NAN;
     246  memset (myPlanet.ID, 0, 8);
    243247
    244248  // correct the orbital elements to the perturbed version
Note: See TracChangeset for help on using the changeset viewer.