ChangeLog for mosspectra
===============================

Version 0.20.2 - 2023-04-04 (BP)
----------------------
        + Doc improvements.

Version 0.20.1 - 2023-02-10 (BP)
----------------------
        + Changed logic for region file to die if not found or readable.

Version 0.20 - 2023-01-30 (BP)
----------------------
        + Fixed initialization issues with region definition.

Version 0.19 - 2023-01-14 (BP)
----------------------
	+ Removed parameter withimages (confused downstream esas tasks). Makes all images by default.
        + Cleaned up diagnostic messages.
	+ Fixed typo in filename.
	+ Added test for zero in hardness denominator.
	+ Added test for orbit number (no cal data for ESAS < 42).

Version 0.18 - 2022-09-20 (BP)
----------------------
        + Lengthened command string to accommodate longer region expressions.
	+ Fixed missing character in fwcmask filename.

Version 0.17 - 2022-08-28 (BP)
----------------------
        + Added warning if withimages=F downstream ESAS tasks will not work.
        + Removed superfluous print statements.
        + Added	print of OBSID and EXPID.
	+ Fast submode with ccd1=T changed to Warning, reset ccd1=F, continue.

Version 0.16 - 2022-05-17 (BP)
----------------------
        + Aligned check_clobber call with new gofio call.

Version 0.15 - 2022-03-22 (BP)
----------------------
        + Standalone f95 version converted from perl in esas.
	+ Replaced "prefix" param with eventfile/cornerfile/imagefile.
	+ Users can enter full file names or allow mosspectra to derive them from INST+EXPID by default.
	+ Added keepinterfiles param to allow user to delete intermediary files.
	+ Allows user to enter evselect PATTERN.
	+ Seven 'ccdN' parameters are now a single boolean array.
	+ Allows user to pass badpixelresolution param to backscale to speed runtime.
	+ Now reads new EMOS*_FWC_nnnn.CCF not 'caldb' FWC files.
	+ Changed "mask" integer param to boolean withsrcrem paired with
	mask filename for source exclusion.

Version 0.14.2 - 2021-10-17 (BP)
----------------------
        + Changed ehigh .gt. 0 trigger to create images to use param withimages.

Version 0.14.1 - 2021-10-15 (BP)
----------------------
	+ Added call to check_clobber.
	+ Fixed array bound problem.

Version 0.14 - 2021-09-19 (BP)
----------------------
	+ Added sub to add attributes from FOV spectra to FWC spectra (needed for backscale, rmfgen, arfgen).
	+ Removed debugging print statements.
	+ Added diagnostic statements.
	+ Added missing tasks called by mosspectra to DEPEND file.
	+ Tweaked evselect calls.
	+ Tweaked chip definitions.
	+ Added missing call to release dataset.
	+ Added badpixelresolution param to pass to backscale call to speed run time.

Version 0.13.1 - 2021-08-11 (BP)
----------------------
	+ Calculates FWC exposure per CCD.
	+ Adds EXPOSURE attribute to relevant FWC output files.
	+ Processes new FWC CCFs.

Version 0.13 - 2021-05-10 (BP)
----------------------
	+ Added CAL_fwcInfo call.

Version 0.12 - 2021-04-08 (BP)
----------------------
	+ Changed evselect selection criteria.
        + Moved I/O calls to gofio in goflib.
        + Bug fixes.
        + Some output file name changes for downstream.

Version 0.11.4 - 2020-10-20 (BP)
----------------------
	+ Fixed missing config dir in Makefile.

Version 0.11.3 - 2020-10-12 (BP)
----------------------
	+ Fixed boolean parameter bug.
	+ Fixed parameter name reversal.

Version 0.11.2 - 2020-09-30 (BP)
----------------------
	+ Cleaned up docs (wrong filenames).
	+ Corrected filenames in package.

Version 0.11.1 - 2020-09-30 (BP)
----------------------
	+ Fixed DEPEND file (missing goflib, updated version numbers).
	+ Removed some print statements.
	+ Changed printParams formatting.

