RAVE
pyraveattributetable.c File Reference

Python version of the rave attribute table. More...

#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <float.h>
#include <arrayobject.h>
#include "pyraveattributetable.h"
#include "rave_alloc.h"
#include "pyrave_debug.h"
#include "raveutil.h"
#include "rave.h"

Macros

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 
#define PY_RAVE_ATTRIBUTE_TABLE_MODULE
 to get correct part in pyraveattributetable.h
 
#define raiseException_gotoTag(tag, type, msg)
 Sets a python exception and goto tag.
 
#define raiseException_returnNULL(type, msg)
 Sets a python exception and return NULL.
 

Functions

 PYRAVE_DEBUG_MODULE ("_attributetable")
 Debug this module.
 
 PyDoc_STRVAR (_pyattributetable_type_doc, "The attribute table gives the user the possibility to manage attributes and handle different versions of the ODIM specification.\n" "\n" "After the attribute has been created, you are able to add, remove and other miscellaneous operations related to attributes.\n")
 
 PyDoc_STRVAR (_pyattributetable_module_doc, "This class provides functionality for managing an attribute table.\n" "\n")
 
 MOD_INIT (_attributetable)
 

Variables

PyTypeObject PyRaveAttributeTable_Type
 

Detailed Description

Python version of the rave attribute table.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2022-03-30

Macro Definition Documentation

◆ PY_RAVE_ATTRIBUTE_TABLE_MODULE

#define PY_RAVE_ATTRIBUTE_TABLE_MODULE

to get correct part in pyraveattributetable.h

◆ raiseException_gotoTag

#define raiseException_gotoTag ( tag,
type,
msg )
Value:
{PyErr_SetString(type, msg); goto tag;}

Sets a python exception and goto tag.

◆ raiseException_returnNULL

#define raiseException_returnNULL ( type,
msg )
Value:
{PyErr_SetString(type, msg); return NULL;}

Sets a python exception and return NULL.

Function Documentation

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_attributetable" )

Debug this module.