- Added
skipMessage
,skipMessageIf
, andskipMessageIf_
toData.Grib
, three functions to easily skip unwanted GRIB messages in a file.
-
Added a
GribIO
monad inData.Grib
, which is a higher-level abstraction for reading GRIB files over the raw bindings inData.Grib.Raw
. -
Moved
Data.Grib.Raw.Exception
up toData.Grib
. -
Data.Grib.Raw
no longer re-exports theException
module mentioned above. -
Made
gribHandleNewFromFile
return aMaybe GribHandle
instead of a plainGribHandle
.Nothing
is returned if no more messages could be read from the given stream. -
Re-organized the test utility modules.
-
Moved
Data.Grib.Raw.Marshal
from other to exposed modules, but it should still be considered an internal module and it is not included in the documentation.
-
Extended the compatible version range of GRIB API and the Haskell base library.
-
Added a
gribGetApiVersion
function toData.Grib.Raw
. -
Included the
Data.Grib.Raw.Exception
module inData.Grib.Raw
and removed the marshal functionwithGribMultiHandle
. -
Removed
gribContextSetMemoryProc
gribContextSetPersistentMemoryProc
gribContextSetBufferMemoryProc
gribContextSetPrintingProc
gribContextSetLoggingProc
and corresponding foreign function type definitions from
Data.Grib.Raw
to be able to mark all remaining functions unsafe from a FFI perspective. -
Marked all foreign imports unsafe.
-
Integrated the source code repository with Travis CI.
-
Abandoned the plans to include the full GRIB API in
grib_api.h
(but requests to include specific parts are welcome).
- Initial release.