{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/34","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/34/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/34/events","html_url":"https://github.com/hydroshare/hydroshare/issues/34","id":53317885,"number":34,"title":"Download sizes and resource size are inconsistent","user":{"login":"dtarb","id":3456833,"avatar_url":"https://avatars.githubusercontent.com/u/3456833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtarb","html_url":"https://github.com/dtarb","followers_url":"https://api.github.com/users/dtarb/followers","following_url":"https://api.github.com/users/dtarb/following{/other_user}","gists_url":"https://api.github.com/users/dtarb/gists{/gist_id}","starred_url":"https://api.github.com/users/dtarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtarb/subscriptions","organizations_url":"https://api.github.com/users/dtarb/orgs","repos_url":"https://api.github.com/users/dtarb/repos","events_url":"https://api.github.com/users/dtarb/events{/privacy}","received_events_url":"https://api.github.com/users/dtarb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T22:50:15Z","updated_at":"2015-01-04T04:02:28Z","closed_at":null,"body":"This is based on testing of alpha.hydroshare.org version 1.2.1. \r\n\r\nSee image below for inconsistencies in sizes displayed for the same resource.\r\n![p2](https://cloud.githubusercontent.com/assets/3456833/5604018/33f9e2a2-9360-11e4-9dac-cea672b45c00.JPG)\r\n"},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/68620183","html_url":"https://github.com/hydroshare/hydroshare/issues/34#issuecomment-68620183","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/34","id":68620183,"user":{"login":"mjstealey","id":5332509,"avatar_url":"https://avatars.githubusercontent.com/u/5332509?v=3","gravatar_id":"","url":"https://api.github.com/users/mjstealey","html_url":"https://github.com/mjstealey","followers_url":"https://api.github.com/users/mjstealey/followers","following_url":"https://api.github.com/users/mjstealey/following{/other_user}","gists_url":"https://api.github.com/users/mjstealey/gists{/gist_id}","starred_url":"https://api.github.com/users/mjstealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjstealey/subscriptions","organizations_url":"https://api.github.com/users/mjstealey/orgs","repos_url":"https://api.github.com/users/mjstealey/repos","events_url":"https://api.github.com/users/mjstealey/events{/privacy}","received_events_url":"https://api.github.com/users/mjstealey/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T04:02:28Z","updated_at":"2015-01-04T04:02:28Z","body":"This may simply be due to a difference in how the files are stored by different OS platforms. UNIX uses a single Line Feed (LF) to signify a new line, Windows uses a Carriage Return/Line Feed (CRLF) and Mac uses just a CR. This would apply to text based files only, not binary files.\r\n\r\nThe calculations are as they should be at the file source on CentOS (Linux)\r\n\r\nThe single file\r\n`-rw-------  1 irods irods 52215505 Dec 29 15:07 opt2_geotiff.tif`\r\n\r\nB: 52215505\r\nKB: 50991.7\r\nMB: 49.8\r\n\r\nThe .zip bagit file\r\n`-rw-------  1 irods irods 43117107 Dec 29 15:09 40928f3106b143a2bf5ce575cb28275b.zip`\r\n\r\nB: 43117107\r\nKB: 42106.5\r\nMB: 41.1\r\n\r\n\r\n"}}