Version 0.11 - 2020-09-10 (BP)
----------------------
	+ REMOVED from ESAS.
	+ First standalone version.
	+ Renamed mosspectra from mos_spectra.
	+ Updated parameters.
	+ Added lyt file.
	+ Updated output filenames.
	+ User-selected and/or derived output filenames.
	+ Removed command.csh.
	+ Conversion to f95.
	+ Updated evselection calls.
	+ Consolidated changes between ESAS and mos-spectra specifically.
	+ All changes below are the mos-spectra-relevant ESAS ChangeLog entries.

Version 0.10 - 2018-02-13 (EO)
------------------------------
	+ This is a new major version of this package including a new GNU
	Public License Text disclaimer required to distribute the SAS source
	code to the Astronomical Community under the terms of the GNU Public
	License. The text as it is shown below is the same that has been 
	included in all SAS source code files.

	ESA (C) 2000-2018
 
	This file is part of ESA's XMM-Newton Scientific Analysis System
	(SAS).

	SAS is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	SAS is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with SAS.  If not, see <http://www.gnu.org/licenses/>.
	---------------------------------------------------------------------

Version 0.9.37 - 2016-10-17 (SS&BP)
------------------------
	+ Removed sls code from perl subdir to avoid paralled devel confusion.
	+ Config file changes.
	+ Updates to mosspectra\_GVariables, mosspectra\_parameters\_init

Version 0.9.35 - 2016-07-21 (SS)
------------------------
	+ Cleaned up failing LaTeX

Version 0.9.32 - 2014-10-27 (BP)
------------------------
	+ Changed "mv" to "cp" in perl tasks for HERA and TREND usage.

Version 0.9.28 - 2013-10-31 (SS)
------------------------
	+ Docs updated for all subtasks.

Version 0.9.13 - 2011-03-02 (BP)
------------------------
	+ Requires download of CalDB files
        + Minor tweaks to increase utility of filtering

Version 0.9.13 - 2012-01-17 (SS)
------------------------
	+ More diagnostic output and changes to anomolous CCD code and tweaking of MOS1 CCD#5 threshold.
	+ Convert MOS processing to use 5 eV channels. 

Version 0.9.11 - 2010-11-26 (SS&BP)
------------------------
	+ Modified the CalDB files to combine and reduce the
total number, affecting mos-spectra.

Version 0.9.10 - 2010-05-01 (SS&BP)
------------------------
	+ All single routine docs added.
	+ Improve CCD region selection.

Version 0.9 - 2009-05-07 (SS&BP)
------------------------
	+ Improved docs.
	+ Fixed Solaris build problem. 

Version 0.7 - 2011-03-10 (SS)
------------------------
	+ Updates to calibration files (7 added 4 removed).
	+ Minor tweaks for correct handling of anomolous states. 

Version 0.6 - 2011-02-10 (SS)
------------------------
	+ ESAS 0.9.12
	+ Added test for the revolution to exclude MOS1 CCD#6 from processin if the time observation occurred after the micrometeorite hit.

Version 0.5 - 2010-11-26 (SS)
------------------------
	+ ESAS 0.9.11
	+ Modified the CalDB files to combine and reduce the total number.

Version 0.4 - 2009-04-23 (SN&AI)
------------------------
	+ ESAS 0.7
	+ New parameter "caldb" added.

Version 0.3 - 2009-04-23 (CG)
------------------------
	+ Updated for SAS compliance by C. Gabriel.

Version 0.2.1 - 2009-03-11 (AI)
------------------------
	+ ESAS 0.5
	+ DEPEND file updated

Version 0.2 - 2009-02-06 (AI)
------------------------
	+ New subroutines added
	+ Parameter interfaces updated.	

Version 0.1 - 2009-02-03 (BP&AI)
----------------------------
	+ ESAS directory structure created by pkgmaker.
