{"action":"created","issue":{"url":"https://api.github.com/repos/modflowpy/flopy/issues/98","repository_url":"https://api.github.com/repos/modflowpy/flopy","labels_url":"https://api.github.com/repos/modflowpy/flopy/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/modflowpy/flopy/issues/98/comments","events_url":"https://api.github.com/repos/modflowpy/flopy/issues/98/events","html_url":"https://github.com/modflowpy/flopy/issues/98","id":140778698,"number":98,"title":"problem reading LPF file","user":{"login":"aleaf-usgs","id":11198664,"avatar_url":"https://avatars.githubusercontent.com/u/11198664?v=3","gravatar_id":"","url":"https://api.github.com/users/aleaf-usgs","html_url":"https://github.com/aleaf-usgs","followers_url":"https://api.github.com/users/aleaf-usgs/followers","following_url":"https://api.github.com/users/aleaf-usgs/following{/other_user}","gists_url":"https://api.github.com/users/aleaf-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/aleaf-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleaf-usgs/subscriptions","organizations_url":"https://api.github.com/users/aleaf-usgs/orgs","repos_url":"https://api.github.com/users/aleaf-usgs/repos","events_url":"https://api.github.com/users/aleaf-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/aleaf-usgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T19:44:25Z","updated_at":"2016-03-14T19:49:23Z","closed_at":null,"body":"when I try to read this LPF file:\r\n\r\n```\r\n# MODFLOW2000 Layer Property Flow (LPF) Package\r\n        50  -1.000000e+030         0\r\n  1  0  0  0  0  0\r\n  0  0  0  0  0  0\r\n  1.000000e+000  1.000000e+000  1.000000e+000  1.000000e+000  1.000000e+000  1.000000e+000\r\n 0 0 0 0 0 0\r\n 1 0 0 0 0 0\r\n       0.1         1         1\r\n        75     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   1\r\n        69     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   1\r\n        60     0.100(25f5.1)                    -1     WETDRY Layer 1\r\n        76     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   2\r\n        70     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   2\r\n        77     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   3\r\n        71     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   3\r\n        78     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   4\r\n        72     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   4\r\n        79     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   5\r\n        73     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   5\r\n        80     1.000(10es15.6)                  -1     HYDRAULIC CONDUCTIVITY Layer   6\r\n        74     1.000(10es15.6)                  -1     VERTICAL HYDRAULIC CONDUCTIVITY Layer   6\r\n```\r\nI get this error on the model-level load:\r\n```invalid literal for int() with base 10: 'S15'```\r\n\r\nThe package-level load looks like this:\r\n```python\r\nlpf = flopy.modflow.ModflowLpf.load('TL2009.lpf', model=m)\r\nloading lpf package file...\r\n   loading IBCFCB, HDRY, NPLPF...\r\n   loading LAYTYP...\r\n   loading LAYAVG...\r\n   loading CHANI...\r\n   loading LAYVKA...\r\n   loading LAYWET...\r\n   loading WETFCT, IWETIT, IHDWET...\r\n   loading hk layer   1...\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-169-8e0951a0661d> in <module>()\r\n----> 1 lpf = flopy.modflow.ModflowLpf.load('TL2009.lpf', model=m)\r\n\r\n//anaconda/lib/python2.7/site-packages/flopy-3.2.4-py2.7.egg/flopy/modflow/mflpf.pyc in load(f, model, ext_unit_dict, check)\r\n    551             if 'hk' not in par_types:\r\n    552                 t = Util2d.load(f, model, (nrow, ncol), np.float32, 'hk',\r\n--> 553                                  ext_unit_dict)\r\n    554             else:\r\n    555                 line = f.readline()\r\n\r\n//anaconda/lib/python2.7/site-packages/flopy-3.2.4-py2.7.egg/flopy/utils/util_array.pyc in load(f_handle, model, shape, dtype, name, ext_unit_dict)\r\n   2172 \r\n   2173             if str('binary') not in str(cr_dict['fmtin'].lower()):\r\n-> 2174                 assert cr_dict['nunit'] in list(ext_unit_dict.keys())\r\n   2175                 data = Util2d.load_txt(shape,\r\n   2176                                        ext_unit_dict[\r\n\r\nAttributeError: 'NoneType' object has no attribute 'keys'\r\n```"},"comment":{"url":"https://api.github.com/repos/modflowpy/flopy/issues/comments/196494712","html_url":"https://github.com/modflowpy/flopy/issues/98#issuecomment-196494712","issue_url":"https://api.github.com/repos/modflowpy/flopy/issues/98","id":196494712,"user":{"login":"jdhughes-usgs","id":2073498,"avatar_url":"https://avatars.githubusercontent.com/u/2073498?v=3","gravatar_id":"","url":"https://api.github.com/users/jdhughes-usgs","html_url":"https://github.com/jdhughes-usgs","followers_url":"https://api.github.com/users/jdhughes-usgs/followers","following_url":"https://api.github.com/users/jdhughes-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jdhughes-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jdhughes-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdhughes-usgs/subscriptions","organizations_url":"https://api.github.com/users/jdhughes-usgs/orgs","repos_url":"https://api.github.com/users/jdhughes-usgs/repos","events_url":"https://api.github.com/users/jdhughes-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jdhughes-usgs/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T19:49:23Z","updated_at":"2016-03-14T19:49:23Z","body":"10es15.6 is not supported. Try changing to 10e15.6. I don't know if we want to try and catch these relatively obscure fortran format statements."}}