You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "run_pynrc_new_hd_53143.py", line 297, in
create_level1b_FITS(sim_config,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/ngNRC.py", line 154, in create_level1b_FITS
obs_input = DMS_input(xml_file, pointing_file, json_file, sm_acct_file,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 6110, in init
self.program_info = gen_all_apt_visits(xml_file, pointing_file, sm_acct_file, json_file,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 5239, in gen_all_apt_visits
pointing_info = get_pointing_info(pointing_file)
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 4648, in get_pointing_info
do_this = ((int(elements[1]) > 0) & ('NRC' in elements[4])) or
IndexError: list index out of range
THIS IS THE GLOSSARY AT THE END OF THE POINTING FILE THAT CAUSES THE ISSUE. IF I DELETE IT FROM THE POINTING FILE IT WORKS:
========================================
Glossary
Tar - Target order #
Tile - Mosaic Tile order #
Exp - Exposure order #
Dith - Dither order #
Aperture Name - Name of aperture
Target - Target name
RA - Target RA
Dec - Target Dec
BaseX/Y - Base Offsets from the initial point in the science instrument ideal coordinate frame (in arcsec)
DithX/Y - Dither offsets from the Base point in the science instrument ideal coordinate frame (in arcsec)
V2/V3 - Position of the target in the JWST focal plane in the V2/V3 coordinate frame (in arcsec)
IdlX/Y - Ideal X/Y Position of the target in the science instrument ideal coordinate frame (in arcsec). This is the combination of the BaseX/Y and the DithX/Y.
Level - Levels used to reason on visit splitting. Can take the values: NONE,FORCED,REPEAT,TARGET,APERTURE,TILE,MSA_CONFIG,FILTER,DITHER,SUBDITHER
Type - Type of pointing: Science, Acq
ExPar - External parallel slot duration
DkPar - Dark parallel slot duration
dDist - delta distance dDist from the previous pointing
APA - aperture position angle (for NIRSpec MOS only)
Notes: For more information on the these coordinate systems please see:
https://jwst-docs.stsci.edu/display/latest/JWST+Instrument+Ideal+Coordinate+Systems
There is an option in the APT preferences (in the JWST tab) called "High precision pointings report" which increases the number of decimal places.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "run_pynrc_new_hd_53143.py", line 297, in
create_level1b_FITS(sim_config,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/ngNRC.py", line 154, in create_level1b_FITS
obs_input = DMS_input(xml_file, pointing_file, json_file, sm_acct_file,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 6110, in init
self.program_info = gen_all_apt_visits(xml_file, pointing_file, sm_acct_file, json_file,
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 5239, in gen_all_apt_visits
pointing_info = get_pointing_info(pointing_file)
File "/Users/jkammerer/Documents/Code/pynrc_new/pynrc/pynrc/simul/apt.py", line 4648, in get_pointing_info
do_this = ((int(elements[1]) > 0) & ('NRC' in elements[4])) or
IndexError: list index out of range
THIS IS THE GLOSSARY AT THE END OF THE POINTING FILE THAT CAUSES THE ISSUE. IF I DELETE IT FROM THE POINTING FILE IT WORKS:
========================================
Glossary
The text was updated successfully, but these errors were encountered: