CdiLib.py 54.4 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
# This file was automatically generated by SWIG (http://www.swig.org).
Ralf Mueller's avatar
Ralf Mueller committed
2
# Version 4.0.0
Uwe Schulzweida's avatar
Uwe Schulzweida committed
3
#
Ralf Mueller's avatar
Ralf Mueller committed
4
5
6
7
8
9
10
11
12
13
14
15
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
    raise RuntimeError('Python 2.7 or later required')

# Import the low-level C/C++ module
if __package__ or '.' in __name__:
    from . import _CdiLib
else:
    import _CdiLib
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
17

try:
Ralf Mueller's avatar
Ralf Mueller committed
18
19
20
21
22
23
24
25
26
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if name == "thisown":
        return self.this.own(value)
    if name == "this":
        if type(value).__name__ == 'SwigPyObject':
Uwe Schulzweida's avatar
Uwe Schulzweida committed
27
28
            self.__dict__[name] = value
            return
Ralf Mueller's avatar
Ralf Mueller committed
29
30
31
32
33
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if not static:
        object.__setattr__(self, name, value)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
34
35
36
37
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


Ralf Mueller's avatar
Ralf Mueller committed
38
39
40
41
42
43
44
45
46
47
48
49
def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if name == "thisown":
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))

Uwe Schulzweida's avatar
Uwe Schulzweida committed
50
51

def _swig_repr(self):
Ralf Mueller's avatar
Ralf Mueller committed
52
53
54
55
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
Uwe Schulzweida's avatar
Uwe Schulzweida committed
56
57
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

Ralf Mueller's avatar
Ralf Mueller committed
58
59
60
61
62
63
64
65
66
67
68
69

def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr
Uwe Schulzweida's avatar
Uwe Schulzweida committed
70
71


Ralf Mueller's avatar
Ralf Mueller committed
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


