{"action":"created","issue":{"url":"https://api.github.com/repos/terraref/computing-pipeline/issues/64","repository_url":"https://api.github.com/repos/terraref/computing-pipeline","labels_url":"https://api.github.com/repos/terraref/computing-pipeline/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/terraref/computing-pipeline/issues/64/comments","events_url":"https://api.github.com/repos/terraref/computing-pipeline/issues/64/events","html_url":"https://github.com/terraref/computing-pipeline/issues/64","id":133798465,"number":64,"title":"Write code to convert binary image files to full resolution geoTIFF + jpg preview","user":{"login":"dlebauer","id":464871,"avatar_url":"https://avatars.githubusercontent.com/u/464871?v=3","gravatar_id":"","url":"https://api.github.com/users/dlebauer","html_url":"https://github.com/dlebauer","followers_url":"https://api.github.com/users/dlebauer/followers","following_url":"https://api.github.com/users/dlebauer/following{/other_user}","gists_url":"https://api.github.com/users/dlebauer/gists{/gist_id}","starred_url":"https://api.github.com/users/dlebauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlebauer/subscriptions","organizations_url":"https://api.github.com/users/dlebauer/orgs","repos_url":"https://api.github.com/users/dlebauer/repos","events_url":"https://api.github.com/users/dlebauer/events{/privacy}","received_events_url":"https://api.github.com/users/dlebauer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/terraref/computing-pipeline/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/terraref/computing-pipeline/labels/sensor%20data","name":"sensor data","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"pless","id":16894340,"avatar_url":"https://avatars.githubusercontent.com/u/16894340?v=3","gravatar_id":"","url":"https://api.github.com/users/pless","html_url":"https://github.com/pless","followers_url":"https://api.github.com/users/pless/followers","following_url":"https://api.github.com/users/pless/following{/other_user}","gists_url":"https://api.github.com/users/pless/gists{/gist_id}","starred_url":"https://api.github.com/users/pless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pless/subscriptions","organizations_url":"https://api.github.com/users/pless/orgs","repos_url":"https://api.github.com/users/pless/repos","events_url":"https://api.github.com/users/pless/events{/privacy}","received_events_url":"https://api.github.com/users/pless/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-02-15T19:34:21Z","updated_at":"2016-04-21T18:05:30Z","closed_at":null,"body":"The field scanner sensors are exporting binary files (with .bin extension) along with .json files that with a field \"Output Data format\" that describes how the binary file was written, e.g. the FLIR camera files are    `\"Output data format\": \"Bayer GR8 3296x2472\", stereo cameras are  `\"Output data format\": \"Bayer GR8 3296x2472\",`\r\n\r\nHere are the datasets: https://uofi.box.com/s/c9ngkwi3xvtfr0ei5zfzgf4jya0dmrlc\r\n\r\nThe Feb 9 folder has one sample from each of the sensors. The feb 12 folder has many images from the sensors (FLIR thermal IR, Stereo Vis, and Fluorescence).\r\n\r\nIs there a general way to parse the meta-data files to find the format, and then convert the .bin files to something that can be read by computer programs? Are there existing BrownDog converters that we can use for these files?\r\n\r\n* [ ] @pless will write scripts that read information from metadata.json and convert these files to a lossless TIFF + jpg thumbnail along with a polygon describing the field of view. \r\n  * scripts will take input and output folders as arguments. We will work \r\n* [x] At March 14 meeting in St Louis we can work with him to integrate these into Clowder.\r\n\r\n<!---\r\n@huboard:{\"order\":57.375,\"milestone_order\":64,\"custom_state\":\"\"}\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/terraref/computing-pipeline/issues/comments/213040988","html_url":"https://github.com/terraref/computing-pipeline/issues/64#issuecomment-213040988","issue_url":"https://api.github.com/repos/terraref/computing-pipeline/issues/64","id":213040988,"user":{"login":"robkooper","id":1580696,"avatar_url":"https://avatars.githubusercontent.com/u/1580696?v=3","gravatar_id":"","url":"https://api.github.com/users/robkooper","html_url":"https://github.com/robkooper","followers_url":"https://api.github.com/users/robkooper/followers","following_url":"https://api.github.com/users/robkooper/following{/other_user}","gists_url":"https://api.github.com/users/robkooper/gists{/gist_id}","starred_url":"https://api.github.com/users/robkooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robkooper/subscriptions","organizations_url":"https://api.github.com/users/robkooper/orgs","repos_url":"https://api.github.com/users/robkooper/repos","events_url":"https://api.github.com/users/robkooper/events{/privacy}","received_events_url":"https://api.github.com/users/robkooper/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T18:05:30Z","updated_at":"2016-04-21T18:05:30Z","body":"yes clowder uses imagemagick to do this. One option which makes it easier is to make an extractor that will look at the metadata for octet-stream files and convert them to an image that is attaches as preview to the file."}}