{"action":"opened","issue":{"url":"https://api.github.com/repos/pytroll/mipp/issues/3","labels_url":"https://api.github.com/repos/pytroll/mipp/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/pytroll/mipp/issues/3/comments","events_url":"https://api.github.com/repos/pytroll/mipp/issues/3/events","html_url":"https://github.com/pytroll/mipp/issues/3","id":111818931,"number":3,"title":"Loading GOES 13/15 channels failing after first loading Himawari 8","user":{"login":"tmlunde","id":15157353,"avatar_url":"https://avatars.githubusercontent.com/u/15157353?v=3","gravatar_id":"","url":"https://api.github.com/users/tmlunde","html_url":"https://github.com/tmlunde","followers_url":"https://api.github.com/users/tmlunde/followers","following_url":"https://api.github.com/users/tmlunde/following{/other_user}","gists_url":"https://api.github.com/users/tmlunde/gists{/gist_id}","starred_url":"https://api.github.com/users/tmlunde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmlunde/subscriptions","organizations_url":"https://api.github.com/users/tmlunde/orgs","repos_url":"https://api.github.com/users/tmlunde/repos","events_url":"https://api.github.com/users/tmlunde/events{/privacy}","received_events_url":"https://api.github.com/users/tmlunde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T12:11:14Z","updated_at":"2015-10-16T12:11:14Z","closed_at":null,"body":"There seems to be a minor bug in mipp pre-master and feature-himawari8\r\n\r\nWhen first loading goes 13/15, followed by himawari, everything is fine\r\n\r\n```python\r\n#####################################################################\r\ngoes13 = GeostationaryFactory.create_scene(\"goes\", \"13\", \"imager13\", time_slot=t)\r\ngoes13.load([10.8])\r\n\r\nhim8 = GeostationaryFactory.create_scene(\"himawari\", \"8\", \"ahi\", time_slot=t)\r\nhim8.load([10.6])\r\n#####################################################################\r\n```  \r\nHowever, when first loading Himawari 8, followed by goes, the string im.product_name[5:-1] in SGS.py seems to be empty:\r\n\r\nexamples are created using himawari 8 config files from mipp/examples, with datestamp in IMG_* filenames recoded to YYYYMMDDHH00/YYYYMMDDHH30 to read all slices at once.\r\n\r\nubuntu 14.04 \r\nPython 2.7.6\r\n\r\n```python\r\n#####################################################################\r\nhim8 = GeostationaryFactory.create_scene(\"himawari\", \"8\", \"ahi\", time_slot=t)\r\nhim8.load([10.6])\r\n\r\ngoes13 = GeostationaryFactory.create_scene(\"goes\", \"13\", \"imager13\", time_slot=t)\r\ngoes13.load([10.8])\r\n#####################################################################\r\n\r\n/home/sat/operational/scripts/python/mipp/mipp/xrit/SGS.pyc in read_metadata(prologue, image_files)\r\n     85     md.channel = prologue.product_name[:4]\r\n     86     print im.product_name[5:-1]\r\n---> 87     ssp = float(im.product_name[5:-1].replace('_','.'))\r\n     88     if im.product_name[-1].lower() == 'w':\r\n     89         ssp *= -1\r\n\r\nValueError: could not convert string to float:\r\n#####################################################################\r\n```\r\n\r\nThe bug is present in both the pre-master and feature-himawari8.\r\n\r\nBest wishes\r\nTorleif"}}