IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2021, 6:11:39 PM (5 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-dev-20210817 (use new API to set extra orders from recipe))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoadAstrometry.c

    r41526 r41897  
    9494        }
    9595    }
     96
    9697    // apply the bilevel astrometry elements to the target
    9798    if (bilevelAstrometry) {
    98       int additional_orders = 4;
    99       bool status = false;
    100       int config_additional_orders = psMetadataLookupS32(&status,config->arguments,"ADDITIONAL_WCS_ORDERS");
    101       if (status) {
    102         additional_orders = config_additional_orders;
    103       }
    104       psMetadataAddS32(astrom->fpa->analysis,PS_LIST_TAIL, "ADDITIONAL_WCS_ORDERS", PS_META_REPLACE,
    105                        "Additional orders for bilevel fit.", additional_orders);
    106      
    107        
    10899        if (!pmAstromReadBilevelMosaic(astrom->fpa, phu->header)) {
    109100            psError(psErrorCodeLast(), false, "Unable to read bilevel mosaic astrometry for skycell.");
Note: See TracChangeset for help on using the changeset viewer.