Long strings in FITS header

Issue #38 closed
Former user created an issue

It would be very useful if certain of the phoSim output FITS file header entries that contain strings would make provision for "long strings". In particular, here are some examples from recent NERSC runs for DESC (DC2 testing):

SEDDIR = '/global/cscratch1/sd/descpho/Pipeline-tasks/DC2-phoSim-test_WFD-r/00' IMGDIR = '/global/common/software/lsst/cori-haswell-intel/phosim/v3.7.8/data/i' FPFILE = '/global/common/software/lsst/cori-haswell-intel/phosim/v3.7.8/data/l'

Each of these long file paths is truncated, making it impossible to track down the details of this run.

In addition, this critical bit of information:

OUTPDIR = '. ' / Output directory

is of no use whatsoever in its current form; it should be a full, absolute file path.

Support for "long strings" in FITS file headers is described here:

https://heasarc.gsfc.nasa.gov/fitsio/c/f_user/node25.html

I've attached the entire FITS primary header to this ticket for reference.

Thank you, - Tom

Comments (4)

  1. Thomas Glanzman

    Dear Phosim developers, The upcoming DESC data challenge 2.0 is continuing to use the phosim 3.7 series. We are currently using v3.7.16 and would benefit from having this issue resolved, if at all possible. Thank you for this consideration.

  2. Log in to comment