hnetcdf-0.5.0.0: Haskell NetCDF library

Safe HaskellSafe
LanguageHaskell98

Data.NetCDF.Types

Description

Basic utility type definitions for NetCDF bindings.

Synopsis

Documentation

data NcType Source #

Representation for NetCDF external data types.

Constructors

NcByte

Signed 1 byte integer

NcChar

ISO/ASCII character

NcShort

Signed 2 byte integer

NcInt

Signed 4 byte integer

NcFloat

Single precision floating point

NcDouble

Double precision floating point

NcString

Strings

Instances
Enum NcType Source # 
Instance details

Defined in Data.NetCDF.Types

Eq NcType Source # 
Instance details

Defined in Data.NetCDF.Types

Methods

(==) :: NcType -> NcType -> Bool #

(/=) :: NcType -> NcType -> Bool #

Show NcType Source # 
Instance details

Defined in Data.NetCDF.Types

type NcId = Int Source #

Internal representation of NetCDF IDs.

ncIOMode :: IOMode -> Int Source #

Convenience function to convert IOMode values to integer values for calls to NetCDF functions.

ncGlobal :: Int Source #

Fake variable identifier for global attributes.

ncUnlimitedLength :: Int Source #

Fake length value for defining unlimited dimensions.

ncInvalidId :: NcId Source #

Fake file identifier for unopened files.

ncClobber :: Int Source #

mode flags for nc_create (see netcdf.h)

ncNoClobber :: Int Source #

mode flags for nc_create (see netcdf.h)

nc64bitOffset :: Int Source #

mode flags for nc_create (see netcdf.h)

ncNetCDF4 :: Int Source #

mode flags for nc_create (see netcdf.h)

ncClassicModel :: Int Source #

mode flags for nc_create (see netcdf.h)