IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2012, 2:49:37 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/psastro/src/psastroLoadRefstars.c

    r33633 r33638  
    3333
    3434    float dRA = RAmax - RAmin;
    35     RAmin -= dRA * fieldPadding;
    36     RAmax += dRA * fieldPadding;
     35    if (dRA * (1. + 2 * fieldPadding) < 180.) {
     36        RAmin -= dRA * fieldPadding;
     37        RAmax += dRA * fieldPadding;
     38    } else {
     39        // if dRA > 180 getstar has problems. Just search the entire range
     40        RAmin = 0;
     41        RAmax = 360;
     42    }
    3743
    3844    float dDEC = DECmax - DECmin;
Note: See TracChangeset for help on using the changeset viewer.