API libmagcdf
createCdata(xarr, att, listVar)
Creates a tuple with convertes data for c-library libmagcdf
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
xarr |
Dataset
|
cdf data |
required |
att |
dict
|
attributes of data variables |
required |
listVar |
list
|
data variables to be written to the cdf |
required |
Returns:
| Type | Description |
|---|---|
tuple
|
data variables in ctypes format |
Source code in leocdf/libmagcdf/readlibmagcdf.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |