Versions in this module Expand all Collapse all v0 v0.0.1 Aug 1, 2020 Changes in this version + const CODES_KEYS_ITERATOR_ALL_KEYS + const CODES_KEYS_ITERATOR_DUMP_ONLY + const CODES_KEYS_ITERATOR_SKIP_CODED + const CODES_KEYS_ITERATOR_SKIP_COMPUTED + const CODES_KEYS_ITERATOR_SKIP_DUPLICATES + const CODES_KEYS_ITERATOR_SKIP_EDITION_SPECIFIC + const CODES_KEYS_ITERATOR_SKIP_FUNCTION + const CODES_KEYS_ITERATOR_SKIP_OPTIONAL + const CODES_KEYS_ITERATOR_SKIP_READ_ONLY + const MaxStringLength + const ParameterNumberOfPoints + const ProductAny + const ProductBUFR + const ProductGRIB + const ProductGTS + const ProductMETAR + const ProductTAF + const SizeOfFloat64 + var DefaultContext = Ccodes_context_get_default() + func Ccodes_context_delete(ctx Ccodes_context) + func Ccodes_count_in_file(ctx Ccodes_context, file CFILE) (int, error) + func Ccodes_get_double(handle Ccodes_handle, key string) (float64, error) + func Ccodes_get_double_array(handle Ccodes_handle, key string) ([]float64, error) + func Ccodes_get_long(handle Ccodes_handle, key string) (int64, error) + func Ccodes_get_long_array(handle Ccodes_handle, key string) ([]int64, error) + func Ccodes_get_native_type(handle Ccodes_handle, key string) (int, error) + func Ccodes_get_size(handle Ccodes_handle, key string) (int64, error) + func Ccodes_get_string(handle Ccodes_handle, key string) (string, error) + func Ccodes_grib_get_data(handle Ccodes_handle) (latitudes []float64, longitudes []float64, values []float64, err error) + func Ccodes_grib_get_data_unsafe(handle Ccodes_handle) (latitudes unsafe.Pointer, longitudes unsafe.Pointer, values unsafe.Pointer, ...) + func Ccodes_handle_delete(handle Ccodes_handle) error + func Ccodes_index_delete(index Ccodes_index) + func Ccodes_index_select_double(index Ccodes_index, key string, value float64) error + func Ccodes_index_select_long(index Ccodes_index, key string, value int64) error + func Ccodes_index_select_string(index Ccodes_index, key string, value string) error + func Ccodes_keys_iterator_delete(kiter Ccodes_keys_iterator) error + func Ccodes_keys_iterator_get_name(kiter Ccodes_keys_iterator) string + func Ccodes_keys_iterator_next(kiter Ccodes_keys_iterator) int + func Ccodes_set_double(handle Ccodes_handle, key string, value float64) error + func Ccodes_set_long(handle Ccodes_handle, key string, value int64) error + func Cfclose(file CFILE) error + func Cfree(ptr unsafe.Pointer) + func Cgrib_get_error_message(res int) string + func Cmalloc(size CsizeT) unsafe.Pointer + type CFILE = unsafe.Pointer + func Cfopen(filename string, mode string) (CFILE, error) + type Ccodes_context = unsafe.Pointer + func Ccodes_context_get_default() Ccodes_context + type Ccodes_handle = unsafe.Pointer + func Ccodes_handle_new_from_file(ctx Ccodes_context, file CFILE, product int) (Ccodes_handle, error) + func Ccodes_handle_new_from_index(index Ccodes_index) (Ccodes_handle, error) + type Ccodes_index = unsafe.Pointer + func Ccodes_index_new(ctx Ccodes_context, keys string) (Ccodes_index, error) + func Ccodes_index_new_from_file(ctx Ccodes_context, filename string, keys string) (Ccodes_index, error) + type Ccodes_keys_iterator = unsafe.Pointer + func Ccodes_keys_iterator_new(handle Ccodes_handle, flags int, namespace string) Ccodes_keys_iterator + type Cdouble = float64 — linux/amd64, windows/amd64 + type Cint = int32 — linux/amd64, windows/amd64 + type Clong = int32 — windows/amd64 + type Clong = int64 — linux/amd64 + type CsizeT = int64 — linux/amd64, windows/amd64 + type Culong = uint32 — windows/amd64 + type Culong = uint64 — linux/amd64