GribApiDotNet / GribApi.NET

A powerful .NET library for reading and writing GRIB 1 and 2 files
Apache License 2.0
54 stars 29 forks source link

Check constructor argument #92

Closed jnyrup closed 6 years ago

jnyrup commented 7 years ago

I found myself wondering why I got a FileLoadException with the message This file is empty or invalid., when I knew the file was in perfect condition. Then I found out I had failed copy/pasting the entire file path into the constructor.

0x1mason commented 6 years ago

You'll need to create a new PR on https://github.com/GribApiDotNet/GribApi.NET/ but you can merge it yourself. You're an admin now :)

0x1mason commented 6 years ago

Nm, I think I fixed it