Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pyproject to use oldest-supported-numpy (#1118) * Update pyproject to use oldest-supported-numpy * Update bdist settings * Update license year * Add build-backend to pyproject.toml, to force PEP517 build (#1121) Co-authored-by: Zane.Geiger <[email protected]> * MVM: Insure SVM-derived WCS gets used as input to MVM processing (#1125) * make_poller_files.py: updated code to produce proper output when processing SVM-pipeline-updated flc/flt fits files * make_poller_files.py: renamed locate_fitspath_from_rootname() to locate_fitsfile(). Refactored subroutine to be able to process full filenames, as well as rootnames. Also updated docstrings, help text; Updated subroutine name in external calls in search_skyframes.py and make_custom_mosaic.py. * end of day commit * development ongoing * development ongoing * product.py: tweaked how layer_vals in declared. * product.py: tweaked how sce_filename is declared * Development milestone #1 (Add new functionality to MVM code: Add ability to process SVM-processed flc/flt files) complete. * which_skycell.py: initial commit * removed a couple of pdb imports * poller_utils.py: removed pdb import statement * assorted PEP8 and spelling fixes * which_skycell.py: subroutine 'identify_pc_sc' to 'report_skycells' * which_skycell.py: minor tweak to docstring Co-authored-by: Michael Dulude <[email protected]> * which_skycell.py: fixed incorrectly set argument in file open command (#1128) * Remove dependence on photutils private functions (#1127) * Only deblend large sources (#1131) * Generate empty source catalogs (#1122) * Generate empty source catalogs * Treat catalog rejection correctly * Write out empty seg catalogs when rejecting * Update verify_crthresh logic for rejecting catalogs * Insure empty catalogs always get created * Ensure hapcut utilities will work on MVM exposure-level products (#1119) * WIP Removed the option of a single output MEF file for image cutouts. The output cutout filename now contains "p####" vs "####" for consistency with other MVM filenames. Ensure proper treatment of WFC3/IR files which have both a "fine" (default) and "coarse" platescales where only "coarse" is part of the input and output filenames. Instead of adding the input filename to the PHDU header of the output file as a HISTORY keyword, put this value in keyword ORIG_FLE in the PHDU. This keyword can already be found in the EHDUs. Delete stale variables asap. * Updates to process exposure-level images. Group the input images by detector/filter. RA/Dec decimal degree coordinates truncated to four decimal places in the mantissa. Fixed use of dash vs underscore when creating the output filenames. Comments updated. * Reworked the mvm_combine function to use dictionaries to keep track of the filter-level and exposure level files. The img_combiner parameter is currently disabled. * Added try/except blocks and additional comments. Make sure variables are initialized as necessary. * Corrected typos in comments. * Function mvm_analyze_wrapper determines the viability of an image for MVM processing (#1132) * Added a new function, mvm_analyze_wrapper, which uses the functionality in the underlying analyze_data routine to examine FITS keywords and determine the viability of the data to be used in the MVM processing. The mvm_analyze_wrapper works on a single image at a time. Added an optional parameter to analyze_data so the routine can determine when MVM processing is wanted as MVM processing does not allow anything to be done for GRISM/PRISM images. Updated doc strings. * Changed logging level from DEBUG to NOTSET. * Changed log setting to DEBUG in the creation of the logger, as well as setting the level for the handlers to force out INFO messages. Improved documentation of an input parameter. Made logic more explict in the code handling Grism/Prism data. * MVM: Make alignment to GAIA optional (#1133) * hapmultisequencer.py: added logic in run_mvm_processing() to skip run_align_to_gaia() step and a new optional subroutine input 'skip_gaia_alignment' in run_mvm_processing() to control the new feature. * runmultihap.py: added new optional command-line switch to allow users to skip gaia alignment of input images * fixed some docstring input param definitions * make_custom_mosaic.py: updated code to support new "skip_gaia_alignment" functionality in hapmultisequencer. * minor docstring tweaks * Minimize use of fitting for shift only (#1129) * Improve alignment process * Generate empty source catalogs * Get logic right for skipping fits * Update logic to keep up with #1122 * Made crclean efficient * Use background value to replace CRs;add comments * Update setup to explicitly require numpy * Bump min Python to 3.7 * Revert to using current numpy only for build (#1124) Co-authored-by: Zane Geiger <[email protected]> Co-authored-by: Zane.Geiger <[email protected]> Co-authored-by: Michael Dulude <[email protected]> Co-authored-by: Michael Dulude <[email protected]> Co-authored-by: Larry Bradley <[email protected]> Co-authored-by: mdlpstsci <[email protected]>
- Loading branch information