IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10929


Ignore:
Timestamp:
Jan 5, 2007, 10:29:32 AM (19 years ago)
Author:
eugene
Message:

added mosaic (DIS) case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/imlist.c

    r7917 r10929  
    8484    if (!FindMosaicForImage (image, Nimage, i)) continue;
    8585    t = TimeValue (image[i].tzero, TimeReference, TimeFormat);
    86     XY_to_RD (&r, &d, 0.5*image[i].NX, 0.5*image[i].NY, &image[i].coords);
     86    if (!strcmp(&image[i].coords.ctype[4], "-DIS")) {
     87      XY_to_RD (&r, &d, 0.0, 0.0, &image[i].coords);
     88    } else {
     89      XY_to_RD (&r, &d, 0.5*image[i].NX, 0.5*image[i].NY, &image[i].coords);
     90    }
    8791    gprint (GP_LOG, "%3d %s %8.4f %8.4f %f %5d %2d %4.2f %5.3f %5.3f\n",
    8892             i, image[i].name, r, d, t, image[i].nstar, image[i].source, image[i].secz_PS, image[i].Mcal_PS, image[i].dMcal_PS);
Note: See TracChangeset for help on using the changeset viewer.