Skip to content

Commit

Permalink
Merge pull request #187 from desihub/zcat-nspec
Browse files Browse the repository at this point in the history
Update definition of ZCAT_NSPEC
  • Loading branch information
weaverba137 authored Jan 3, 2024
2 parents 3197b80 + cdeba79 commit 746385c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ SV_NSPEC [1]_ int32 Number of coadded spectra fo
SV_PRIMARY [1]_ logical Boolean flag (True/False) for the primary coadded spectrum in SV (SV1+2+3)
MAIN_NSPEC [1]_ int32 Number of coadded spectra for this TARGETID in Main survey
MAIN_PRIMARY [1]_ logical Boolean flag (True/False) for the primary coadded spectrum in Main survey
ZCAT_NSPEC int16 Number of coadded spectra for this TARGETID in this zcatalog
ZCAT_NSPEC int16 Number of times this TARGETID appears in this catalog
ZCAT_PRIMARY logical Boolean flag (True/False) for the primary coadded spectrum in this zcatalog
========================== =========== ============ =====================================================================================================================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ SV_NSPEC [1]_ int32 Number of coadded spectra fo
SV_PRIMARY [1]_ logical Boolean flag (True/False) for the primary coadded spectrum in SV (SV1+2+3)
MAIN_NSPEC [1]_ int32 Number of coadded spectra for this TARGETID in Main survey
MAIN_PRIMARY [1]_ logical Boolean flag (True/False) for the primary coadded spectrum in Main survey
ZCAT_NSPEC int16 Number of coadded spectra for this TARGETID in this zcatalog
ZCAT_NSPEC int16 Number of times this TARGETID appears in this catalog
ZCAT_PRIMARY logical Boolean flag (True/False) for the primary coadded spectrum in this zcatalog
========================== =========== ============ =====================================================================================================================================

Expand Down
2 changes: 2 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ desidatamodel Change Log
23.6 (unreleased)
-----------------

* Update definition of ``ZCAT_NSPEC`` (PR `#187`_).
* Add note about equivalent width values in ``fuji`` and ``guadalupe`` (PR `#181`_).
* Add note about units in FITS files (PR `#178`_).

.. _`#178`: https://github.com/desihub/desidatamodel/pull/178
.. _`#181`: https://github.com/desihub/desidatamodel/pull/181
.. _`#187`: https://github.com/desihub/desidatamodel/pull/187

23.1 (2023-06-12)
-----------------
Expand Down
2 changes: 1 addition & 1 deletion py/desidatamodel/data/column_descriptions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ WEIGHT_ZFAIL,float64,,Should be all 1 at this point for main survey
WISEMASK_W1,byte,,Bitwise mask for WISE W1 data
WISEMASK_W2,byte,,Bitwise mask for WISE W2 data
Z,float64,,Redshift measured by Redrock
ZCAT_NSPEC,int32,,Number of coadded spectra for this TARGETID in this zcatalog
ZCAT_NSPEC,int32,,Number of times this TARGETID appears in this catalog
ZCAT_PRIMARY,bool,,Boolean flag (True/False) for the primary coadded spectrum in this zcatalog
ZERR,float64,,Redshift error from redrock
ZPOSSLOC,bool,,True/False whether the location could have been assigned to the given target class
Expand Down
2 changes: 1 addition & 1 deletion py/desidatamodel/test/test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_files_to_regexp_with_bad_filetype(self):
root = os.path.join(os.environ[DM], 'doc', 'DESI_SPECTRO_DATA')
files = scan_model(root)
foo = files[0].get_regexp(root)
self.assertLog(log, -1, "Unusual file type, fits, detected for {0}!".format(files[0].filename))
self.assertLog(log, -1, "Unusual file type, json, detected for {0}!".format(files[0].filename))

def test_get_regexp_filesize(self):
"""Test extraction of file size from data model documents.
Expand Down

0 comments on commit 746385c

Please sign in to comment.