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

First version of list_obs #566

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

DougBurke
Copy link
Member

@DougBurke DougBurke commented Dec 10, 2021

Issues

  • no parameter file (although it's simple enough to get away with it)
  • the screen output is tecnically a little confusing as it assumes
    that reproject_obs-like functionality is about to happen.

Examples

% list_obs 5826/,5827/
Running list_obs
Version: 10 December 2021

Found 5826/primary/acisf05826N004_evt2.fits.gz
Found 5827/primary/acisf05827N004_evt2.fits.gz
Verifying 2 observations.
Calculating new tangent point.
New tangent point: RA=12h 30m 48.495s Dec=12d 23' 39.92"

Observations to be reprojected:

  Obsid  Obs Date   Exp    DETNAM     SIM_Z    FP   Sepn   PA
                   (ks)                (mm)    (K)   (')  (deg)
---------------------------------------------------------------
1 5826  2005-03-03 126.8 ACIS-0123   -231.596 154.1   0.6   +36
2 5827  2005-05-05 156.2 ACIS-0123   -231.596 153.6   0.6  -144

% scripts/list_obs robs/
Running list_obs
Version: 10 December 2021

Found robs/24300_reproj_evt.fits
Found robs/evt.lis
Found robs/23839_reproj_evt.fits
Found robs/26134_reproj_evt.fits
Found robs/24301_reproj_evt.fits
Found robs/merged_evt.fits
Found robs/24303_reproj_evt.fits
Found robs/24302_reproj_evt.fits
Verifying 8 observations.
Skipping file: File robs/evt.lis is missing the INSTRUME keyword!
Skipping file: The OBS_ID value is 'Merged' in robs/merged_evt.fits.
Skipped 2 observations.

Calculating new tangent point.
New tangent point: RA=0h 25m 48.836s Dec=-26d 2' 18.51"

Observations to be reprojected:

  Obsid  Obs Date   Exp    DETNAM     SIM_Z    FP   Sepn   PA
                   (ks)                (mm)    (K)   (')  (deg)
---------------------------------------------------------------
1 24302 2021-09-13  27.5 ACIS-7      -190.143 154.3  < 3"   -90
2 24301 2021-09-19  17.7 ACIS-7      -190.143 160.2  < 3"   -90
3 23839 2021-09-20  24.5 ACIS-367    -190.140 155.7  < 3"   -90
4 26134 2021-09-21  28.8 ACIS-367    -190.140 156.0  < 3"   -90
5 24300 2021-09-23  32.6 ACIS-7      -190.140 155.5  < 3"   -90
6 24303 2021-09-24  29.0 ACIS-367    -190.140 155.5  < 3"   -90

WARNING - EXPTIME values differ:
  Obsids 24302 24301 24300 have EXPTIME=3.0 and the rest have 3.1

Issues

- no parameter file (although it's simple enough to get away with it)
- the screen output is tecnically a little confusing as it assumes
  that reproject_obs-like functionality is about to happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant