Skip to content

Commit 988ebcc

Browse files
npadmanaclaude
andcommitted
Avoid editing vendored roman-technical-information ECSV files
Revert the 18 Roman_effarea_v8_SCA*_20240301.ecsv files to upstream so users can swap in different roman-technical-information versions without romanisim's modifications interfering. The PRISM/GRISM column rename is moved into read_gsfc_effarea via a small column-name alias dict, which also handles either RTI naming convention transparently. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 38ae4e4 commit 988ebcc

19 files changed

Lines changed: 68 additions & 54 deletions

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA01_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA02_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA03_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA04_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA05_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA06_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA07_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA08_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA09_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

romanisim/data/roman-technical-information/data/WideFieldInstrument/Imaging/EffectiveAreas/Roman_effarea_v8_SCA10_20240301.ecsv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# - {name: F184, datatype: float32}
1212
# - {name: F146, datatype: float32}
1313
# - {name: F213, datatype: float32}
14-
# - {name: PRISM, datatype: float32}
15-
# - {name: GRISM, datatype: float32}
14+
# - {name: Prism, datatype: float32}
15+
# - {name: Grism_1stOrder, datatype: float32}
1616
# - {name: Grism_0thOrder, datatype: float32}
1717
# schema: astropy-2.0
18-
Wave, F062, F087, F106, F129, F158, F184, F146, F213, PRISM, GRISM, Grism_0thOrder
18+
Wave, F062, F087, F106, F129, F158, F184, F146, F213, Prism, Grism_1stOrder, Grism_0thOrder
1919
0.400, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2020
0.401, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
2121
0.402, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

0 commit comments

Comments
 (0)