{"action":"created","issue":{"url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1969","repository_url":"https://api.github.com/repos/STScI-JWST/jwst","labels_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1969/labels{/name}","comments_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1969/comments","events_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1969/events","html_url":"https://github.com/STScI-JWST/jwst/issues/1969","id":319303589,"number":1969,"title":"Reference file overrides need a URI when recorded in the header keyword","user":{"login":"jdavies-st","id":17088869,"avatar_url":"https://avatars2.githubusercontent.com/u/17088869?v=4","gravatar_id":"","url":"https://api.github.com/users/jdavies-st","html_url":"https://github.com/jdavies-st","followers_url":"https://api.github.com/users/jdavies-st/followers","following_url":"https://api.github.com/users/jdavies-st/following{/other_user}","gists_url":"https://api.github.com/users/jdavies-st/gists{/gist_id}","starred_url":"https://api.github.com/users/jdavies-st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdavies-st/subscriptions","organizations_url":"https://api.github.com/users/jdavies-st/orgs","repos_url":"https://api.github.com/users/jdavies-st/repos","events_url":"https://api.github.com/users/jdavies-st/events{/privacy}","received_events_url":"https://api.github.com/users/jdavies-st/received_events","type":"User","site_admin":false},"labels":[{"id":470824938,"url":"https://api.github.com/repos/STScI-JWST/jwst/labels/crds%20interface","name":"crds interface","color":"fef2c0","default":false},{"id":390243892,"url":"https://api.github.com/repos/STScI-JWST/jwst/labels/stpipe","name":"stpipe","color":"b60205","default":false},{"id":414429376,"url":"https://api.github.com/repos/STScI-JWST/jwst/labels/testing","name":"testing","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-01T19:43:20Z","updated_at":"2018-05-02T18:04:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When a Step is run with a reference file override, the full path of that reference file is stored in the header keyword of the output file. This makes the output file not very portable.  Would it be good to have some sort of $OREF equivalent for the JWST pipeline?\r\n\r\nThis has come up in testing where the \"truth\" comparison data is produced using an override, and then a test is run and fitsdiff run to compare to the truth data.  If the truth data was produced on a different system from the test data, then the full path to the override reffile will be different."},"comment":{"url":"https://api.github.com/repos/STScI-JWST/jwst/issues/comments/386067990","html_url":"https://github.com/STScI-JWST/jwst/issues/1969#issuecomment-386067990","issue_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1969","id":386067990,"user":{"login":"hbushouse","id":12860084,"avatar_url":"https://avatars1.githubusercontent.com/u/12860084?v=4","gravatar_id":"","url":"https://api.github.com/users/hbushouse","html_url":"https://github.com/hbushouse","followers_url":"https://api.github.com/users/hbushouse/followers","following_url":"https://api.github.com/users/hbushouse/following{/other_user}","gists_url":"https://api.github.com/users/hbushouse/gists{/gist_id}","starred_url":"https://api.github.com/users/hbushouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbushouse/subscriptions","organizations_url":"https://api.github.com/users/hbushouse/orgs","repos_url":"https://api.github.com/users/hbushouse/repos","events_url":"https://api.github.com/users/hbushouse/events{/privacy}","received_events_url":"https://api.github.com/users/hbushouse/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T18:04:27Z","updated_at":"2018-05-02T18:04:27Z","author_association":"CONTRIBUTOR","body":"@jdavies-st Are you suggesting that in a case like:\r\n```\r\n$ strun <step.cfg> </my/file/path/file.fits> --override_flat='my_flat.fits'\r\n```\r\nit should by default look for `my_flat.fits` in `/my/file/path/` (the same path as the input data)? I'm not sure I agree with that. If the user expects the override file to come from some path other than the working directory, they should include that path explicitly in the `override_xxxxx` argument (IMHO)."}}
{"actor":{"display_login":"hbushouse"}}