{"action":"created","issue":{"url":"https://api.github.com/repos/wtolson/pysis/issues/15","labels_url":"https://api.github.com/repos/wtolson/pysis/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/wtolson/pysis/issues/15/comments","events_url":"https://api.github.com/repos/wtolson/pysis/issues/15/events","html_url":"https://github.com/wtolson/pysis/issues/15","id":114178720,"number":15,"title":"Error while parsing weird NaifKeyword","user":{"login":"michaelaye","id":69774,"avatar_url":"https://avatars.githubusercontent.com/u/69774?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelaye","html_url":"https://github.com/michaelaye","followers_url":"https://api.github.com/users/michaelaye/followers","following_url":"https://api.github.com/users/michaelaye/following{/other_user}","gists_url":"https://api.github.com/users/michaelaye/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelaye/subscriptions","organizations_url":"https://api.github.com/users/michaelaye/orgs","repos_url":"https://api.github.com/users/michaelaye/repos","events_url":"https://api.github.com/users/michaelaye/events{/privacy}","received_events_url":"https://api.github.com/users/michaelaye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T01:14:19Z","updated_at":"2015-10-30T04:00:56Z","closed_at":null,"body":"CubeFile's label parsing strikes out while reading this part:\r\n```bash\r\nObject = NaifKeywords\r\n  BODY499_RADII                            = (3396.19, 3396.19, 3376.2)\r\n  BODY_FRAME_CODE                          = 10014\r\n  INS-74699_FOCAL_LENGTH                   = 11994.9988\r\n  INS-74699_PIXEL_PITCH                    = 0.012\r\n  CLOCK_ET_-74999_917431301:62537_COMPUTED = 90e58cf29d0fb141\r\n  INS-74604_TRANSX                         = (-96.4998, 2.0e-06, 0.012)\r\n  INS-74604_TRANSY                         = (11.9992, -0.012, 2.0e-06)\r\n  INS-74604_ITRANSS                        = (1001.06, 0.0117, -83.3333)\r\n  INS-74604_ITRANSL                        = (8041.51, 83.3333, 0.0117)\r\n  INS-74699_OD_K                           = (-0.0048509, 2.41312e-07,\r\n                                              -1.62369e-13)\r\n```\r\nat the weird `CLOCK_ET` keyword with this error:\r\n\r\n```python\r\nValueError: could not convert string to float: b'90e58cf29d0fb141'\r\n```\r\n\r\nBut here's the weird part: It has not in general a problem with such keywords, as other files with very similar looking data work fine, for example, this one:\r\n\r\n```bash\r\nObject = NaifKeywords\r\n  BODY499_RADII                            = (3396.19, 3396.19, 3376.2)\r\n  BODY_FRAME_CODE                          = 10014\r\n  INS-74699_FOCAL_LENGTH                   = 11994.9988\r\n  INS-74699_PIXEL_PITCH                    = 0.012\r\n  CLOCK_ET_-74999_917249542:49039_COMPUTED = d73959f3d70cb141\r\n  INS-74604_TRANSX                         = (-96.4998, 2.0e-06, 0.012)\r\n  INS-74604_TRANSY                         = (11.9992, -0.012, 2.0e-06)\r\n  INS-74604_ITRANSS                        = (1001.06, 0.0117, -83.3333)\r\n  INS-74604_ITRANSL                        = (8041.51, 83.3333, 0.0117)\r\n  INS-74699_OD_K                           = (-0.0048509, 2.41312e-07,\r\n                                              -1.62369e-13)\r\nEnd_Object\r\n```\r\n\r\nI attach a link to both files, for testing:\r\n\r\nNot working:\r\n\r\nhttps://dl.dropboxusercontent.com/u/139035/ESP_011729_0985_RED4.cub\r\n\r\nWorking:\r\n\r\nhttps://dl.dropboxusercontent.com/u/139035/ESP_011702_0985_RED4.cub"},"comment":{"url":"https://api.github.com/repos/wtolson/pysis/issues/comments/152409945","html_url":"https://github.com/wtolson/pysis/issues/15#issuecomment-152409945","issue_url":"https://api.github.com/repos/wtolson/pysis/issues/15","id":152409945,"user":{"login":"michaelaye","id":69774,"avatar_url":"https://avatars.githubusercontent.com/u/69774?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelaye","html_url":"https://github.com/michaelaye","followers_url":"https://api.github.com/users/michaelaye/followers","following_url":"https://api.github.com/users/michaelaye/following{/other_user}","gists_url":"https://api.github.com/users/michaelaye/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelaye/subscriptions","organizations_url":"https://api.github.com/users/michaelaye/orgs","repos_url":"https://api.github.com/users/michaelaye/repos","events_url":"https://api.github.com/users/michaelaye/events{/privacy}","received_events_url":"https://api.github.com/users/michaelaye/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T04:00:56Z","updated_at":"2015-10-30T04:00:56Z","body":"I'd be happy if you could look into this. I need to make something work for a poster at DPS, I could hack around it, as I don't need a fully parsed header, but that's ugly. ;)"}}