{"action":"created","issue":{"url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/99","repository_url":"https://api.github.com/repos/mhardcastle/ddf-pipeline","labels_url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/99/comments","events_url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/99/events","html_url":"https://github.com/mhardcastle/ddf-pipeline/issues/99","id":356382837,"node_id":"MDU6SXNzdWUzNTYzODI4Mzc=","number":99,"title":"fits file not found","user":{"login":"amisk","id":19927617,"node_id":"MDQ6VXNlcjE5OTI3NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/19927617?v=4","gravatar_id":"","url":"https://api.github.com/users/amisk","html_url":"https://github.com/amisk","followers_url":"https://api.github.com/users/amisk/followers","following_url":"https://api.github.com/users/amisk/following{/other_user}","gists_url":"https://api.github.com/users/amisk/gists{/gist_id}","starred_url":"https://api.github.com/users/amisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amisk/subscriptions","organizations_url":"https://api.github.com/users/amisk/orgs","repos_url":"https://api.github.com/users/amisk/repos","events_url":"https://api.github.com/users/amisk/events{/privacy}","received_events_url":"https://api.github.com/users/amisk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-03T07:10:27Z","updated_at":"2018-09-18T14:52:30Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nIm trying to run it on a small  subset of the lotss data, so it should work, but now I encountered:\r\n```\r\nMaking the extended source mask\r\nRunning: MakeMask.py --RestoredIm=image_bootstrap.app.mean.fits --OutName=image_bootstrap.app.mean.fits.rmsmapmask --Th=3.0 --Box=50,2 --OutNameNoiseMap='image_bootstrap.app.mean.fits.rms'\r\n - 03:57:30 - MakeMask                  | Compute noise map...\r\n - 03:57:47 - ClassCasaImage            |   ----> Save data in casa image as FITS file image_bootstrap.app.mean.fits.rms.fits\r\n - 03:57:49 - ClassCasaImage            |   ----> Save data in casa image as FITS file image_bootstrap.app.mean.fits.rms.mean.fits\r\n - 03:57:51 - ClassCasaImage            |   ----> Save data in casa image as FITS file image_bootstrap.app.mean.fits.image_bootstrap.app.mean.fits.rmsmapmask.fits\r\nTraceback (most recent call last):\r\n  File \"/home/amisk/programme/DDF/ddf-pipeline/scripts/pipeline.py\", line 518, in <module>\r\n    make_extended_mask(mask_base_image,'image_dirin_SSD.app.restored.fits',rmsthresh=o['extended_rms'],sizethresh=o['extended_size'],rootname='bootstrap',rmsfacet=o['rmsfacet'])\r\n  File \"/home/amisk/programme/DDF/ddf-pipeline/utils/make_extended_mask.py\", line 43, in make_extended_mask\r\n    get_rms_map2(infile,ds9region,prefix+'rms-low.fits')\r\n  File \"/home/amisk/programme/DDF/ddf-pipeline/utils/auxcodes.py\", line 220, in get_rms_map2\r\n    hdu=fits.open(infilename)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/hdu/hdulist.py\", line 166, in fitsopen\r\n    lazy_load_hdus, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/hdu/hdulist.py\", line 404, in fromfile\r\n    lazy_load_hdus=lazy_load_hdus, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/hdu/hdulist.py\", line 1015, in _readfrom\r\n    fileobj = _File(fileobj, mode=mode, memmap=memmap, cache=cache)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/utils/decorators.py\", line 493, in wrapper\r\n    return function(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/file.py\", line 144, in __init__\r\n    self._open_filename(fileobj, mode, overwrite)\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/file.py\", line 499, in _open_filename\r\n    self._file = fileobj_open(self.name, IO_FITS_MODES[mode])\r\n  File \"/usr/local/lib/python2.7/dist-packages/astropy/io/fits/util.py\", line 393, in fileobj_open\r\n    return open(filename, mode)\r\nIOError: [Errno 2] No such file or directory: 'image_bootstrap.app.mean.fits.rms.fits.fits'\r\n```\r\n\r\nAlthough the file \"image_bootstrap.app.mean.fits.rms.fits\" is present. Maybe the script appends a \".fits\" at one point?\r\n\r\nCan I just rename the file, or is the .fits.fits meant to be a different file?"},"comment":{"url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/comments/422426184","html_url":"https://github.com/mhardcastle/ddf-pipeline/issues/99#issuecomment-422426184","issue_url":"https://api.github.com/repos/mhardcastle/ddf-pipeline/issues/99","id":422426184,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjQyNjE4NA==","user":{"login":"twshimwell","id":12065270,"node_id":"MDQ6VXNlcjEyMDY1Mjcw","avatar_url":"https://avatars1.githubusercontent.com/u/12065270?v=4","gravatar_id":"","url":"https://api.github.com/users/twshimwell","html_url":"https://github.com/twshimwell","followers_url":"https://api.github.com/users/twshimwell/followers","following_url":"https://api.github.com/users/twshimwell/following{/other_user}","gists_url":"https://api.github.com/users/twshimwell/gists{/gist_id}","starred_url":"https://api.github.com/users/twshimwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twshimwell/subscriptions","organizations_url":"https://api.github.com/users/twshimwell/orgs","repos_url":"https://api.github.com/users/twshimwell/repos","events_url":"https://api.github.com/users/twshimwell/events{/privacy}","received_events_url":"https://api.github.com/users/twshimwell/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T14:52:30Z","updated_at":"2018-09-18T14:52:30Z","author_association":"COLLABORATOR","body":"Is this issue still relevant @amisk?"}}
{"actor":{"display_login":"twshimwell"}}