IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/psastro/src/psastroLoadRefstars.c

    r24026 r24951  
    128128    if (!strcmp (outformat, "PS1_DEV_0")) {
    129129      refstars = psastroReadGetstar_PS1_DEV_0 (fits);
     130
     131      // XXX test
     132      // FILE *outfile = fopen ("refstars.dat", "w");
     133      // assert (outfile);
     134      // for (int nn = 0; nn < refstars->n; nn++) {
     135      //          pmAstromObj *ref = refstars->data[nn];
     136      //          fprintf (outfile, "%lf %lf\n", ref->sky->r*PS_DEG_RAD, ref->sky->d*PS_DEG_RAD);
     137      // }
     138      // fclose (outfile);
    130139    }
    131140    if (refstars == NULL) {
     
    218227        psMetadata *row = psFitsReadTableRow(fits, i); // Table row
    219228
    220         ref->sky->r   = RAD_DEG*psMetadataLookupF32 (&status, row, "RA");
    221         ref->sky->d   = RAD_DEG*psMetadataLookupF32 (&status, row, "DEC");
     229        ref->sky->r   = RAD_DEG*psMetadataLookupF64 (&status, row, "RA");
     230        ref->sky->d   = RAD_DEG*psMetadataLookupF64 (&status, row, "DEC");
    222231        ref->Mag      = psMetadataLookupF32 (&status, row, "MAG");
    223232        float MagC1   = psMetadataLookupF32 (&status, row, "MAG_C1");
Note: See TracChangeset for help on using the changeset viewer.