Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added OutThere Second PID #225

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grizli/jwst_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2918,12 +2918,12 @@ def query_pure_parallel_wcs(assoc, pad_hours=1.0, verbose=True, products=['1b','
return prime, res, times


def query_pure_parallel_wcs_to_database(programs=[1571,3383,4861,2514,3990], output='/tmp/jwst_pure_parallels.html'):
def query_pure_parallel_wcs_to_database(programs=[1571,3383,4681,2514,3990], output='/tmp/jwst_pure_parallels.html'):
"""
Run pure parallel wcs query for all associations from PP proposals
- 1571: PASSAGE
- 2514: PANORAMIC
- 3383: OutThere
- 3383 & 4681: OutThere
- 3990: Morishita+Mason

"""
Expand Down
7 changes: 4 additions & 3 deletions grizli/pipeline/auto_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -1850,8 +1850,9 @@ def parse_visits(files=[], field_root='', RAW_PATH='../RAW', use_visit=True, com

# Remove visit number from NIRISS parallel visits
for v in visits:
IS_NIS_PARALLEL = v['product'].startswith('indef-03383')
IS_NIS_PARALLEL |= v['product'].startswith('indef-01571')
IS_NIS_PARALLEL = v['product'].startswith('indef-01571')
IS_NIS_PARALLEL |= v['product'].startswith('indef-03383')
IS_NIS_PARALLEL |= v['product'].startswith('indef-04681')

ks = v['product'].split('-')

Expand Down Expand Up @@ -1947,7 +1948,7 @@ def parse_visits(files=[], field_root='', RAW_PATH='../RAW', use_visit=True, com
all_groups = utils.parse_grism_associations(visits, info)

# JWST PASSAGE
if (len(all_groups) > 0) & ('jw01571' in files[0]) | ('jw03383' in files[0]):
if (len(all_groups) > 0) and ( ('jw01571' in files[0]) or ('jw03383' in files[0]) or ('jw04681' in files[0]) ):
for v in visits:
if 'clear' in v['product']:
print('NIRISS pure parallel direct: ', v['product'])
Expand Down