{"action":"created","issue":{"url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1823","repository_url":"https://api.github.com/repos/STScI-JWST/jwst","labels_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1823/comments","events_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1823/events","html_url":"https://github.com/STScI-JWST/jwst/issues/1823","id":307684833,"number":1823,"title":"crds_client fetching incorrect dark reference file for MIRI IFU SLOW readout","user":{"login":"PaddyKavanagh","id":20085944,"avatar_url":"https://avatars2.githubusercontent.com/u/20085944?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddyKavanagh","html_url":"https://github.com/PaddyKavanagh","followers_url":"https://api.github.com/users/PaddyKavanagh/followers","following_url":"https://api.github.com/users/PaddyKavanagh/following{/other_user}","gists_url":"https://api.github.com/users/PaddyKavanagh/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddyKavanagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddyKavanagh/subscriptions","organizations_url":"https://api.github.com/users/PaddyKavanagh/orgs","repos_url":"https://api.github.com/users/PaddyKavanagh/repos","events_url":"https://api.github.com/users/PaddyKavanagh/events{/privacy}","received_events_url":"https://api.github.com/users/PaddyKavanagh/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}],"state":"open","locked":false,"assignee":{"login":"jaytmiller","id":580824,"avatar_url":"https://avatars3.githubusercontent.com/u/580824?v=4","gravatar_id":"","url":"https://api.github.com/users/jaytmiller","html_url":"https://github.com/jaytmiller","followers_url":"https://api.github.com/users/jaytmiller/followers","following_url":"https://api.github.com/users/jaytmiller/following{/other_user}","gists_url":"https://api.github.com/users/jaytmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jaytmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaytmiller/subscriptions","organizations_url":"https://api.github.com/users/jaytmiller/orgs","repos_url":"https://api.github.com/users/jaytmiller/repos","events_url":"https://api.github.com/users/jaytmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jaytmiller/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaytmiller","id":580824,"avatar_url":"https://avatars3.githubusercontent.com/u/580824?v=4","gravatar_id":"","url":"https://api.github.com/users/jaytmiller","html_url":"https://github.com/jaytmiller","followers_url":"https://api.github.com/users/jaytmiller/followers","following_url":"https://api.github.com/users/jaytmiller/following{/other_user}","gists_url":"https://api.github.com/users/jaytmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jaytmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaytmiller/subscriptions","organizations_url":"https://api.github.com/users/jaytmiller/orgs","repos_url":"https://api.github.com/users/jaytmiller/repos","events_url":"https://api.github.com/users/jaytmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jaytmiller/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-03-22T15:08:31Z","updated_at":"2018-03-26T17:50:01Z","closed_at":null,"author_association":"NONE","body":"There appears to be an issue in fetching the correct dark reference file for MIRI IFU data with the SLOW readout mode. If I have two input datamodels where dm.meta.exposure.readpatt is FAST for one and SLOW for the other, crds_client fetches the same dark file, e.g.,\r\n\r\ndark_name = crds_client.get_reference_file(dm, 'dark')\r\nprint(dark_name)\r\n\r\nwill return\r\n\r\n<path-to-crds>/references/jwst/miri/jwst_miri_dark_0056.fits\r\n\r\nin both cases. I've check the darks in crds and there are FAST and SLOW mode darks for the MIRIFUSHORT and MIRIFULONG detectors from CDP6 so they are there:\r\n\r\nFile                                     DETECTOR       READPATT    VERSION\r\njwst_miri_dark_0044.fits    MIRIFUSHORT SLOW            06.01.00\r\njwst_miri_dark_0056.fits    MIRIFUSHORT FAST              06.01.00\r\njwst_miri_dark_0057.fits     MIRIFULONG   SLOW            06.01.00\r\njwst_miri_dark_0050.fits    MIRIFULONG   FAST              06.01.00\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/STScI-JWST/jwst/issues/comments/376253467","html_url":"https://github.com/STScI-JWST/jwst/issues/1823#issuecomment-376253467","issue_url":"https://api.github.com/repos/STScI-JWST/jwst/issues/1823","id":376253467,"user":{"login":"jaytmiller","id":580824,"avatar_url":"https://avatars3.githubusercontent.com/u/580824?v=4","gravatar_id":"","url":"https://api.github.com/users/jaytmiller","html_url":"https://github.com/jaytmiller","followers_url":"https://api.github.com/users/jaytmiller/followers","following_url":"https://api.github.com/users/jaytmiller/following{/other_user}","gists_url":"https://api.github.com/users/jaytmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jaytmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaytmiller/subscriptions","organizations_url":"https://api.github.com/users/jaytmiller/orgs","repos_url":"https://api.github.com/users/jaytmiller/repos","events_url":"https://api.github.com/users/jaytmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jaytmiller/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T17:50:01Z","updated_at":"2018-03-26T17:50:01Z","author_association":"CONTRIBUTOR","body":"If you do:\r\n\r\n% export CRDS_VERBOSITY=50\r\n\r\nwhat kind of output do you get from CRDS?"}}
{"actor":{"display_login":"jaytmiller"}}