CDI_MAX_NAME = _CdiLib.CDI_MAX_NAME
Uwe Schulzweida's avatar
Uwe Schulzweida committed
94
95
96
97
CDI_UNDEFID = _CdiLib.CDI_UNDEFID
CDI_GLOBAL = _CdiLib.CDI_GLOBAL
CDI_BIGENDIAN = _CdiLib.CDI_BIGENDIAN
CDI_LITTLEENDIAN = _CdiLib.CDI_LITTLEENDIAN
Ralf Mueller's avatar
Ralf Mueller committed
98
99
100
101
CDI_PDPENDIAN = _CdiLib.CDI_PDPENDIAN
CDI_REAL = _CdiLib.CDI_REAL
CDI_COMP = _CdiLib.CDI_COMP
CDI_BOTH = _CdiLib.CDI_BOTH
Uwe Schulzweida's avatar
Uwe Schulzweida committed
102
CDI_NOERR = _CdiLib.CDI_NOERR
Ralf Mueller's avatar
Ralf Mueller committed
103
104
CDI_EEOF = _CdiLib.CDI_EEOF
CDI_ETMOF = _CdiLib.CDI_ETMOF
Uwe Schulzweida's avatar
Uwe Schulzweida committed
105
106
CDI_ESYSTEM = _CdiLib.CDI_ESYSTEM
CDI_EINVAL = _CdiLib.CDI_EINVAL
Ralf Mueller's avatar
Ralf Mueller committed
107
108
CDI_EISDIR = _CdiLib.CDI_EISDIR
CDI_EISEMPTY = _CdiLib.CDI_EISEMPTY
Uwe Schulzweida's avatar
Uwe Schulzweida committed
109
110
111
112
CDI_EUFTYPE = _CdiLib.CDI_EUFTYPE
CDI_ELIBNAVAIL = _CdiLib.CDI_ELIBNAVAIL
CDI_EUFSTRUCT = _CdiLib.CDI_EUFSTRUCT
CDI_EUNC4 = _CdiLib.CDI_EUNC4
Ralf Mueller's avatar
Ralf Mueller committed
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
CDI_EDIMSIZE = _CdiLib.CDI_EDIMSIZE
CDI_ELIMIT = _CdiLib.CDI_ELIMIT
CDI_FILETYPE_GRB = _CdiLib.CDI_FILETYPE_GRB
CDI_FILETYPE_GRB2 = _CdiLib.CDI_FILETYPE_GRB2
CDI_FILETYPE_NC = _CdiLib.CDI_FILETYPE_NC
CDI_FILETYPE_NC2 = _CdiLib.CDI_FILETYPE_NC2
CDI_FILETYPE_NC4 = _CdiLib.CDI_FILETYPE_NC4
CDI_FILETYPE_NC4C = _CdiLib.CDI_FILETYPE_NC4C
CDI_FILETYPE_NC5 = _CdiLib.CDI_FILETYPE_NC5
CDI_FILETYPE_SRV = _CdiLib.CDI_FILETYPE_SRV
CDI_FILETYPE_EXT = _CdiLib.CDI_FILETYPE_EXT
CDI_FILETYPE_IEG = _CdiLib.CDI_FILETYPE_IEG
CDI_COMPRESS_NONE = _CdiLib.CDI_COMPRESS_NONE
CDI_COMPRESS_SZIP = _CdiLib.CDI_COMPRESS_SZIP
CDI_COMPRESS_AEC = _CdiLib.CDI_COMPRESS_AEC
CDI_COMPRESS_ZIP = _CdiLib.CDI_COMPRESS_ZIP
CDI_COMPRESS_JPEG = _CdiLib.CDI_COMPRESS_JPEG
CDI_DATATYPE_PACK = _CdiLib.CDI_DATATYPE_PACK
CDI_DATATYPE_PACK1 = _CdiLib.CDI_DATATYPE_PACK1
CDI_DATATYPE_PACK2 = _CdiLib.CDI_DATATYPE_PACK2
CDI_DATATYPE_PACK3 = _CdiLib.CDI_DATATYPE_PACK3
CDI_DATATYPE_PACK4 = _CdiLib.CDI_DATATYPE_PACK4
CDI_DATATYPE_PACK5 = _CdiLib.CDI_DATATYPE_PACK5
CDI_DATATYPE_PACK6 = _CdiLib.CDI_DATATYPE_PACK6
CDI_DATATYPE_PACK7 = _CdiLib.CDI_DATATYPE_PACK7
CDI_DATATYPE_PACK8 = _CdiLib.CDI_DATATYPE_PACK8
CDI_DATATYPE_PACK9 = _CdiLib.CDI_DATATYPE_PACK9
CDI_DATATYPE_PACK10 = _CdiLib.CDI_DATATYPE_PACK10
CDI_DATATYPE_PACK11 = _CdiLib.CDI_DATATYPE_PACK11
CDI_DATATYPE_PACK12 = _CdiLib.CDI_DATATYPE_PACK12
CDI_DATATYPE_PACK13 = _CdiLib.CDI_DATATYPE_PACK13
CDI_DATATYPE_PACK14 = _CdiLib.CDI_DATATYPE_PACK14
CDI_DATATYPE_PACK15 = _CdiLib.CDI_DATATYPE_PACK15
CDI_DATATYPE_PACK16 = _CdiLib.CDI_DATATYPE_PACK16
CDI_DATATYPE_PACK17 = _CdiLib.CDI_DATATYPE_PACK17
CDI_DATATYPE_PACK18 = _CdiLib.CDI_DATATYPE_PACK18
CDI_DATATYPE_PACK19 = _CdiLib.CDI_DATATYPE_PACK19
CDI_DATATYPE_PACK20 = _CdiLib.CDI_DATATYPE_PACK20
CDI_DATATYPE_PACK21 = _CdiLib.CDI_DATATYPE_PACK21
CDI_DATATYPE_PACK22 = _CdiLib.CDI_DATATYPE_PACK22
CDI_DATATYPE_PACK23 = _CdiLib.CDI_DATATYPE_PACK23
CDI_DATATYPE_PACK24 = _CdiLib.CDI_DATATYPE_PACK24
CDI_DATATYPE_PACK25 = _CdiLib.CDI_DATATYPE_PACK25
CDI_DATATYPE_PACK26 = _CdiLib.CDI_DATATYPE_PACK26
CDI_DATATYPE_PACK27 = _CdiLib.CDI_DATATYPE_PACK27
CDI_DATATYPE_PACK28 = _CdiLib.CDI_DATATYPE_PACK28
CDI_DATATYPE_PACK29 = _CdiLib.CDI_DATATYPE_PACK29
CDI_DATATYPE_PACK30 = _CdiLib.CDI_DATATYPE_PACK30
CDI_DATATYPE_PACK31 = _CdiLib.CDI_DATATYPE_PACK31
CDI_DATATYPE_PACK32 = _CdiLib.CDI_DATATYPE_PACK32
CDI_DATATYPE_CPX32 = _CdiLib.CDI_DATATYPE_CPX32
CDI_DATATYPE_CPX64 = _CdiLib.CDI_DATATYPE_CPX64
CDI_DATATYPE_FLT32 = _CdiLib.CDI_DATATYPE_FLT32
CDI_DATATYPE_FLT64 = _CdiLib.CDI_DATATYPE_FLT64
CDI_DATATYPE_INT8 = _CdiLib.CDI_DATATYPE_INT8
CDI_DATATYPE_INT16 = _CdiLib.CDI_DATATYPE_INT16
CDI_DATATYPE_INT32 = _CdiLib.CDI_DATATYPE_INT32
CDI_DATATYPE_UINT8 = _CdiLib.CDI_DATATYPE_UINT8
CDI_DATATYPE_UINT16 = _CdiLib.CDI_DATATYPE_UINT16
CDI_DATATYPE_UINT32 = _CdiLib.CDI_DATATYPE_UINT32
CDI_DATATYPE_INT = _CdiLib.CDI_DATATYPE_INT
CDI_DATATYPE_FLT = _CdiLib.CDI_DATATYPE_FLT
CDI_DATATYPE_TXT = _CdiLib.CDI_DATATYPE_TXT
CDI_DATATYPE_CPX = _CdiLib.CDI_DATATYPE_CPX
CDI_DATATYPE_UCHAR = _CdiLib.CDI_DATATYPE_UCHAR
CDI_DATATYPE_LONG = _CdiLib.CDI_DATATYPE_LONG
CDI_DATATYPE_UINT = _CdiLib.CDI_DATATYPE_UINT
CDI_CHUNK_AUTO = _CdiLib.CDI_CHUNK_AUTO
CDI_CHUNK_GRID = _CdiLib.CDI_CHUNK_GRID
CDI_CHUNK_LINES = _CdiLib.CDI_CHUNK_LINES
Uwe Schulzweida's avatar
Uwe Schulzweida committed
183
184
185
186
187
188
189
190
GRID_GENERIC = _CdiLib.GRID_GENERIC
GRID_GAUSSIAN = _CdiLib.GRID_GAUSSIAN
GRID_GAUSSIAN_REDUCED = _CdiLib.GRID_GAUSSIAN_REDUCED
GRID_LONLAT = _CdiLib.GRID_LONLAT
GRID_SPECTRAL = _CdiLib.GRID_SPECTRAL
GRID_FOURIER = _CdiLib.GRID_FOURIER
GRID_GME = _CdiLib.GRID_GME
GRID_TRAJECTORY = _CdiLib.GRID_TRAJECTORY
191
GRID_UNSTRUCTURED = _CdiLib.GRID_UNSTRUCTURED
Uwe Schulzweida's avatar
Uwe Schulzweida committed
192
GRID_CURVILINEAR = _CdiLib.GRID_CURVILINEAR
Ralf Mueller's avatar
Ralf Mueller committed
193
194
195
196
197
198
199
GRID_PROJECTION = _CdiLib.GRID_PROJECTION
GRID_CHARXY = _CdiLib.GRID_CHARXY
CDI_PROJ_RLL = _CdiLib.CDI_PROJ_RLL
CDI_PROJ_LCC = _CdiLib.CDI_PROJ_LCC
CDI_PROJ_LAEA = _CdiLib.CDI_PROJ_LAEA
CDI_PROJ_SINU = _CdiLib.CDI_PROJ_SINU
CDI_PROJ_STERE = _CdiLib.CDI_PROJ_STERE
Uwe Schulzweida's avatar
Uwe Schulzweida committed
200
201
202
203
204
205
206
207
208
209
210
211
212
ZAXIS_SURFACE = _CdiLib.ZAXIS_SURFACE
ZAXIS_GENERIC = _CdiLib.ZAXIS_GENERIC
ZAXIS_HYBRID = _CdiLib.ZAXIS_HYBRID
ZAXIS_HYBRID_HALF = _CdiLib.ZAXIS_HYBRID_HALF
ZAXIS_PRESSURE = _CdiLib.ZAXIS_PRESSURE
ZAXIS_HEIGHT = _CdiLib.ZAXIS_HEIGHT
ZAXIS_DEPTH_BELOW_SEA = _CdiLib.ZAXIS_DEPTH_BELOW_SEA
ZAXIS_DEPTH_BELOW_LAND = _CdiLib.ZAXIS_DEPTH_BELOW_LAND
ZAXIS_ISENTROPIC = _CdiLib.ZAXIS_ISENTROPIC
ZAXIS_TRAJECTORY = _CdiLib.ZAXIS_TRAJECTORY
ZAXIS_ALTITUDE = _CdiLib.ZAXIS_ALTITUDE
ZAXIS_SIGMA = _CdiLib.ZAXIS_SIGMA
ZAXIS_MEANSEA = _CdiLib.ZAXIS_MEANSEA
Ralf Mueller's avatar
Ralf Mueller committed
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
ZAXIS_TOA = _CdiLib.ZAXIS_TOA
ZAXIS_SEA_BOTTOM = _CdiLib.ZAXIS_SEA_BOTTOM
ZAXIS_ATMOSPHERE = _CdiLib.ZAXIS_ATMOSPHERE
ZAXIS_CLOUD_BASE = _CdiLib.ZAXIS_CLOUD_BASE
ZAXIS_CLOUD_TOP = _CdiLib.ZAXIS_CLOUD_TOP
ZAXIS_ISOTHERM_ZERO = _CdiLib.ZAXIS_ISOTHERM_ZERO
ZAXIS_SNOW = _CdiLib.ZAXIS_SNOW
ZAXIS_LAKE_BOTTOM = _CdiLib.ZAXIS_LAKE_BOTTOM
ZAXIS_SEDIMENT_BOTTOM = _CdiLib.ZAXIS_SEDIMENT_BOTTOM
ZAXIS_SEDIMENT_BOTTOM_TA = _CdiLib.ZAXIS_SEDIMENT_BOTTOM_TA
ZAXIS_SEDIMENT_BOTTOM_TW = _CdiLib.ZAXIS_SEDIMENT_BOTTOM_TW
ZAXIS_MIX_LAYER = _CdiLib.ZAXIS_MIX_LAYER
ZAXIS_REFERENCE = _CdiLib.ZAXIS_REFERENCE
ZAXIS_CHAR = _CdiLib.ZAXIS_CHAR
SUBTYPE_TILES = _CdiLib.SUBTYPE_TILES
MAX_KV_PAIRS_MATCH = _CdiLib.MAX_KV_PAIRS_MATCH
class subtype_query_t(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    nAND = property(_CdiLib.subtype_query_t_nAND_get, _CdiLib.subtype_query_t_nAND_set)
    key_value_pairs = property(_CdiLib.subtype_query_t_key_value_pairs_get, _CdiLib.subtype_query_t_key_value_pairs_set)

    def __init__(self):
        _CdiLib.subtype_query_t_swiginit(self, _CdiLib.new_subtype_query_t())
    __swig_destroy__ = _CdiLib.delete_subtype_query_t

# Register subtype_query_t in _CdiLib:
_CdiLib.subtype_query_t_swigregister(subtype_query_t)

Uwe Schulzweida's avatar
Uwe Schulzweida committed
242
TIME_CONSTANT = _CdiLib.TIME_CONSTANT
Ralf Mueller's avatar
Ralf Mueller committed
243
TIME_VARYING = _CdiLib.TIME_VARYING
Uwe Schulzweida's avatar
Uwe Schulzweida committed
244
TIME_VARIABLE = _CdiLib.TIME_VARIABLE
Ralf Mueller's avatar
Ralf Mueller committed
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
TSTEP_INSTANT = _CdiLib.TSTEP_INSTANT
TSTEP_AVG = _CdiLib.TSTEP_AVG
TSTEP_ACCUM = _CdiLib.TSTEP_ACCUM
TSTEP_MAX = _CdiLib.TSTEP_MAX
TSTEP_MIN = _CdiLib.TSTEP_MIN
TSTEP_DIFF = _CdiLib.TSTEP_DIFF
TSTEP_RMS = _CdiLib.TSTEP_RMS
TSTEP_SD = _CdiLib.TSTEP_SD
TSTEP_COV = _CdiLib.TSTEP_COV
TSTEP_RATIO = _CdiLib.TSTEP_RATIO
TSTEP_SUM = _CdiLib.TSTEP_SUM
TSTEP_RANGE = _CdiLib.TSTEP_RANGE
TSTEP_INSTANT2 = _CdiLib.TSTEP_INSTANT2
TSTEP_INSTANT3 = _CdiLib.TSTEP_INSTANT3
TAXIS_ABSOLUTE = _CdiLib.TAXIS_ABSOLUTE
TAXIS_RELATIVE = _CdiLib.TAXIS_RELATIVE
TAXIS_FORECAST = _CdiLib.TAXIS_FORECAST
Uwe Schulzweida's avatar
Uwe Schulzweida committed
262
263
TUNIT_SECOND = _CdiLib.TUNIT_SECOND
TUNIT_MINUTE = _CdiLib.TUNIT_MINUTE
Ralf Mueller's avatar
Ralf Mueller committed
264
265
TUNIT_QUARTER = _CdiLib.TUNIT_QUARTER
TUNIT_30MINUTES = _CdiLib.TUNIT_30MINUTES
Uwe Schulzweida's avatar
Uwe Schulzweida committed
266
TUNIT_HOUR = _CdiLib.TUNIT_HOUR
Ralf Mueller's avatar
Ralf Mueller committed
267
268
269
TUNIT_3HOURS = _CdiLib.TUNIT_3HOURS
TUNIT_6HOURS = _CdiLib.TUNIT_6HOURS
TUNIT_12HOURS = _CdiLib.TUNIT_12HOURS
Uwe Schulzweida's avatar
Uwe Schulzweida committed
270
271
272
273
TUNIT_DAY = _CdiLib.TUNIT_DAY
TUNIT_MONTH = _CdiLib.TUNIT_MONTH
TUNIT_YEAR = _CdiLib.TUNIT_YEAR
CALENDAR_STANDARD = _CdiLib.CALENDAR_STANDARD
Ralf Mueller's avatar
Ralf Mueller committed
274
CALENDAR_GREGORIAN = _CdiLib.CALENDAR_GREGORIAN
Uwe Schulzweida's avatar
Uwe Schulzweida committed
275
276
277
278
279
CALENDAR_PROLEPTIC = _CdiLib.CALENDAR_PROLEPTIC
CALENDAR_360DAYS = _CdiLib.CALENDAR_360DAYS
CALENDAR_365DAYS = _CdiLib.CALENDAR_365DAYS
CALENDAR_366DAYS = _CdiLib.CALENDAR_366DAYS
CALENDAR_NONE = _CdiLib.CALENDAR_NONE
Ralf Mueller's avatar
Ralf Mueller committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
CDI_UUID_SIZE = _CdiLib.CDI_UUID_SIZE
class CdiParam(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    discipline = property(_CdiLib.CdiParam_discipline_get, _CdiLib.CdiParam_discipline_set)
    category = property(_CdiLib.CdiParam_category_get, _CdiLib.CdiParam_category_set)
    number = property(_CdiLib.CdiParam_number_get, _CdiLib.CdiParam_number_set)

    def __init__(self):
        _CdiLib.CdiParam_swiginit(self, _CdiLib.new_CdiParam())
    __swig_destroy__ = _CdiLib.delete_CdiParam

# Register CdiParam in _CdiLib:
_CdiLib.CdiParam_swigregister(CdiParam)


def cdiReset():
    return _CdiLib.cdiReset()

def cdiStringError(cdiErrno):
    return _CdiLib.cdiStringError(cdiErrno)

def cdiDebug(debug):
    return _CdiLib.cdiDebug(debug)

def cdiLibraryVersion():
    return _CdiLib.cdiLibraryVersion()

def cdiPrintVersion():
    return _CdiLib.cdiPrintVersion()

def cdiHaveFiletype(filetype):
    return _CdiLib.cdiHaveFiletype(filetype)

def cdiDefMissval(missval):
    return _CdiLib.cdiDefMissval(missval)

def cdiInqMissval():
    return _CdiLib.cdiInqMissval()

def cdiInqGridMissval():
    return _CdiLib.cdiInqGridMissval()

def cdiDefGlobal(string, val):
    return _CdiLib.cdiDefGlobal(string, val)

def namespaceNew():
    return _CdiLib.namespaceNew()

def namespaceSetActive(namespaceID):
    return _CdiLib.namespaceSetActive(namespaceID)

def namespaceGetActive():
    return _CdiLib.namespaceGetActive()

def namespaceDelete(namespaceID):
    return _CdiLib.namespaceDelete(namespaceID)

def cdiParamToString(param, paramstr, maxlen):
    return _CdiLib.cdiParamToString(param, paramstr, maxlen)

def cdiDecodeParam(param, pnum, pcat, pdis):
    return _CdiLib.cdiDecodeParam(param, pnum, pcat, pdis)

def cdiEncodeParam(pnum, pcat, pdis):
    return _CdiLib.cdiEncodeParam(pnum, pcat, pdis)

def cdiDecodeDate(date, year, month, day):
    return _CdiLib.cdiDecodeDate(date, year, month, day)

def cdiEncodeDate(year, month, day):
    return _CdiLib.cdiEncodeDate(year, month, day)

def cdiDecodeTime(time, hour, minute, second):
    return _CdiLib.cdiDecodeTime(time, hour, minute, second)

def cdiEncodeTime(hour, minute, second):
    return _CdiLib.cdiEncodeTime(hour, minute, second)

def cdiGetFiletype(path, byteorder):
    return _CdiLib.cdiGetFiletype(path, byteorder)

def streamOpenRead(path):
    return _CdiLib.streamOpenRead(path)

def streamOpenWrite(path, filetype):
    return _CdiLib.streamOpenWrite(path, filetype)

def streamOpenAppend(path):
    return _CdiLib.streamOpenAppend(path)

def streamClose(streamID):
    return _CdiLib.streamClose(streamID)

def streamSync(streamID):
    return _CdiLib.streamSync(streamID)

def streamDefNumWorker(streamID, numWorker):
    return _CdiLib.streamDefNumWorker(streamID, numWorker)

def streamDefVlist(streamID, vlistID):
    return _CdiLib.streamDefVlist(streamID, vlistID)

def streamInqVlist(streamID):
    return _CdiLib.streamInqVlist(streamID)

def streamInqFiletype(streamID):
    return _CdiLib.streamInqFiletype(streamID)

def streamDefByteorder(streamID, byteorder):
    return _CdiLib.streamDefByteorder(streamID, byteorder)

def streamInqByteorder(streamID):
    return _CdiLib.streamInqByteorder(streamID)

def streamDefCompType(streamID, comptype):
    return _CdiLib.streamDefCompType(streamID, comptype)

def streamInqCompType(streamID):
    return _CdiLib.streamInqCompType(streamID)

def streamDefCompLevel(streamID, complevel):
    return _CdiLib.streamDefCompLevel(streamID, complevel)

def streamInqCompLevel(streamID):
    return _CdiLib.streamInqCompLevel(streamID)

def streamDefTimestep(streamID, tsID):
    return _CdiLib.streamDefTimestep(streamID, tsID)

def streamInqTimestep(streamID, tsID):
    return _CdiLib.streamInqTimestep(streamID, tsID)

def streamInqCurTimestepID(streamID):
    return _CdiLib.streamInqCurTimestepID(streamID)

def streamFilename(streamID):
    return _CdiLib.streamFilename(streamID)

def streamFilesuffix(filetype):
    return _CdiLib.streamFilesuffix(filetype)

def streamNvals(streamID):
    return _CdiLib.streamNvals(streamID)

def streamInqNvars(streamID):
    return _CdiLib.streamInqNvars(streamID)

def streamWriteVar(streamID, varID, data, nmiss):
    return _CdiLib.streamWriteVar(streamID, varID, data, nmiss)

def streamWriteVarF(streamID, varID, data, nmiss):
    return _CdiLib.streamWriteVarF(streamID, varID, data, nmiss)

def streamReadVar(streamID, varID, data, nmiss):
    return _CdiLib.streamReadVar(streamID, varID, data, nmiss)

def streamReadVarF(streamID, varID, data, nmiss):
    return _CdiLib.streamReadVarF(streamID, varID, data, nmiss)

def streamReadVarPart(streamID, varID, varType, start, size, data, nmiss, memtype):
    return _CdiLib.streamReadVarPart(streamID, varID, varType, start, size, data, nmiss, memtype)

def streamWriteVarSlice(streamID, varID, levelID, data, nmiss):
    return _CdiLib.streamWriteVarSlice(streamID, varID, levelID, data, nmiss)

def streamWriteVarSliceF(streamID, varID, levelID, data, nmiss):
    return _CdiLib.streamWriteVarSliceF(streamID, varID, levelID, data, nmiss)

def streamReadVarSlicePart(streamID, varID, levelID, varType, start, size, data, nmiss, memtype):
    return _CdiLib.streamReadVarSlicePart(streamID, varID, levelID, varType, start, size, data, nmiss, memtype)

def streamReadVarSlice(streamID, varID, levelID, data, nmiss):
    return _CdiLib.streamReadVarSlice(streamID, varID, levelID, data, nmiss)

def streamReadVarSliceF(streamID, varID, levelID, data, nmiss):
    return _CdiLib.streamReadVarSliceF(streamID, varID, levelID, data, nmiss)

def streamWriteVarChunk(streamID, varID, rect, data, nmiss):
    return _CdiLib.streamWriteVarChunk(streamID, varID, rect, data, nmiss)

def streamDefRecord(streamID, varID, levelID):
    return _CdiLib.streamDefRecord(streamID, varID, levelID)

def streamInqRecord(streamID, varID, levelID):
    return _CdiLib.streamInqRecord(streamID, varID, levelID)

def streamWriteRecord(streamID, data, nmiss):
    return _CdiLib.streamWriteRecord(streamID, data, nmiss)

def streamWriteRecordF(streamID, data, nmiss):
    return _CdiLib.streamWriteRecordF(streamID, data, nmiss)

def streamReadRecord(streamID, data, nmiss):
    return _CdiLib.streamReadRecord(streamID, data, nmiss)

def streamReadRecordF(streamID, data, nmiss):
    return _CdiLib.streamReadRecordF(streamID, data, nmiss)

def streamCopyRecord(streamIDdest, streamIDsrc):
    return _CdiLib.streamCopyRecord(streamIDdest, streamIDsrc)

def streamInqGRIBinfo(streamID, intnum, fltnum, bignum):
    return _CdiLib.streamInqGRIBinfo(streamID, intnum, fltnum, bignum)

def cdiIterator_new(path):
    return _CdiLib.cdiIterator_new(path)

def cdiIterator_clone(me):
    return _CdiLib.cdiIterator_clone(me)

def cdiIterator_serialize(me):
    return _CdiLib.cdiIterator_serialize(me)

def cdiIterator_deserialize(description):
    return _CdiLib.cdiIterator_deserialize(description)

def cdiIterator_print(me, stream):
    return _CdiLib.cdiIterator_print(me, stream)

def cdiIterator_delete(me):
    return _CdiLib.cdiIterator_delete(me)

def cdiIterator_nextField(me):
    return _CdiLib.cdiIterator_nextField(me)

def cdiIterator_inqStartTime(me):
    return _CdiLib.cdiIterator_inqStartTime(me)

def cdiIterator_inqEndTime(me):
    return _CdiLib.cdiIterator_inqEndTime(me)

def cdiIterator_inqRTime(me):
    return _CdiLib.cdiIterator_inqRTime(me)

def cdiIterator_inqVTime(me):
    return _CdiLib.cdiIterator_inqVTime(me)

def cdiIterator_inqLevelType(me, levelSelector, outName_optional, outLongName_optional, outStdName_optional, outUnit_optional):
    return _CdiLib.cdiIterator_inqLevelType(me, levelSelector, outName_optional, outLongName_optional, outStdName_optional, outUnit_optional)

def cdiIterator_inqLevel(me, levelSelector, outValue1_optional, outValue2_optional):
    return _CdiLib.cdiIterator_inqLevel(me, levelSelector, outValue1_optional, outValue2_optional)

def cdiIterator_inqLevelUuid(me, outVgridNumber_optional, outLevelCount_optional, outUuid_optional):
    return _CdiLib.cdiIterator_inqLevelUuid(me, outVgridNumber_optional, outLevelCount_optional, outUuid_optional)

def cdiIterator_inqTile(me, outTileIndex, outTileAttribute):
    return _CdiLib.cdiIterator_inqTile(me, outTileIndex, outTileAttribute)

def cdiIterator_inqTileCount(me, outTileCount, outTileAttributeCount):
    return _CdiLib.cdiIterator_inqTileCount(me, outTileCount, outTileAttributeCount)

def cdiIterator_inqParam(me):
    return _CdiLib.cdiIterator_inqParam(me)

def cdiIterator_inqParamParts(me, outDiscipline, outCategory, outNumber):
    return _CdiLib.cdiIterator_inqParamParts(me, outDiscipline, outCategory, outNumber)

def cdiIterator_inqDatatype(me):
    return _CdiLib.cdiIterator_inqDatatype(me)

def cdiIterator_inqFiletype(me):
    return _CdiLib.cdiIterator_inqFiletype(me)

def cdiIterator_inqTsteptype(me):
    return _CdiLib.cdiIterator_inqTsteptype(me)

def cdiIterator_inqVariableName(me):
    return _CdiLib.cdiIterator_inqVariableName(me)

def cdiIterator_inqGridId(me):
    return _CdiLib.cdiIterator_inqGridId(me)

def cdiIterator_readField(me, data, nmiss_optional):
    return _CdiLib.cdiIterator_readField(me, data, nmiss_optional)

def cdiIterator_readFieldF(me, data, nmiss_optional):
    return _CdiLib.cdiIterator_readFieldF(me, data, nmiss_optional)

def cdiGribIterator_clone(me):
    return _CdiLib.cdiGribIterator_clone(me)

def cdiGribIterator_delete(me):
    return _CdiLib.cdiGribIterator_delete(me)

def cdiGribIterator_getLong(me, key, value):
    return _CdiLib.cdiGribIterator_getLong(me, key, value)

def cdiGribIterator_getDouble(me, key, value):
    return _CdiLib.cdiGribIterator_getDouble(me, key, value)

def cdiGribIterator_getLength(me, key, value):
    return _CdiLib.cdiGribIterator_getLength(me, key, value)

def cdiGribIterator_getString(me, key, value, length):
    return _CdiLib.cdiGribIterator_getString(me, key, value, length)

def cdiGribIterator_getSize(me, key, value):
    return _CdiLib.cdiGribIterator_getSize(me, key, value)

def cdiGribIterator_getLongArray(me, key, value, array_size):
    return _CdiLib.cdiGribIterator_getLongArray(me, key, value, array_size)

def cdiGribIterator_getDoubleArray(me, key, value, array_size):
    return _CdiLib.cdiGribIterator_getDoubleArray(me, key, value, array_size)

def cdiGribIterator_inqEdition(me):
    return _CdiLib.cdiGribIterator_inqEdition(me)

def cdiGribIterator_inqLongValue(me, key):
    return _CdiLib.cdiGribIterator_inqLongValue(me, key)

def cdiGribIterator_inqLongDefaultValue(me, key, defaultValue):
    return _CdiLib.cdiGribIterator_inqLongDefaultValue(me, key, defaultValue)

def cdiGribIterator_inqDoubleValue(me, key):
    return _CdiLib.cdiGribIterator_inqDoubleValue(me, key)

def cdiGribIterator_inqDoubleDefaultValue(me, key, defaultValue):
    return _CdiLib.cdiGribIterator_inqDoubleDefaultValue(me, key, defaultValue)

def cdiGribIterator_inqStringValue(me, key):
    return _CdiLib.cdiGribIterator_inqStringValue(me, key)

def vlistCreate():
    return _CdiLib.vlistCreate()

def vlistDestroy(vlistID):
    return _CdiLib.vlistDestroy(vlistID)

def vlistDuplicate(vlistID):
    return _CdiLib.vlistDuplicate(vlistID)

def vlistCopy(vlistID2, vlistID1):
    return _CdiLib.vlistCopy(vlistID2, vlistID1)

def vlistCopyFlag(vlistID2, vlistID1):
    return _CdiLib.vlistCopyFlag(vlistID2, vlistID1)

def vlistClearFlag(vlistID):
    return _CdiLib.vlistClearFlag(vlistID)

def vlistCat(vlistID2, vlistID1):
    return _CdiLib.vlistCat(vlistID2, vlistID1)

def vlistMerge(vlistID2, vlistID1):
    return _CdiLib.vlistMerge(vlistID2, vlistID1)

def vlistPrint(vlistID):
    return _CdiLib.vlistPrint(vlistID)

def vlistNumber(vlistID):
    return _CdiLib.vlistNumber(vlistID)

def vlistNvars(vlistID):
    return _CdiLib.vlistNvars(vlistID)

def vlistNgrids(vlistID):
    return _CdiLib.vlistNgrids(vlistID)

def vlistNzaxis(vlistID):
    return _CdiLib.vlistNzaxis(vlistID)

def vlistNsubtypes(vlistID):
    return _CdiLib.vlistNsubtypes(vlistID)

def vlistDefNtsteps(vlistID, nts):
    return _CdiLib.vlistDefNtsteps(vlistID, nts)

def vlistNtsteps(vlistID):
    return _CdiLib.vlistNtsteps(vlistID)

def vlistGridsizeMax(vlistID):
    return _CdiLib.vlistGridsizeMax(vlistID)

def vlistGrid(vlistID, index):
    return _CdiLib.vlistGrid(vlistID, index)

def vlistGridIndex(vlistID, gridID):
    return _CdiLib.vlistGridIndex(vlistID, gridID)

def vlistChangeGridIndex(vlistID, index, gridID):
    return _CdiLib.vlistChangeGridIndex(vlistID, index, gridID)

def vlistChangeGrid(vlistID, gridID1, gridID2):
    return _CdiLib.vlistChangeGrid(vlistID, gridID1, gridID2)

def vlistZaxis(vlistID, index):
    return _CdiLib.vlistZaxis(vlistID, index)

def vlistZaxisIndex(vlistID, zaxisID):
    return _CdiLib.vlistZaxisIndex(vlistID, zaxisID)

def vlistChangeZaxisIndex(vlistID, index, zaxisID):
    return _CdiLib.vlistChangeZaxisIndex(vlistID, index, zaxisID)

def vlistChangeZaxis(vlistID, zaxisID1, zaxisID2):
    return _CdiLib.vlistChangeZaxis(vlistID, zaxisID1, zaxisID2)

def vlistNrecs(vlistID):
    return _CdiLib.vlistNrecs(vlistID)

def vlistSubtype(vlistID, index):
    return _CdiLib.vlistSubtype(vlistID, index)

def vlistSubtypeIndex(vlistID, subtypeID):
    return _CdiLib.vlistSubtypeIndex(vlistID, subtypeID)

def vlistDefTaxis(vlistID, taxisID):
    return _CdiLib.vlistDefTaxis(vlistID, taxisID)

def vlistInqTaxis(vlistID):
    return _CdiLib.vlistInqTaxis(vlistID)

def vlistDefTable(vlistID, tableID):
    return _CdiLib.vlistDefTable(vlistID, tableID)

def vlistInqTable(vlistID):
    return _CdiLib.vlistInqTable(vlistID)

def vlistDefInstitut(vlistID, instID):
    return _CdiLib.vlistDefInstitut(vlistID, instID)

def vlistInqInstitut(vlistID):
    return _CdiLib.vlistInqInstitut(vlistID)

def vlistDefModel(vlistID, modelID):
    return _CdiLib.vlistDefModel(vlistID, modelID)

def vlistInqModel(vlistID):
    return _CdiLib.vlistInqModel(vlistID)

def vlistDefVarTiles(vlistID, gridID, zaxisID, timetype, tilesetID):
    return _CdiLib.vlistDefVarTiles(vlistID, gridID, zaxisID, timetype, tilesetID)

def vlistDefVar(vlistID, gridID, zaxisID, timetype):
    return _CdiLib.vlistDefVar(vlistID, gridID, zaxisID, timetype)

def vlistChangeVarGrid(vlistID, varID, gridID):
    return _CdiLib.vlistChangeVarGrid(vlistID, varID, gridID)

def vlistChangeVarZaxis(vlistID, varID, zaxisID):
    return _CdiLib.vlistChangeVarZaxis(vlistID, varID, zaxisID)

def vlistInqVar(vlistID, varID, gridID, zaxisID, timetype):
    return _CdiLib.vlistInqVar(vlistID, varID, gridID, zaxisID, timetype)

def vlistInqVarGrid(vlistID, varID):
    return _CdiLib.vlistInqVarGrid(vlistID, varID)

def vlistInqVarZaxis(vlistID, varID):
    return _CdiLib.vlistInqVarZaxis(vlistID, varID)

def vlistInqVarID(vlistID, code):
    return _CdiLib.vlistInqVarID(vlistID, code)

def vlistDefVarTimetype(vlistID, varID, timetype):
    return _CdiLib.vlistDefVarTimetype(vlistID, varID, timetype)

def vlistInqVarTimetype(vlistID, varID):
    return _CdiLib.vlistInqVarTimetype(vlistID, varID)

def vlistDefVarTsteptype(vlistID, varID, tsteptype):
    return _CdiLib.vlistDefVarTsteptype(vlistID, varID, tsteptype)

def vlistInqVarTsteptype(vlistID, varID):
    return _CdiLib.vlistInqVarTsteptype(vlistID, varID)

def vlistDefVarCompType(vlistID, varID, comptype):
    return _CdiLib.vlistDefVarCompType(vlistID, varID, comptype)

def vlistInqVarCompType(vlistID, varID):
    return _CdiLib.vlistInqVarCompType(vlistID, varID)

def vlistDefVarCompLevel(vlistID, varID, complevel):
    return _CdiLib.vlistDefVarCompLevel(vlistID, varID, complevel)

def vlistInqVarCompLevel(vlistID, varID):
    return _CdiLib.vlistInqVarCompLevel(vlistID, varID)

def vlistDefVarParam(vlistID, varID, param):
    return _CdiLib.vlistDefVarParam(vlistID, varID, param)

def vlistInqVarParam(vlistID, varID):
    return _CdiLib.vlistInqVarParam(vlistID, varID)

def vlistDefVarCode(vlistID, varID, code):
    return _CdiLib.vlistDefVarCode(vlistID, varID, code)

def vlistInqVarCode(vlistID, varID):
    return _CdiLib.vlistInqVarCode(vlistID, varID)

def vlistDefVarDatatype(vlistID, varID, datatype):
    return _CdiLib.vlistDefVarDatatype(vlistID, varID, datatype)

def vlistInqVarDatatype(vlistID, varID):
    return _CdiLib.vlistInqVarDatatype(vlistID, varID)

def vlistDefVarChunkType(vlistID, varID, chunktype):
    return _CdiLib.vlistDefVarChunkType(vlistID, varID, chunktype)

def vlistInqVarChunkType(vlistID, varID):
    return _CdiLib.vlistInqVarChunkType(vlistID, varID)

def vlistDefVarXYZ(vlistID, varID, xyz):
    return _CdiLib.vlistDefVarXYZ(vlistID, varID, xyz)

def vlistInqVarXYZ(vlistID, varID):
    return _CdiLib.vlistInqVarXYZ(vlistID, varID)

def vlistInqVarNumber(vlistID, varID):
    return _CdiLib.vlistInqVarNumber(vlistID, varID)

def vlistDefVarInstitut(vlistID, varID, instID):
    return _CdiLib.vlistDefVarInstitut(vlistID, varID, instID)

def vlistInqVarInstitut(vlistID, varID):
    return _CdiLib.vlistInqVarInstitut(vlistID, varID)

def vlistDefVarModel(vlistID, varID, modelID):
    return _CdiLib.vlistDefVarModel(vlistID, varID, modelID)

def vlistInqVarModel(vlistID, varID):
    return _CdiLib.vlistInqVarModel(vlistID, varID)

def vlistDefVarTable(vlistID, varID, tableID):
    return _CdiLib.vlistDefVarTable(vlistID, varID, tableID)

def vlistInqVarTable(vlistID, varID):
    return _CdiLib.vlistInqVarTable(vlistID, varID)

def vlistDefVarName(vlistID, varID, name):
    return _CdiLib.vlistDefVarName(vlistID, varID, name)

def vlistInqVarName(vlistID, varID, name):
    return _CdiLib.vlistInqVarName(vlistID, varID, name)

def vlistCopyVarName(vlistId, varId):
    return _CdiLib.vlistCopyVarName(vlistId, varId)

def vlistDefVarStdname(vlistID, varID, stdname):
    return _CdiLib.vlistDefVarStdname(vlistID, varID, stdname)

def vlistInqVarStdname(vlistID, varID, stdname):
    return _CdiLib.vlistInqVarStdname(vlistID, varID, stdname)

def vlistDefVarLongname(vlistID, varID, longname):
    return _CdiLib.vlistDefVarLongname(vlistID, varID, longname)

def vlistInqVarLongname(vlistID, varID, longname):
    return _CdiLib.vlistInqVarLongname(vlistID, varID, longname)

def vlistDefVarUnits(vlistID, varID, units):
    return _CdiLib.vlistDefVarUnits(vlistID, varID, units)

def vlistInqVarUnits(vlistID, varID, units):
    return _CdiLib.vlistInqVarUnits(vlistID, varID, units)

def vlistDefVarMissval(vlistID, varID, missval):
    return _CdiLib.vlistDefVarMissval(vlistID, varID, missval)

def vlistInqVarMissval(vlistID, varID):
    return _CdiLib.vlistInqVarMissval(vlistID, varID)

def vlistDefVarExtra(vlistID, varID, extra):
    return _CdiLib.vlistDefVarExtra(vlistID, varID, extra)

def vlistInqVarExtra(vlistID, varID, extra):
    return _CdiLib.vlistInqVarExtra(vlistID, varID, extra)

def vlistDefVarScalefactor(vlistID, varID, scalefactor):
    return _CdiLib.vlistDefVarScalefactor(vlistID, varID, scalefactor)

def vlistInqVarScalefactor(vlistID, varID):
    return _CdiLib.vlistInqVarScalefactor(vlistID, varID)

def vlistDefVarAddoffset(vlistID, varID, addoffset):
    return _CdiLib.vlistDefVarAddoffset(vlistID, varID, addoffset)

def vlistInqVarAddoffset(vlistID, varID):
    return _CdiLib.vlistInqVarAddoffset(vlistID, varID)

def vlistDefVarTimave(vlistID, varID, timave):
    return _CdiLib.vlistDefVarTimave(vlistID, varID, timave)

def vlistInqVarTimave(vlistID, varID):
    return _CdiLib.vlistInqVarTimave(vlistID, varID)

def vlistInqVarSize(vlistID, varID):
    return _CdiLib.vlistInqVarSize(vlistID, varID)

def vlistDefIndex(vlistID, varID, levID, index):
    return _CdiLib.vlistDefIndex(vlistID, varID, levID, index)

def vlistInqIndex(vlistID, varID, levID):
    return _CdiLib.vlistInqIndex(vlistID, varID, levID)

def vlistDefFlag(vlistID, varID, levID, flag):
    return _CdiLib.vlistDefFlag(vlistID, varID, levID, flag)

def vlistInqFlag(vlistID, varID, levID):
    return _CdiLib.vlistInqFlag(vlistID, varID, levID)

def vlistFindVar(vlistID, fvarID):
    return _CdiLib.vlistFindVar(vlistID, fvarID)

def vlistFindLevel(vlistID, fvarID, flevelID):
    return _CdiLib.vlistFindLevel(vlistID, fvarID, flevelID)

def vlistMergedVar(vlistID, varID):
    return _CdiLib.vlistMergedVar(vlistID, varID)

def vlistMergedLevel(vlistID, varID, levelID):
    return _CdiLib.vlistMergedLevel(vlistID, varID, levelID)

def cdiClearAdditionalKeys():
    return _CdiLib.cdiClearAdditionalKeys()

def cdiDefAdditionalKey(string):
    return _CdiLib.cdiDefAdditionalKey(string)

def vlistDefVarIntKey(vlistID, varID, name, value):
    return _CdiLib.vlistDefVarIntKey(vlistID, varID, name, value)

def vlistDefVarDblKey(vlistID, varID, name, value):
    return _CdiLib.vlistDefVarDblKey(vlistID, varID, name, value)

def vlistHasVarKey(vlistID, varID, name):
    return _CdiLib.vlistHasVarKey(vlistID, varID, name)

def vlistInqVarDblKey(vlistID, varID, name):
    return _CdiLib.vlistInqVarDblKey(vlistID, varID, name)

def vlistInqVarIntKey(vlistID, varID, name):
    return _CdiLib.vlistInqVarIntKey(vlistID, varID, name)

def cdiInqNatts(cdiID, varID, nattsp):
    return _CdiLib.cdiInqNatts(cdiID, varID, nattsp)

def cdiInqAtt(cdiID, varID, attrnum, name, typep, lenp):
    return _CdiLib.cdiInqAtt(cdiID, varID, attrnum, name, typep, lenp)

def cdiDelAtt(cdiID, varID, name):
    return _CdiLib.cdiDelAtt(cdiID, varID, name)

def cdiCopyAtts(cdiID1, varID1, cdiID2, varID2):
    return _CdiLib.cdiCopyAtts(cdiID1, varID1, cdiID2, varID2)

def cdiDefAttInt(cdiID, varID, name, type, len, ip):
    return _CdiLib.cdiDefAttInt(cdiID, varID, name, type, len, ip)

def cdiDefAttFlt(cdiID, varID, name, type, len, dp):
    return _CdiLib.cdiDefAttFlt(cdiID, varID, name, type, len, dp)

def cdiDefAttTxt(cdiID, varID, name, len, tp_cbuf):
    return _CdiLib.cdiDefAttTxt(cdiID, varID, name, len, tp_cbuf)

def cdiInqAttInt(cdiID, varID, name, mlen, ip):
    return _CdiLib.cdiInqAttInt(cdiID, varID, name, mlen, ip)

def cdiInqAttFlt(cdiID, varID, name, mlen, dp):
    return _CdiLib.cdiInqAttFlt(cdiID, varID, name, mlen, dp)

def cdiInqAttTxt(cdiID, varID, name, mlen, tp_cbuf):
    return _CdiLib.cdiInqAttTxt(cdiID, varID, name, mlen, tp_cbuf)

def gridName(gridtype, gridname):
    return _CdiLib.gridName(gridtype, gridname)

def gridNamePtr(gridtype):
    return _CdiLib.gridNamePtr(gridtype)

def gridCompress(gridID):
    return _CdiLib.gridCompress(gridID)

def gridDefMaskGME(gridID, mask):
    return _CdiLib.gridDefMaskGME(gridID, mask)

def gridInqMaskGME(gridID, mask):
    return _CdiLib.gridInqMaskGME(gridID, mask)

def gridDefMask(gridID, mask):
    return _CdiLib.gridDefMask(gridID, mask)

def gridInqMask(gridID, mask):
    return _CdiLib.gridInqMask(gridID, mask)

def gridCreate(gridtype, size):
    return _CdiLib.gridCreate(gridtype, size)

def gridDestroy(gridID):
    return _CdiLib.gridDestroy(gridID)

def gridDuplicate(gridID):
    return _CdiLib.gridDuplicate(gridID)

def gridDefProj(gridID, projID):
    return _CdiLib.gridDefProj(gridID, projID)

def gridInqProj(gridID):
    return _CdiLib.gridInqProj(gridID)

def gridInqProjType(gridID):
    return _CdiLib.gridInqProjType(gridID)

def gridInqType(gridID):
    return _CdiLib.gridInqType(gridID)

def gridInqSize(gridID):
    return _CdiLib.gridInqSize(gridID)

def gridDefXsize(gridID, xsize):
    return _CdiLib.gridDefXsize(gridID, xsize)

def gridInqXsize(gridID):
    return _CdiLib.gridInqXsize(gridID)

def gridDefYsize(gridID, ysize):
    return _CdiLib.gridDefYsize(gridID, ysize)

def gridInqYsize(gridID):
    return _CdiLib.gridInqYsize(gridID)

def gridDefNP(gridID, np):
    return _CdiLib.gridDefNP(gridID, np)

def gridInqNP(gridID):
    return _CdiLib.gridInqNP(gridID)

def gridDefXvals(gridID, xvals):
    return _CdiLib.gridDefXvals(gridID, xvals)

def gridInqXvals(gridID, xvals):
    return _CdiLib.gridInqXvals(gridID, xvals)

def gridInqXvalsPart(gridID, start, size, xvals):
    return _CdiLib.gridInqXvalsPart(gridID, start, size, xvals)

def gridInqXIsc(gridID):
    return _CdiLib.gridInqXIsc(gridID)

def gridInqXCvals(gridID, xcvals):
    return _CdiLib.gridInqXCvals(gridID, xcvals)

def gridDefYvals(gridID, yvals):
    return _CdiLib.gridDefYvals(gridID, yvals)

def gridInqYvals(gridID, yvals):
    return _CdiLib.gridInqYvals(gridID, yvals)

def gridInqYvalsPart(gridID, start, size, yvals):
    return _CdiLib.gridInqYvalsPart(gridID, start, size, yvals)

def gridInqYIsc(gridID):
    return _CdiLib.gridInqYIsc(gridID)

def gridInqYCvals(gridID, ycvals):
    return _CdiLib.gridInqYCvals(gridID, ycvals)
CDI_KEY_TABLESVERSION = _CdiLib.CDI_KEY_TABLESVERSION
CDI_KEY_LOCALTABLESVERSION = _CdiLib.CDI_KEY_LOCALTABLESVERSION
CDI_KEY_TYPEOFGENERATINGPROCESS = _CdiLib.CDI_KEY_TYPEOFGENERATINGPROCESS
CDI_KEY_PRODUCTDEFINITIONTEMPLATE = _CdiLib.CDI_KEY_PRODUCTDEFINITIONTEMPLATE
CDI_KEY_TYPEOFPROCESSEDDATA = _CdiLib.CDI_KEY_TYPEOFPROCESSEDDATA
CDI_KEY_SHAPEOFTHEEARTH = _CdiLib.CDI_KEY_SHAPEOFTHEEARTH
CDI_KEY_BACKGROUNDPROCESS = _CdiLib.CDI_KEY_BACKGROUNDPROCESS
CDI_KEY_TYPEOFENSEMBLEFORECAST = _CdiLib.CDI_KEY_TYPEOFENSEMBLEFORECAST
CDI_KEY_NUMBEROFFORECASTSINENSEMBLE = _CdiLib.CDI_KEY_NUMBEROFFORECASTSINENSEMBLE
CDI_KEY_PERTURBATIONNUMBER = _CdiLib.CDI_KEY_PERTURBATIONNUMBER
CDI_KEY_CENTRE = _CdiLib.CDI_KEY_CENTRE
CDI_KEY_SUBCENTRE = _CdiLib.CDI_KEY_SUBCENTRE
CDI_KEY_MPIMTYPE = _CdiLib.CDI_KEY_MPIMTYPE
CDI_KEY_MPIMCLASS = _CdiLib.CDI_KEY_MPIMCLASS
CDI_KEY_MPIMUSER = _CdiLib.CDI_KEY_MPIMUSER
CDI_KEY_REVSTATUS = _CdiLib.CDI_KEY_REVSTATUS
CDI_KEY_REVNUMBER = _CdiLib.CDI_KEY_REVNUMBER
CDI_KEY_GRIB2LOCALSECTIONNUMBER = _CdiLib.CDI_KEY_GRIB2LOCALSECTIONNUMBER
CDI_KEY_SECTION2PADDINGLENGTH = _CdiLib.CDI_KEY_SECTION2PADDINGLENGTH
CDI_KEY_SECTION2PADDING = _CdiLib.CDI_KEY_SECTION2PADDING
CDI_KEY_UVRELATIVETOGRID = _CdiLib.CDI_KEY_UVRELATIVETOGRID
CDI_KEY_CONSTITUENTTYPE = _CdiLib.CDI_KEY_CONSTITUENTTYPE

def cdiDefKeyInt(cdiID, varID, key, value):
    return _CdiLib.cdiDefKeyInt(cdiID, varID, key, value)

def cdiInqKeyInt(cdiID, varID, key, value):
    return _CdiLib.cdiInqKeyInt(cdiID, varID, key, value)

def cdiDefKeyBytes(cdiID, varID, key, bytes, length):
    return _CdiLib.cdiDefKeyBytes(cdiID, varID, key, bytes, length)

def cdiInqKeyBytes(cdiID, varID, key, bytes, length):
    return _CdiLib.cdiInqKeyBytes(cdiID, varID, key, bytes, length)

def cdiDefKeyString(cdiID, varID, key, string):
    return _CdiLib.cdiDefKeyString(cdiID, varID, key, string)

def cdiInqKeyString(cdiID, varID, key, string, length):
    return _CdiLib.cdiInqKeyString(cdiID, varID, key, string, length)

def cdiInqKeyLen(cdiID, varID, key, length):
    return _CdiLib.cdiInqKeyLen(cdiID, varID, key, length)

def cdiCopyKeys(cdiID1, varID1, cdiID2, varID2):
    return _CdiLib.cdiCopyKeys(cdiID1, varID1, cdiID2, varID2)
CDI_KEY_XNAME = _CdiLib.CDI_KEY_XNAME
CDI_KEY_XDIMNAME = _CdiLib.CDI_KEY_XDIMNAME
CDI_KEY_XLONGNAME = _CdiLib.CDI_KEY_XLONGNAME
CDI_KEY_XUNITS = _CdiLib.CDI_KEY_XUNITS
CDI_KEY_YNAME = _CdiLib.CDI_KEY_YNAME
CDI_KEY_YDIMNAME = _CdiLib.CDI_KEY_YDIMNAME
CDI_KEY_YLONGNAME = _CdiLib.CDI_KEY_YLONGNAME
CDI_KEY_YUNITS = _CdiLib.CDI_KEY_YUNITS
CDI_KEY_VDIMNAME = _CdiLib.CDI_KEY_VDIMNAME
CDI_KEY_MAPPING = _CdiLib.CDI_KEY_MAPPING
CDI_KEY_MAPNAME = _CdiLib.CDI_KEY_MAPNAME
CDI_KEY_NAME = _CdiLib.CDI_KEY_NAME
CDI_KEY_DIMNAME = _CdiLib.CDI_KEY_DIMNAME
CDI_KEY_LONGNAME = _CdiLib.CDI_KEY_LONGNAME
CDI_KEY_UNITS = _CdiLib.CDI_KEY_UNITS
CDI_KEY_PSNAME = _CdiLib.CDI_KEY_PSNAME
CDI_KEY_P0NAME = _CdiLib.CDI_KEY_P0NAME
CDI_KEY_P0VALUE = _CdiLib.CDI_KEY_P0VALUE

def cdiGridDefKeyStr(gridID, key, size, mesg):
    return _CdiLib.cdiGridDefKeyStr(gridID, key, size, mesg)

def cdiGridInqKeyStr(gridID, key, size, mesg):
    return _CdiLib.cdiGridInqKeyStr(gridID, key, size, mesg)

def cdiZaxisDefKeyStr(zaxisID, key, size, mesg):
    return _CdiLib.cdiZaxisDefKeyStr(zaxisID, key, size, mesg)

def cdiZaxisInqKeyStr(zaxisID, key, size, mesg):
    return _CdiLib.cdiZaxisInqKeyStr(zaxisID, key, size, mesg)

def cdiZaxisDefKeyFlt(zaxisID, key, value):
    return _CdiLib.cdiZaxisDefKeyFlt(zaxisID, key, value)

def cdiZaxisInqKeyFlt(zaxisID, key, value):
    return _CdiLib.cdiZaxisInqKeyFlt(zaxisID, key, value)

def gridDefXname(gridID, xname):
    return _CdiLib.gridDefXname(gridID, xname)

def gridInqXname(gridID, xname):
    return _CdiLib.gridInqXname(gridID, xname)

def gridDefXlongname(gridID, xlongname):
    return _CdiLib.gridDefXlongname(gridID, xlongname)

def gridInqXlongname(gridID, xlongname):
    return _CdiLib.gridInqXlongname(gridID, xlongname)

def gridDefXunits(gridID, xunits):
    return _CdiLib.gridDefXunits(gridID, xunits)

def gridInqXunits(gridID, xunits):
    return _CdiLib.gridInqXunits(gridID, xunits)

def gridDefYname(gridID, yname):
    return _CdiLib.gridDefYname(gridID, yname)

def gridInqYname(gridID, yname):
    return _CdiLib.gridInqYname(gridID, yname)

def gridDefYlongname(gridID, ylongname):
    return _CdiLib.gridDefYlongname(gridID, ylongname)

def gridInqYlongname(gridID, ylongname):
    return _CdiLib.gridInqYlongname(gridID, ylongname)

def gridDefYunits(gridID, yunits):
    return _CdiLib.gridDefYunits(gridID, yunits)

def gridInqYunits(gridID, yunits):
    return _CdiLib.gridInqYunits(gridID, yunits)

def gridInqXstdname(gridID, xstdname):
    return _CdiLib.gridInqXstdname(gridID, xstdname)

def gridInqYstdname(gridID, ystdname):
    return _CdiLib.gridInqYstdname(gridID, ystdname)

def gridDefDatatype(gridID, prec):
    return _CdiLib.gridDefDatatype(gridID, prec)

def gridInqDatatype(gridID):
    return _CdiLib.gridInqDatatype(gridID)

def gridInqXval(gridID, index):
    return _CdiLib.gridInqXval(gridID, index)

def gridInqYval(gridID, index):
    return _CdiLib.gridInqYval(gridID, index)

def gridInqXinc(gridID):
    return _CdiLib.gridInqXinc(gridID)

def gridInqYinc(gridID):
    return _CdiLib.gridInqYinc(gridID)

def gridIsCircular(gridID):
    return _CdiLib.gridIsCircular(gridID)

def gridInqTrunc(gridID):
    return _CdiLib.gridInqTrunc(gridID)

def gridDefTrunc(gridID, trunc):
    return _CdiLib.gridDefTrunc(gridID, trunc)

def gridDefNumber(gridID, number):
    return _CdiLib.gridDefNumber(gridID, number)

def gridInqNumber(gridID):
    return _CdiLib.gridInqNumber(gridID)

def gridDefPosition(gridID, position):
    return _CdiLib.gridDefPosition(gridID, position)

def gridInqPosition(gridID):
    return _CdiLib.gridInqPosition(gridID)

def gridDefReference(gridID, reference):
    return _CdiLib.gridDefReference(gridID, reference)

def gridInqReference(gridID, reference):
    return _CdiLib.gridInqReference(gridID, reference)

def gridDefUUID(gridID, uuid):
    return _CdiLib.gridDefUUID(gridID, uuid)

def gridInqUUID(gridID, uuid):
    return _CdiLib.gridInqUUID(gridID, uuid)

def gridDefParamRLL(gridID, xpole, ypole, angle):
    return _CdiLib.gridDefParamRLL(gridID, xpole, ypole, angle)

def gridInqParamRLL(gridID, xpole, ypole, angle):
    return _CdiLib.gridInqParamRLL(gridID, xpole, ypole, angle)

def gridDefParamGME(gridID, nd, ni, ni2, ni3):
    return _CdiLib.gridDefParamGME(gridID, nd, ni, ni2, ni3)

def gridInqParamGME(gridID, nd, ni, ni2, ni3):
    return _CdiLib.gridInqParamGME(gridID, nd, ni, ni2, ni3)

def gridDefParamLCC(gridID, missval, lon_0, lat_0, lat_1, lat_2, a, rf, xval_0, yval_0, x_0, y_0):
    return _CdiLib.gridDefParamLCC(gridID, missval, lon_0, lat_0, lat_1, lat_2, a, rf, xval_0, yval_0, x_0, y_0)

def gridInqParamLCC(gridID, missval, lon_0, lat_0, lat_1, lat_2, a, rf, xval_0, yval_0, x_0, y_0):
    return _CdiLib.gridInqParamLCC(gridID, missval, lon_0, lat_0, lat_1, lat_2, a, rf, xval_0, yval_0, x_0, y_0)

def gridDefParamSTERE(gridID, missval, lon_0, lat_ts, lat_0, a, xval_0, yval_0, x_0, y_0):
    return _CdiLib.gridDefParamSTERE(gridID, missval, lon_0, lat_ts, lat_0, a, xval_0, yval_0, x_0, y_0)

def gridInqParamSTERE(gridID, missval, lon_0, lat_ts, lat_0, a, xval_0, yval_0, x_0, y_0):
    return _CdiLib.gridInqParamSTERE(gridID, missval, lon_0, lat_ts, lat_0, a, xval_0, yval_0, x_0, y_0)

def gridDefArea(gridID, area):
    return _CdiLib.gridDefArea(gridID, area)

def gridInqArea(gridID, area):
    return _CdiLib.gridInqArea(gridID, area)

def gridHasArea(gridID):
    return _CdiLib.gridHasArea(gridID)

def gridDefNvertex(gridID, nvertex):
    return _CdiLib.gridDefNvertex(gridID, nvertex)

def gridInqNvertex(gridID):
    return _CdiLib.gridInqNvertex(gridID)

def gridDefXbounds(gridID, xbounds):
    return _CdiLib.gridDefXbounds(gridID, xbounds)

def gridInqXbounds(gridID, xbounds):
    return _CdiLib.gridInqXbounds(gridID, xbounds)

def gridInqXboundsPart(gridID, start, size, xbounds):
    return _CdiLib.gridInqXboundsPart(gridID, start, size, xbounds)

def gridDefYbounds(gridID, ybounds):
    return _CdiLib.gridDefYbounds(gridID, ybounds)

def gridInqYbounds(gridID, ybounds):
    return _CdiLib.gridInqYbounds(gridID, ybounds)

def gridInqYboundsPart(gridID, start, size, ybounds):
    return _CdiLib.gridInqYboundsPart(gridID, start, size, ybounds)

def gridDefReducedPoints(gridID, reducedPointsSize, reducedPoints):
    return _CdiLib.gridDefReducedPoints(gridID, reducedPointsSize, reducedPoints)

def gridInqReducedPoints(gridID, reducedPoints):
    return _CdiLib.gridInqReducedPoints(gridID, reducedPoints)

def gridChangeType(gridID, gridtype):
    return _CdiLib.gridChangeType(gridID, gridtype)

def gridDefComplexPacking(gridID, lpack):
    return _CdiLib.gridDefComplexPacking(gridID, lpack)

def gridInqComplexPacking(gridID):
    return _CdiLib.gridInqComplexPacking(gridID)

def gridDefScanningMode(gridID, mode):
    return _CdiLib.gridDefScanningMode(gridID, mode)

def gridInqScanningMode(gridID):
    return _CdiLib.gridInqScanningMode(gridID)

def zaxisName(zaxistype, zaxisname):
    return _CdiLib.zaxisName(zaxistype, zaxisname)

def zaxisNamePtr(leveltype):
    return _CdiLib.zaxisNamePtr(leveltype)

def zaxisCreate(zaxistype, size):
    return _CdiLib.zaxisCreate(zaxistype, size)

def zaxisDestroy(zaxisID):
    return _CdiLib.zaxisDestroy(zaxisID)

def zaxisInqType(zaxisID):
    return _CdiLib.zaxisInqType(zaxisID)

def zaxisInqSize(zaxisID):
    return _CdiLib.zaxisInqSize(zaxisID)

def zaxisDuplicate(zaxisID):
    return _CdiLib.zaxisDuplicate(zaxisID)

def zaxisDefLevels(zaxisID, levels):
    return _CdiLib.zaxisDefLevels(zaxisID, levels)

def zaxisDefCvals(zaxisID, cvals, clength):
    return _CdiLib.zaxisDefCvals(zaxisID, cvals, clength)

def zaxisInqLevels(zaxisID, levels):
    return _CdiLib.zaxisInqLevels(zaxisID, levels)

def zaxisInqCLen(zaxisID):
    return _CdiLib.zaxisInqCLen(zaxisID)

def zaxisInqCVals(zaxisID, clevels):
    return _CdiLib.zaxisInqCVals(zaxisID, clevels)

def zaxisDefLevel(zaxisID, levelID, levels):
    return _CdiLib.zaxisDefLevel(zaxisID, levelID, levels)

def zaxisInqLevel(zaxisID, levelID):
    return _CdiLib.zaxisInqLevel(zaxisID, levelID)

def zaxisDefNlevRef(gridID, nhlev):
    return _CdiLib.zaxisDefNlevRef(gridID, nhlev)

def zaxisInqNlevRef(gridID):
    return _CdiLib.zaxisInqNlevRef(gridID)

def zaxisDefNumber(gridID, number):
    return _CdiLib.zaxisDefNumber(gridID, number)

def zaxisInqNumber(gridID):
    return _CdiLib.zaxisInqNumber(gridID)

def zaxisDefUUID(zaxisID, uuid):
    return _CdiLib.zaxisDefUUID(zaxisID, uuid)

def zaxisInqUUID(zaxisID, uuid):
    return _CdiLib.zaxisInqUUID(zaxisID, uuid)

def zaxisDefName(zaxisID, name_optional):
    return _CdiLib.zaxisDefName(zaxisID, name_optional)

def zaxisInqName(zaxisID, name):
    return _CdiLib.zaxisInqName(zaxisID, name)

def zaxisDefLongname(zaxisID, longname_optional):
    return _CdiLib.zaxisDefLongname(zaxisID, longname_optional)

def zaxisInqLongname(zaxisID, longname):
    return _CdiLib.zaxisInqLongname(zaxisID, longname)

def zaxisDefUnits(zaxisID, units_optional):
    return _CdiLib.zaxisDefUnits(zaxisID, units_optional)

def zaxisInqUnits(zaxisID, units):
    return _CdiLib.zaxisInqUnits(zaxisID, units)

def zaxisInqStdname(zaxisID, stdname):
    return _CdiLib.zaxisInqStdname(zaxisID, stdname)

def zaxisDefDatatype(zaxisID, prec):
    return _CdiLib.zaxisDefDatatype(zaxisID, prec)

def zaxisInqDatatype(zaxisID):
    return _CdiLib.zaxisInqDatatype(zaxisID)

def zaxisDefPositive(zaxisID, positive):
    return _CdiLib.zaxisDefPositive(zaxisID, positive)

def zaxisInqPositive(zaxisID):
    return _CdiLib.zaxisInqPositive(zaxisID)

def zaxisDefScalar(zaxisID):
    return _CdiLib.zaxisDefScalar(zaxisID)

def zaxisInqScalar(zaxisID):
    return _CdiLib.zaxisInqScalar(zaxisID)

def zaxisDefLtype(zaxisID, ltype):
    return _CdiLib.zaxisDefLtype(zaxisID, ltype)

def zaxisInqLtype(zaxisID):
    return _CdiLib.zaxisInqLtype(zaxisID)

def zaxisDefLtype2(zaxisID, ltype2):
    return _CdiLib.zaxisDefLtype2(zaxisID, ltype2)

def zaxisInqLtype2(zaxisID):
    return _CdiLib.zaxisInqLtype2(zaxisID)

def zaxisDefVct(zaxisID, size, vct):
    return _CdiLib.zaxisDefVct(zaxisID, size, vct)

def zaxisInqVct(zaxisID, vct):
    return _CdiLib.zaxisInqVct(zaxisID, vct)

def zaxisInqVctSize(zaxisID):
    return _CdiLib.zaxisInqVctSize(zaxisID)

def zaxisInqVctPtr(zaxisID):
    return _CdiLib.zaxisInqVctPtr(zaxisID)

def zaxisDefLbounds(zaxisID, lbounds):
    return _CdiLib.zaxisDefLbounds(zaxisID, lbounds)

def zaxisInqLbounds(zaxisID, lbounds_optional):
    return _CdiLib.zaxisInqLbounds(zaxisID, lbounds_optional)

def zaxisInqLbound(zaxisID, index):
    return _CdiLib.zaxisInqLbound(zaxisID, index)

def zaxisDefUbounds(zaxisID, ubounds):
    return _CdiLib.zaxisDefUbounds(zaxisID, ubounds)

def zaxisInqUbounds(zaxisID, ubounds_optional):
    return _CdiLib.zaxisInqUbounds(zaxisID, ubounds_optional)

def zaxisInqUbound(zaxisID, index):
    return _CdiLib.zaxisInqUbound(zaxisID, index)

def zaxisDefWeights(zaxisID, weights):
    return _CdiLib.zaxisDefWeights(zaxisID, weights)

def zaxisInqWeights(zaxisID, weights_optional):
    return _CdiLib.zaxisInqWeights(zaxisID, weights_optional)

def zaxisChangeType(zaxisID, zaxistype):
    return _CdiLib.zaxisChangeType(zaxisID, zaxistype)

def taxisCreate(taxistype):
    return _CdiLib.taxisCreate(taxistype)

def taxisDestroy(taxisID):
    return _CdiLib.taxisDestroy(taxisID)

def taxisDuplicate(taxisID):
    return _CdiLib.taxisDuplicate(taxisID)

def taxisCopyTimestep(taxisIDdes, taxisIDsrc):
    return _CdiLib.taxisCopyTimestep(taxisIDdes, taxisIDsrc)

def taxisDefType(taxisID, taxistype):
    return _CdiLib.taxisDefType(taxisID, taxistype)

def taxisInqType(taxisID):
    return _CdiLib.taxisInqType(taxisID)

def taxisDefVdate(taxisID, date):
    return _CdiLib.taxisDefVdate(taxisID, date)

def taxisDefVtime(taxisID, time):
    return _CdiLib.taxisDefVtime(taxisID, time)

def taxisInqVdate(taxisID):
    return _CdiLib.taxisInqVdate(taxisID)

def taxisInqVtime(taxisID):
    return _CdiLib.taxisInqVtime(taxisID)

def taxisDefRdate(taxisID, date):
    return _CdiLib.taxisDefRdate(taxisID, date)

def taxisDefRtime(taxisID, time):
    return _CdiLib.taxisDefRtime(taxisID, time)

def taxisInqRdate(taxisID):
    return _CdiLib.taxisInqRdate(taxisID)

def taxisInqRtime(taxisID):
    return _CdiLib.taxisInqRtime(taxisID)

def taxisDefFdate(taxisID, date):
    return _CdiLib.taxisDefFdate(taxisID, date)

def taxisDefFtime(taxisID, time):
    return _CdiLib.taxisDefFtime(taxisID, time)

def taxisInqFdate(taxisID):
    return _CdiLib.taxisInqFdate(taxisID)

def taxisInqFtime(taxisID):
    return _CdiLib.taxisInqFtime(taxisID)

def taxisHasBounds(taxisID):
    return _CdiLib.taxisHasBounds(taxisID)

def taxisWithBounds(taxisID):
    return _CdiLib.taxisWithBounds(taxisID)

def taxisDeleteBounds(taxisID):
    return _CdiLib.taxisDeleteBounds(taxisID)

def taxisDefVdateBounds(taxisID, vdate_lb, vdate_ub):
    return _CdiLib.taxisDefVdateBounds(taxisID, vdate_lb, vdate_ub)

def taxisDefVtimeBounds(taxisID, vtime_lb, vtime_ub):
    return _CdiLib.taxisDefVtimeBounds(taxisID, vtime_lb, vtime_ub)

def taxisInqVdateBounds(taxisID, vdate_lb, vdate_ub):
    return _CdiLib.taxisInqVdateBounds(taxisID, vdate_lb, vdate_ub)

def taxisInqVtimeBounds(taxisID, vtime_lb, vtime_ub):
    return _CdiLib.taxisInqVtimeBounds(taxisID, vtime_lb, vtime_ub)

def taxisDefCalendar(taxisID, calendar):
    return _CdiLib.taxisDefCalendar(taxisID, calendar)

def taxisInqCalendar(taxisID):
    return _CdiLib.taxisInqCalendar(taxisID)

def taxisDefTunit(taxisID, tunit):
    return _CdiLib.taxisDefTunit(taxisID, tunit)

def taxisInqTunit(taxisID):
    return _CdiLib.taxisInqTunit(taxisID)

def taxisDefForecastTunit(taxisID, tunit):
    return _CdiLib.taxisDefForecastTunit(taxisID, tunit)

def taxisInqForecastTunit(taxisID):
    return _CdiLib.taxisInqForecastTunit(taxisID)

def taxisDefForecastPeriod(taxisID, fc_period):
    return _CdiLib.taxisDefForecastPeriod(taxisID, fc_period)

def taxisInqForecastPeriod(taxisID):
    return _CdiLib.taxisInqForecastPeriod(taxisID)

def taxisDefNumavg(taxisID, numavg):
    return _CdiLib.taxisDefNumavg(taxisID, numavg)

def taxisInqNumavg(taxisID):
    return _CdiLib.taxisInqNumavg(taxisID)

def tunitNamePtr(tunitID):
    return _CdiLib.tunitNamePtr(tunitID)

def institutDef(center, subcenter, name, longname):
    return _CdiLib.institutDef(center, subcenter, name, longname)

def institutInq(center, subcenter, name, longname):
    return _CdiLib.institutInq(center, subcenter, name, longname)

def institutInqNumber():
    return _CdiLib.institutInqNumber()

def institutInqCenter(instID):
    return _CdiLib.institutInqCenter(instID)

def institutInqSubcenter(instID):
    return _CdiLib.institutInqSubcenter(instID)

def institutInqNamePtr(instID):
    return _CdiLib.institutInqNamePtr(instID)

def institutInqLongnamePtr(instID):
    return _CdiLib.institutInqLongnamePtr(instID)

def modelDef(instID, modelgribID, name):
    return _CdiLib.modelDef(instID, modelgribID, name)

def modelInq(instID, modelgribID, name):
    return _CdiLib.modelInq(instID, modelgribID, name)

def modelInqInstitut(modelID):
    return _CdiLib.modelInqInstitut(modelID)

def modelInqGribID(modelID):
    return _CdiLib.modelInqGribID(modelID)

def modelInqNamePtr(modelID):
    return _CdiLib.modelInqNamePtr(modelID)

def tableFWriteC(ptfp, tableID):
    return _CdiLib.tableFWriteC(ptfp, tableID)

def tableWrite(filename, tableID):
    return _CdiLib.tableWrite(filename, tableID)

def tableRead(tablefile):
    return _CdiLib.tableRead(tablefile)

def tableDef(modelID, tablenum, tablename):
    return _CdiLib.tableDef(modelID, tablenum, tablename)

def tableInqNamePtr(tableID):
    return _CdiLib.tableInqNamePtr(tableID)

def tableInq(modelID, tablenum, tablename):
    return _CdiLib.tableInq(modelID, tablenum, tablename)

def tableInqNumber():
    return _CdiLib.tableInqNumber()

def tableInqNum(tableID):
    return _CdiLib.tableInqNum(tableID)

def tableInqModel(tableID):
    return _CdiLib.tableInqModel(tableID)

def tableInqEntry(tableID, id, ltype, name, longname, units):
    return _CdiLib.tableInqEntry(tableID, id, ltype, name, longname, units)

def streamDefHistory(streamID, size, history):
    return _CdiLib.streamDefHistory(streamID, size, history)

def streamInqHistorySize(streamID):
    return _CdiLib.streamInqHistorySize(streamID)

def streamInqHistoryString(streamID, history):
    return _CdiLib.streamInqHistoryString(streamID, history)

def subtypeCreate(subtype):
    return _CdiLib.subtypeCreate(subtype)

def subtypePrint(subtypeID):
    return _CdiLib.subtypePrint(subtypeID)

def subtypeCompare(subtypeID1, subtypeID2):
    return _CdiLib.subtypeCompare(subtypeID1, subtypeID2)

def subtypeInqSize(subtypeID):
    return _CdiLib.subtypeInqSize(subtypeID)

def subtypeInqActiveIndex(subtypeID):
    return _CdiLib.subtypeInqActiveIndex(subtypeID)

def subtypeDefActiveIndex(subtypeID, index):
    return _CdiLib.subtypeDefActiveIndex(subtypeID, index)

def keyValuePair(key, value):
    return _CdiLib.keyValuePair(key, value)

def matchAND(q1, q2):
    return _CdiLib.matchAND(q1, q2)

def subtypeInqSubEntry(subtypeID, criterion):
    return _CdiLib.subtypeInqSubEntry(subtypeID, criterion)

def subtypeInqTile(subtypeID, tileindex, attribute):
    return _CdiLib.subtypeInqTile(subtypeID, tileindex, attribute)

def subtypeInqAttribute(subtypeID, index, key, outValue):
    return _CdiLib.subtypeInqAttribute(subtypeID, index, key, outValue)

def vlistInqVarSubtype(vlistID, varID):
    return _CdiLib.vlistInqVarSubtype(vlistID, varID)

def gribapiLibraryVersion(major_version, minor_version, revision_version):
    return _CdiLib.gribapiLibraryVersion(major_version, minor_version, revision_version)

def gaussianLatitudes(latitudes, weights, nlat):
    return _CdiLib.gaussianLatitudes(latitudes, weights, nlat)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1667
1668