{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/352","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/352/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/352/events","html_url":"https://github.com/Unidata/netcdf4-python/issues/352","id":59415021,"number":352,"title":"Question about data change in reading data from netCDF file","user":{"login":"XingZheng","id":7389343,"avatar_url":"https://avatars.githubusercontent.com/u/7389343?v=3","gravatar_id":"","url":"https://api.github.com/users/XingZheng","html_url":"https://github.com/XingZheng","followers_url":"https://api.github.com/users/XingZheng/followers","following_url":"https://api.github.com/users/XingZheng/following{/other_user}","gists_url":"https://api.github.com/users/XingZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/XingZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XingZheng/subscriptions","organizations_url":"https://api.github.com/users/XingZheng/orgs","repos_url":"https://api.github.com/users/XingZheng/repos","events_url":"https://api.github.com/users/XingZheng/events{/privacy}","received_events_url":"https://api.github.com/users/XingZheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-01T20:11:59Z","updated_at":"2015-03-02T23:08:50Z","closed_at":null,"body":"When I tried to read the data from a netcdf file with netcdf4-python. I found the data my code read is different from the data stored in that file.\r\nMy code is just like,\r\n\r\nnetcdffile = Dataset(filename,'r')\r\nprint netcdffile.variables['UGDRNOFF'][:]\r\nThen the list python outputs is [4.828756E-13, 3.5546802E-19, 7.904436E-12], \r\nwhile the original list should be [3.714428E-14, 2.734369E-20, 6.0803353E-13]. So what causes the difference between the output result and the input data? How can I solve this problem to keep the data python reads as they were in the netCDF file?\r\n\r\nThanks for your help!"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/comments/76847594","html_url":"https://github.com/Unidata/netcdf4-python/issues/352#issuecomment-76847594","issue_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/352","id":76847594,"user":{"login":"XingZheng","id":7389343,"avatar_url":"https://avatars.githubusercontent.com/u/7389343?v=3","gravatar_id":"","url":"https://api.github.com/users/XingZheng","html_url":"https://github.com/XingZheng","followers_url":"https://api.github.com/users/XingZheng/followers","following_url":"https://api.github.com/users/XingZheng/following{/other_user}","gists_url":"https://api.github.com/users/XingZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/XingZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XingZheng/subscriptions","organizations_url":"https://api.github.com/users/XingZheng/orgs","repos_url":"https://api.github.com/users/XingZheng/repos","events_url":"https://api.github.com/users/XingZheng/events{/privacy}","received_events_url":"https://api.github.com/users/XingZheng/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T23:08:50Z","updated_at":"2015-03-02T23:08:50Z","body":"https://drive.google.com/file/d/0BwoGp3c8wYxjQkpWWkRCR0c1TGs/view?usp=sharing\r\nhttps://drive.google.com/file/d/0BwoGp3c8wYxja0RQWXgyU1pERkU/view?usp=sharing\r\n\r\nHere are my data and code. Wish you could help me figure out the problem. Thank you so much! I really appreciate it."}}