-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCD-1465 Removed all redundant tpn files for roman datamodel-represen…
…ted references. Certify parameter reference files (#1050) Changes: * allow subkinds to filekinds This allows generalizing the "all_" structure to parameter files. For example, now the following file is allowable: all_pars.tpn to generalize constraints that apply to all parameter reference files. * Add specs and tpns that apply to all parameter reference files * remove redundant tpns for rdm based references * add pack the general rmap tpns * remove asdf tag checking Too specific, just roman, and the roman check was too general, assuming that all tags are roman datamodels * update certify tests expected outputs differ due to validation being done by the datamodel schema instead of tpns. * script to recreate the test data * fix reftype checking and make pars tpn stricter * add tests for parameter references certification * update tests to handle different testing environments * update changelog * fix rmap tests for different results
- Loading branch information
1 parent
455d643
commit e9a3ee6
Showing
38 changed files
with
1,001 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
'instrument' : 'all', | ||
'filetype' : 'pars', | ||
'suffix' : 'pars', | ||
'file_ext': '.asdf', | ||
'text_descr' : 'All parameters reference file types.', | ||
'ld_tpn': 'all_pars_ld.tpn', | ||
'tpn': 'all_pars.tpn', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Constraints defined in this file apply to every reference file | ||
# | ||
# Template file used by certify to check reference files | ||
# Some fields may be abbreviated to their first character: | ||
# | ||
# keytype = (Header|Group|Column) | ||
# datatype = (Integer|Real|Logical|Double|Character) | ||
# presence = (Optional|Required) | ||
# | ||
# NAME KEYTYPE DATATYPE PRESENCE VALUES | ||
#---------------------------------------------------------- | ||
ROMAN.META.TELESCOPE H C R ROMAN | ||
ROMAN.META.INSTRUMENT.NAME H C R | ||
ROMAN.META.REFTYPE H C R | ||
ROMAN.META.USEAFTER H C R &JWSTDATE | ||
ROMAN.META.PEDIGREE H C R &JWSTPEDIGREE | ||
ROMAN.META.AUTHOR H C R | ||
ROMAN.META.DESCRIPTION H C R | ||
ROMAN.META.ORIGIN H C R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# Constraints defined in this file apply to every reference file | ||
# | ||
# Template file used by certify to check reference files | ||
# Some fields may be abbreviated to their first character: | ||
# | ||
# keytype = (Header|Group|Column) | ||
# datatype = (Integer|Real|Logical|Double|Character) | ||
# presence = (Optional|Required) | ||
# | ||
# NAME KEYTYPE DATATYPE PRESENCE VALUES | ||
#---------------------------------------------------------- | ||
META.TELESCOPE H C R ROMAN | ||
META.INSTRUMENT.NAME H C R WFI | ||
META.REFTYPE H C R | ||
META.USEAFTER H C R &JWSTDATE | ||
META.PEDIGREE H C R &JWSTPEDIGREE | ||
META.AUTHOR H C R | ||
META.DESCRIPTION H C R | ||
META.ORIGIN H C R | ||
META.INSTRUMENT.DETECTOR H C O WFI01,WFI02,WFI03,WFI04,WFI05,WFI06,WFI07,WFI08,WFI09,\ | ||
WFI10,WFI11,WFI12,WFI13,WFI14,WFI15,WFI16,WFI17,WFI18,\ | ||
ANY,N/A | ||
META.INSTRUMENT.OPTICAL_ELEMENT H C O F062,F087,F106,F129,F146,F158,F184,F213,GRISM,\ | ||
PRISM,CLEAR,DARK,N/A,ANY,UNKNOWN | ||
META.EXPOSURE.TYPE H C O WFI_IMAGE,WFI_GRISM,WFI_PRISM,WFI_DARK,WFI_WSM_ACQ1,WFI_WSM_ACQ2,\ | ||
WFI_WSM_TRACK,WFI_WFSC,DEFOCUS_MODERATE,DEFOCUS_LARGE,\ | ||
WFI_WIM_ACQ,WFI_WIM_TRACK,WFI_PARALLEL,\ | ||
WFI_FLAT_EXTERNAL,WFI_FLAT_INTERNAL,WFI_RCS |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Contraints defined in this file apply to every REFTYPE of the WFI instrument | ||
|
||
# Template file used by certify to check reference files | ||
# Some fields may be abbreviated to their first character: | ||
# | ||
# keytype = (Header|Group|Column|Expression) | ||
# datatype = (Integer|Real|Logical|Double|Character|Expression) | ||
# presence = (Optional|Required) | ||
# | ||
# NAME KEYTYPE DATATYPE PRESENCE VALUES | ||
#---------------------------------------------------------- | ||
ROMAN.META.INSTRUMENT.NAME H C R WFI | ||
|
||
ROMAN.META.INSTRUMENT.DETECTOR H C O WFI01,WFI02,WFI03,WFI04,WFI05,WFI06,WFI07,WFI08,WFI09,\ | ||
WFI10,WFI11,WFI12,WFI13,WFI14,WFI15,WFI16,WFI17,WFI18,\ | ||
ANY,N/A | ||
|
||
ROMAN.META.INSTRUMENT.OPTICAL_ELEMENT H C O F062,F087,F106,F129,F146,F158,F184,F213,GRISM,\ | ||
PRISM,CLEAR,DARK,N/A,ANY,UNKNOWN | ||
|
||
ROMAN.META.EXPOSURE.TYPE H C O WFI_IMAGE,WFI_GRISM,WFI_PRISM,WFI_DARK,WFI_WSM_ACQ1,WFI_WSM_ACQ2,\ | ||
WFI_WSM_TRACK,WFI_WFSC,DEFOCUS_MODERATE,DEFOCUS_LARGE,\ | ||
WFI_WIM_ACQ,WFI_WIM_TRACK,WFI_PARALLEL,\ | ||
WFI_FLAT_EXTERNAL,WFI_FLAT_INTERNAL,WFI_RCS |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.