IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2015, 4:49:06 PM (11 years ago)
Author:
eugene
Message:

extensive work on relphot, relastro, uniphot, dvomerge aiming to the construction and calibration of PV3

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/libdvo/src/dbExtractImages.c

    r37807 r38986  
    233233      value.Flt = image[N].exptime;
    234234      break;
     235
     236    case IMAGE_EXPNAME_AS_INT:
     237      // XXX NOTE this does not handle gpc2 images
     238      if ((image[N].name[0] == 'o') && (image[N].name[5] == 'g') && (image[N].name[10] == 'o')) {
     239        int mjd  = atoi(&image[N].name[1]);
     240        int Nexp = atoi(&image[N].name[6]);
     241        value.Int = mjd * 10000 + Nexp;
     242      }
     243      break;
     244
    235245    case IMAGE_SIDTIME:
    236246      value.Flt = image[N].sidtime;
Note: See TracChangeset for help on using the changeset viewer.