cdi.inc 90.7 KB
Newer Older
1
! This file was automatically generated, don't edit!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
2
!
3
! Fortran interface for CDI library version 1.6.4
Uwe Schulzweida's avatar
Uwe Schulzweida committed
4
5
6
!
! Author:
! -------
7
! Uwe Schulzweida, MPI-MET, Hamburg,   August 2014
Uwe Schulzweida's avatar
Uwe Schulzweida committed
8
9
!

Deike Kleberg's avatar
Deike Kleberg committed
10
11
      INTEGER    CDI_MAX_NAME          
      PARAMETER (CDI_MAX_NAME           = 256)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
12
13
      INTEGER    CDI_UNDEFID           
      PARAMETER (CDI_UNDEFID            = -1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
14
15
      INTEGER    CDI_GLOBAL            
      PARAMETER (CDI_GLOBAL             = -1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
!
17
18
19
20
21
22
!  Byte order
!
      INTEGER    CDI_BIGENDIAN         
      PARAMETER (CDI_BIGENDIAN          =  0)
      INTEGER    CDI_LITTLEENDIAN      
      PARAMETER (CDI_LITTLEENDIAN       =  1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
23
24
25
26
27
28
      INTEGER    CDI_REAL              
      PARAMETER (CDI_REAL               =  1)
      INTEGER    CDI_COMP              
      PARAMETER (CDI_COMP               =  2)
      INTEGER    CDI_BOTH              
      PARAMETER (CDI_BOTH               =  3)
29
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
30
31
!  Error identifier
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
32
33
      INTEGER    CDI_NOERR             
      PARAMETER (CDI_NOERR              =  0)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
34
35
36
37
38
39
40
41
42
43
      INTEGER    CDI_ESYSTEM           
      PARAMETER (CDI_ESYSTEM            = -10)
      INTEGER    CDI_EINVAL            
      PARAMETER (CDI_EINVAL             = -20)
      INTEGER    CDI_EUFTYPE           
      PARAMETER (CDI_EUFTYPE            = -21)
      INTEGER    CDI_ELIBNAVAIL        
      PARAMETER (CDI_ELIBNAVAIL         = -22)
      INTEGER    CDI_EUFSTRUCT         
      PARAMETER (CDI_EUFSTRUCT          = -23)
44
45
      INTEGER    CDI_EUNC4             
      PARAMETER (CDI_EUNC4              = -24)
46
47
      INTEGER    CDI_ELIMIT            
      PARAMETER (CDI_ELIMIT             = -99)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
48
49
50
!
!  File types
!
51
52
      INTEGER    FILETYPE_UNDEF        
      PARAMETER (FILETYPE_UNDEF         = -1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
53
54
      INTEGER    FILETYPE_GRB          
      PARAMETER (FILETYPE_GRB           =  1)
55
56
      INTEGER    FILETYPE_GRB2         
      PARAMETER (FILETYPE_GRB2          =  2)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
57
58
59
60
      INTEGER    FILETYPE_NC           
      PARAMETER (FILETYPE_NC            =  3)
      INTEGER    FILETYPE_NC2          
      PARAMETER (FILETYPE_NC2           =  4)
61
62
      INTEGER    FILETYPE_NC4          
      PARAMETER (FILETYPE_NC4           =  5)
Deike Kleberg's avatar
Deike Kleberg committed
63
64
      INTEGER    FILETYPE_NC4C         
      PARAMETER (FILETYPE_NC4C          =  6)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
65
      INTEGER    FILETYPE_SRV          
Deike Kleberg's avatar
Deike Kleberg committed
66
      PARAMETER (FILETYPE_SRV           =  7)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
67
      INTEGER    FILETYPE_EXT          
Deike Kleberg's avatar
Deike Kleberg committed
68
      PARAMETER (FILETYPE_EXT           =  8)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
69
      INTEGER    FILETYPE_IEG          
Deike Kleberg's avatar
Deike Kleberg committed
70
      PARAMETER (FILETYPE_IEG           =  9)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
71
!
72
73
!  Compress types
!
74
75
      INTEGER    COMPRESS_NONE         
      PARAMETER (COMPRESS_NONE          =  0)
76
77
78
79
      INTEGER    COMPRESS_SZIP         
      PARAMETER (COMPRESS_SZIP          =  1)
      INTEGER    COMPRESS_GZIP         
      PARAMETER (COMPRESS_GZIP          =  2)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
80
81
      INTEGER    COMPRESS_BZIP2        
      PARAMETER (COMPRESS_BZIP2         =  3)
82
83
      INTEGER    COMPRESS_ZIP          
      PARAMETER (COMPRESS_ZIP           =  4)
84
85
      INTEGER    COMPRESS_JPEG         
      PARAMETER (COMPRESS_JPEG          =  5)
86
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
87
!  external data types
Uwe Schulzweida's avatar
Uwe Schulzweida committed
88
89
90
91
92
93
94
95
96
!
      INTEGER    DATATYPE_PACK         
      PARAMETER (DATATYPE_PACK          =  0)
      INTEGER    DATATYPE_PACK1        
      PARAMETER (DATATYPE_PACK1         =  1)
      INTEGER    DATATYPE_PACK2        
      PARAMETER (DATATYPE_PACK2         =  2)
      INTEGER    DATATYPE_PACK3        
      PARAMETER (DATATYPE_PACK3         =  3)
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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
      INTEGER    DATATYPE_PACK4        
      PARAMETER (DATATYPE_PACK4         =  4)
      INTEGER    DATATYPE_PACK5        
      PARAMETER (DATATYPE_PACK5         =  5)
      INTEGER    DATATYPE_PACK6        
      PARAMETER (DATATYPE_PACK6         =  6)
      INTEGER    DATATYPE_PACK7        
      PARAMETER (DATATYPE_PACK7         =  7)
      INTEGER    DATATYPE_PACK8        
      PARAMETER (DATATYPE_PACK8         =  8)
      INTEGER    DATATYPE_PACK9        
      PARAMETER (DATATYPE_PACK9         =  9)
      INTEGER    DATATYPE_PACK10       
      PARAMETER (DATATYPE_PACK10        = 10)
      INTEGER    DATATYPE_PACK11       
      PARAMETER (DATATYPE_PACK11        = 11)
      INTEGER    DATATYPE_PACK12       
      PARAMETER (DATATYPE_PACK12        = 12)
      INTEGER    DATATYPE_PACK13       
      PARAMETER (DATATYPE_PACK13        = 13)
      INTEGER    DATATYPE_PACK14       
      PARAMETER (DATATYPE_PACK14        = 14)
      INTEGER    DATATYPE_PACK15       
      PARAMETER (DATATYPE_PACK15        = 15)
      INTEGER    DATATYPE_PACK16       
      PARAMETER (DATATYPE_PACK16        = 16)
      INTEGER    DATATYPE_PACK17       
      PARAMETER (DATATYPE_PACK17        = 17)
      INTEGER    DATATYPE_PACK18       
      PARAMETER (DATATYPE_PACK18        = 18)
      INTEGER    DATATYPE_PACK19       
      PARAMETER (DATATYPE_PACK19        = 19)
      INTEGER    DATATYPE_PACK20       
      PARAMETER (DATATYPE_PACK20        = 20)
      INTEGER    DATATYPE_PACK21       
      PARAMETER (DATATYPE_PACK21        = 21)
      INTEGER    DATATYPE_PACK22       
      PARAMETER (DATATYPE_PACK22        = 22)
      INTEGER    DATATYPE_PACK23       
      PARAMETER (DATATYPE_PACK23        = 23)
      INTEGER    DATATYPE_PACK24       
      PARAMETER (DATATYPE_PACK24        = 24)
      INTEGER    DATATYPE_PACK25       
      PARAMETER (DATATYPE_PACK25        = 25)
      INTEGER    DATATYPE_PACK26       
      PARAMETER (DATATYPE_PACK26        = 26)
      INTEGER    DATATYPE_PACK27       
      PARAMETER (DATATYPE_PACK27        = 27)
      INTEGER    DATATYPE_PACK28       
      PARAMETER (DATATYPE_PACK28        = 28)
      INTEGER    DATATYPE_PACK29       
      PARAMETER (DATATYPE_PACK29        = 29)
      INTEGER    DATATYPE_PACK30       
      PARAMETER (DATATYPE_PACK30        = 30)
      INTEGER    DATATYPE_PACK31       
      PARAMETER (DATATYPE_PACK31        = 31)
      INTEGER    DATATYPE_PACK32       
      PARAMETER (DATATYPE_PACK32        = 32)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
155
156
157
158
      INTEGER    DATATYPE_CPX32        
      PARAMETER (DATATYPE_CPX32         = 64)
      INTEGER    DATATYPE_CPX64        
      PARAMETER (DATATYPE_CPX64         = 128)
159
160
161
162
163
164
165
166
167
168
      INTEGER    DATATYPE_FLT32        
      PARAMETER (DATATYPE_FLT32         = 132)
      INTEGER    DATATYPE_FLT64        
      PARAMETER (DATATYPE_FLT64         = 164)
      INTEGER    DATATYPE_INT8         
      PARAMETER (DATATYPE_INT8          = 208)
      INTEGER    DATATYPE_INT16        
      PARAMETER (DATATYPE_INT16         = 216)
      INTEGER    DATATYPE_INT32        
      PARAMETER (DATATYPE_INT32         = 232)
169
170
171
172
173
174
      INTEGER    DATATYPE_UINT8        
      PARAMETER (DATATYPE_UINT8         = 308)
      INTEGER    DATATYPE_UINT16       
      PARAMETER (DATATYPE_UINT16        = 316)
      INTEGER    DATATYPE_UINT32       
      PARAMETER (DATATYPE_UINT32        = 332)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
175
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
176
177
178
179
180
181
182
183
!  internal data types
!
      INTEGER    DATATYPE_INT          
      PARAMETER (DATATYPE_INT           = 251)
      INTEGER    DATATYPE_FLT          
      PARAMETER (DATATYPE_FLT           = 252)
      INTEGER    DATATYPE_TXT          
      PARAMETER (DATATYPE_TXT           = 253)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
184
185
      INTEGER    DATATYPE_CPX          
      PARAMETER (DATATYPE_CPX           = 254)
186
187
      INTEGER    DATATYPE_UCHAR        
      PARAMETER (DATATYPE_UCHAR         = 255)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
188
!
189
190
191
192
193
194
195
196
197
!  Chunks
!
      INTEGER    CHUNK_AUTO            
      PARAMETER (CHUNK_AUTO             =  1)
      INTEGER    CHUNK_GRID            
      PARAMETER (CHUNK_GRID             =  2)
      INTEGER    CHUNK_LINES           
      PARAMETER (CHUNK_LINES            =  3)
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
!  GRID types
!
      INTEGER    GRID_GENERIC          
      PARAMETER (GRID_GENERIC           =  1)
      INTEGER    GRID_GAUSSIAN         
      PARAMETER (GRID_GAUSSIAN          =  2)
      INTEGER    GRID_GAUSSIAN_REDUCED 
      PARAMETER (GRID_GAUSSIAN_REDUCED  =  3)
      INTEGER    GRID_LONLAT           
      PARAMETER (GRID_LONLAT            =  4)
      INTEGER    GRID_SPECTRAL         
      PARAMETER (GRID_SPECTRAL          =  5)
      INTEGER    GRID_FOURIER          
      PARAMETER (GRID_FOURIER           =  6)
      INTEGER    GRID_GME              
      PARAMETER (GRID_GME               =  7)
      INTEGER    GRID_TRAJECTORY       
      PARAMETER (GRID_TRAJECTORY        =  8)
216
217
      INTEGER    GRID_UNSTRUCTURED     
      PARAMETER (GRID_UNSTRUCTURED      =  9)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
218
219
      INTEGER    GRID_CURVILINEAR      
      PARAMETER (GRID_CURVILINEAR       = 10)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
220
221
      INTEGER    GRID_LCC              
      PARAMETER (GRID_LCC               = 11)
222
223
      INTEGER    GRID_LCC2             
      PARAMETER (GRID_LCC2              = 12)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
224
      INTEGER    GRID_LAEA             
225
      PARAMETER (GRID_LAEA              = 13)
226
      INTEGER    GRID_SINUSOIDAL       
227
      PARAMETER (GRID_SINUSOIDAL        = 14)
Deike Kleberg's avatar
Deike Kleberg committed
228
      INTEGER    GRID_PROJECTION       
229
      PARAMETER (GRID_PROJECTION        = 15)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
!
!  ZAXIS types
!
      INTEGER    ZAXIS_SURFACE         
      PARAMETER (ZAXIS_SURFACE          =  0)
      INTEGER    ZAXIS_GENERIC         
      PARAMETER (ZAXIS_GENERIC          =  1)
      INTEGER    ZAXIS_HYBRID          
      PARAMETER (ZAXIS_HYBRID           =  2)
      INTEGER    ZAXIS_HYBRID_HALF     
      PARAMETER (ZAXIS_HYBRID_HALF      =  3)
      INTEGER    ZAXIS_PRESSURE        
      PARAMETER (ZAXIS_PRESSURE         =  4)
      INTEGER    ZAXIS_HEIGHT          
      PARAMETER (ZAXIS_HEIGHT           =  5)
      INTEGER    ZAXIS_DEPTH_BELOW_SEA 
      PARAMETER (ZAXIS_DEPTH_BELOW_SEA  =  6)
      INTEGER    ZAXIS_DEPTH_BELOW_LAND
      PARAMETER (ZAXIS_DEPTH_BELOW_LAND =  7)
      INTEGER    ZAXIS_ISENTROPIC      
      PARAMETER (ZAXIS_ISENTROPIC       =  8)
      INTEGER    ZAXIS_TRAJECTORY      
      PARAMETER (ZAXIS_TRAJECTORY       =  9)
      INTEGER    ZAXIS_ALTITUDE        
      PARAMETER (ZAXIS_ALTITUDE         = 10)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
255
256
      INTEGER    ZAXIS_SIGMA           
      PARAMETER (ZAXIS_SIGMA            = 11)
257
258
      INTEGER    ZAXIS_MEANSEA         
      PARAMETER (ZAXIS_MEANSEA          = 12)
Deike Kleberg's avatar
Deike Kleberg committed
259
260
261
262
263
264
      INTEGER    ZAXIS_TOA             
      PARAMETER (ZAXIS_TOA              = 13)
      INTEGER    ZAXIS_SEA_BOTTOM      
      PARAMETER (ZAXIS_SEA_BOTTOM       = 14)
      INTEGER    ZAXIS_ATMOSPHERE      
      PARAMETER (ZAXIS_ATMOSPHERE       = 15)
265
266
267
268
269
270
      INTEGER    ZAXIS_CLOUD_BASE      
      PARAMETER (ZAXIS_CLOUD_BASE       = 16)
      INTEGER    ZAXIS_CLOUD_TOP       
      PARAMETER (ZAXIS_CLOUD_TOP        = 17)
      INTEGER    ZAXIS_ISOTHERM_ZERO   
      PARAMETER (ZAXIS_ISOTHERM_ZERO    = 18)
271
272
      INTEGER    ZAXIS_SNOW            
      PARAMETER (ZAXIS_SNOW             = 19)
273
274
275
276
277
278
279
280
281
282
      INTEGER    ZAXIS_LAKE_BOTTOM     
      PARAMETER (ZAXIS_LAKE_BOTTOM      = 20)
      INTEGER    ZAXIS_SEDIMENT_BOTTOM 
      PARAMETER (ZAXIS_SEDIMENT_BOTTOM  = 21)
      INTEGER    ZAXIS_SEDIMENT_BOTTOM_TA
      PARAMETER (ZAXIS_SEDIMENT_BOTTOM_TA = 22)
      INTEGER    ZAXIS_SEDIMENT_BOTTOM_TW
      PARAMETER (ZAXIS_SEDIMENT_BOTTOM_TW = 23)
      INTEGER    ZAXIS_MIX_LAYER       
      PARAMETER (ZAXIS_MIX_LAYER        = 24)
Deike Kleberg's avatar
Deike Kleberg committed
283
      INTEGER    ZAXIS_REFERENCE       
284
      PARAMETER (ZAXIS_REFERENCE        = 25)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
!  TIME types
!
      INTEGER    TIME_CONSTANT         
      PARAMETER (TIME_CONSTANT          =  0)
      INTEGER    TIME_VARIABLE         
      PARAMETER (TIME_VARIABLE          =  1)
!
!  TSTEP types
!
      INTEGER    TSTEP_CONSTANT        
      PARAMETER (TSTEP_CONSTANT         =  0)
      INTEGER    TSTEP_INSTANT         
      PARAMETER (TSTEP_INSTANT          =  1)
      INTEGER    TSTEP_AVG             
      PARAMETER (TSTEP_AVG              =  2)
      INTEGER    TSTEP_ACCUM           
      PARAMETER (TSTEP_ACCUM            =  3)
      INTEGER    TSTEP_MAX             
      PARAMETER (TSTEP_MAX              =  4)
      INTEGER    TSTEP_MIN             
      PARAMETER (TSTEP_MIN              =  5)
      INTEGER    TSTEP_DIFF            
      PARAMETER (TSTEP_DIFF             =  6)
      INTEGER    TSTEP_RMS             
      PARAMETER (TSTEP_RMS              =  7)
      INTEGER    TSTEP_SD              
      PARAMETER (TSTEP_SD               =  8)
      INTEGER    TSTEP_COV             
      PARAMETER (TSTEP_COV              =  9)
      INTEGER    TSTEP_RATIO           
      PARAMETER (TSTEP_RATIO            = 10)
      INTEGER    TSTEP_RANGE           
      PARAMETER (TSTEP_RANGE            = 11)
      INTEGER    TSTEP_INSTANT2        
      PARAMETER (TSTEP_INSTANT2         = 12)
      INTEGER    TSTEP_INSTANT3        
      PARAMETER (TSTEP_INSTANT3         = 13)
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
324
325
326
327
328
329
!  TAXIS types
!
      INTEGER    TAXIS_ABSOLUTE        
      PARAMETER (TAXIS_ABSOLUTE         =  1)
      INTEGER    TAXIS_RELATIVE        
      PARAMETER (TAXIS_RELATIVE         =  2)
330
331
      INTEGER    TAXIS_FORECAST        
      PARAMETER (TAXIS_FORECAST         =  3)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
332
333
334
335
336
337
338
!
!  TUNIT types
!
      INTEGER    TUNIT_SECOND          
      PARAMETER (TUNIT_SECOND           =  1)
      INTEGER    TUNIT_MINUTE          
      PARAMETER (TUNIT_MINUTE           =  2)
339
      INTEGER    TUNIT_QUARTER         
340
341
342
343
344
      PARAMETER (TUNIT_QUARTER          =  3)
      INTEGER    TUNIT_30MINUTES       
      PARAMETER (TUNIT_30MINUTES        =  4)
      INTEGER    TUNIT_HOUR            
      PARAMETER (TUNIT_HOUR             =  5)
345
      INTEGER    TUNIT_3HOURS          
346
      PARAMETER (TUNIT_3HOURS           =  6)
347
      INTEGER    TUNIT_6HOURS          
348
      PARAMETER (TUNIT_6HOURS           =  7)
349
      INTEGER    TUNIT_12HOURS         
350
351
352
353
354
355
356
      PARAMETER (TUNIT_12HOURS          =  8)
      INTEGER    TUNIT_DAY             
      PARAMETER (TUNIT_DAY              =  9)
      INTEGER    TUNIT_MONTH           
      PARAMETER (TUNIT_MONTH            = 10)
      INTEGER    TUNIT_YEAR            
      PARAMETER (TUNIT_YEAR             = 11)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
357
358
359
360
361
!
!  CALENDAR types
!
      INTEGER    CALENDAR_STANDARD     
      PARAMETER (CALENDAR_STANDARD      =  0)
362
363
      INTEGER    CALENDAR_PROLEPTIC    
      PARAMETER (CALENDAR_PROLEPTIC     =  1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
364
365
366
367
368
369
      INTEGER    CALENDAR_360DAYS      
      PARAMETER (CALENDAR_360DAYS       =  2)
      INTEGER    CALENDAR_365DAYS      
      PARAMETER (CALENDAR_365DAYS       =  3)
      INTEGER    CALENDAR_366DAYS      
      PARAMETER (CALENDAR_366DAYS       =  4)
370
371
      INTEGER    CALENDAR_NONE         
      PARAMETER (CALENDAR_NONE          =  5)
372
373
374
!
!  CDI control routines
!
375
376
377
378
!                     cdiReset
      EXTERNAL        cdiReset

      CHARACTER(80)   cdiStringError
Uwe Schulzweida's avatar
Uwe Schulzweida committed
379
380
381
!                                    (INTEGER         cdiErrno)
      EXTERNAL        cdiStringError

Uwe Schulzweida's avatar
Uwe Schulzweida committed
382
383
384
385
!                     cdiDebug
!                                    (INTEGER         debug)
      EXTERNAL        cdiDebug

386
      CHARACTER(80)   cdiLibraryVersion
Uwe Schulzweida's avatar
Uwe Schulzweida committed
387
388
      EXTERNAL        cdiLibraryVersion

Uwe Schulzweida's avatar
Uwe Schulzweida committed
389
390
391
!                     cdiPrintVersion
      EXTERNAL        cdiPrintVersion

392
393
394
395
      INTEGER         cdiHaveFiletype
!                                    (INTEGER         filetype)
      EXTERNAL        cdiHaveFiletype

Uwe Schulzweida's avatar
Uwe Schulzweida committed
396
397
398
399
400
401
402
!                     cdiDefMissval
!                                    (DOUBLEPRECISION missval)
      EXTERNAL        cdiDefMissval

      DOUBLEPRECISION cdiInqMissval
      EXTERNAL        cdiInqMissval

403
!                     cdiDefGlobal
Uwe Schulzweida's avatar
Uwe Schulzweida committed
404
405
406
!                                    (CHARACTER*(*)   string,
!                                     INTEGER         val)
      EXTERNAL        cdiDefGlobal
407
408
409
410
411
412
413
414
415
416
417

      INTEGER         namespaceNew
      EXTERNAL        namespaceNew

!                     namespaceSetActive
!                                    (INTEGER         namespaceID)
      EXTERNAL        namespaceSetActive

!                     namespaceDelete
!                                    (INTEGER         namespaceID)
      EXTERNAL        namespaceDelete
Uwe Schulzweida's avatar
Uwe Schulzweida committed
418

Uwe Schulzweida's avatar
Uwe Schulzweida committed
419
420
421
!
!  CDI converter routines
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
422
423
424
425
426
427
428
429
430
!
!  parameter
!
!                     cdiParamToString
!                                    (INTEGER         param,
!                                     CHARACTER*(*)   paramstr,
!                                     INTEGER         maxlen)
      EXTERNAL        cdiParamToString

Uwe Schulzweida's avatar
Uwe Schulzweida committed
431
432
!                     cdiDecodeParam
!                                    (INTEGER         param,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
433
434
435
!                                     INTEGER         pnum,
!                                     INTEGER         pcat,
!                                     INTEGER         pdis)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
436
437
438
      EXTERNAL        cdiDecodeParam

      INTEGER         cdiEncodeParam
Uwe Schulzweida's avatar
Uwe Schulzweida committed
439
440
441
!                                    (INTEGER         pnum,
!                                     INTEGER         pcat,
!                                     INTEGER         pdis)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
442
443
      EXTERNAL        cdiEncodeParam

444
445
446
447
448
449
!
!  date format:  YYYYMMDD
!
!
!  time format:    hhmmss
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
!                     cdiDecodeDate
!                                    (INTEGER         date,
!                                     INTEGER         year,
!                                     INTEGER         month,
!                                     INTEGER         day)
      EXTERNAL        cdiDecodeDate

      INTEGER         cdiEncodeDate
!                                    (INTEGER         year,
!                                     INTEGER         month,
!                                     INTEGER         day)
      EXTERNAL        cdiEncodeDate

!                     cdiDecodeTime
!                                    (INTEGER         time,
!                                     INTEGER         hour,
!                                     INTEGER         minute,
!                                     INTEGER         second)
      EXTERNAL        cdiDecodeTime

      INTEGER         cdiEncodeTime
!                                    (INTEGER         hour,
!                                     INTEGER         minute,
!                                     INTEGER         second)
      EXTERNAL        cdiEncodeTime

Uwe Schulzweida's avatar
Uwe Schulzweida committed
476
477
478
479
!
!  STREAM control routines
!
      INTEGER         streamOpenRead
480
!                                    (CHARACTER*(*)   path)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
481
482
483
      EXTERNAL        streamOpenRead

      INTEGER         streamOpenWrite
484
!                                    (CHARACTER*(*)   path,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
485
486
487
488
!                                     INTEGER         filetype)
      EXTERNAL        streamOpenWrite

      INTEGER         streamOpenAppend
489
!                                    (CHARACTER*(*)   path)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
490
491
492
493
494
495
      EXTERNAL        streamOpenAppend

!                     streamClose
!                                    (INTEGER         streamID)
      EXTERNAL        streamClose

Uwe Schulzweida's avatar
Uwe Schulzweida committed
496
497
498
499
!                     streamSync
!                                    (INTEGER         streamID)
      EXTERNAL        streamSync

Uwe Schulzweida's avatar
Uwe Schulzweida committed
500
501
502
503
504
505
506
507
508
!                     streamDefVlist
!                                    (INTEGER         streamID,
!                                     INTEGER         vlistID)
      EXTERNAL        streamDefVlist

      INTEGER         streamInqVlist
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqVlist

509
510
511
!
!  PIO:
!
512
513
514
515
      INTEGER         streamInqVlistIDorig
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqVlistIDorig

Uwe Schulzweida's avatar
Uwe Schulzweida committed
516
517
518
519
520
521
522
523
524
525
526
527
528
      INTEGER         streamInqFiletype
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqFiletype

!                     streamDefByteorder
!                                    (INTEGER         streamID,
!                                     INTEGER         byteorder)
      EXTERNAL        streamDefByteorder

      INTEGER         streamInqByteorder
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqByteorder

Deike Kleberg's avatar
Deike Kleberg committed
529
!                     streamDefCompType
530
!                                    (INTEGER         streamID,
Deike Kleberg's avatar
Deike Kleberg committed
531
532
!                                     INTEGER         comptype)
      EXTERNAL        streamDefCompType
533

534
535
536
537
      INTEGER         streamInqCompType
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqCompType

Deike Kleberg's avatar
Deike Kleberg committed
538
!                     streamDefCompLevel
539
!                                    (INTEGER         streamID,
Deike Kleberg's avatar
Deike Kleberg committed
540
541
!                                     INTEGER         complevel)
      EXTERNAL        streamDefCompLevel
542

Deike Kleberg's avatar
Deike Kleberg committed
543
      INTEGER         streamInqCompLevel
544
!                                    (INTEGER         streamID)
Deike Kleberg's avatar
Deike Kleberg committed
545
      EXTERNAL        streamInqCompLevel
546

Uwe Schulzweida's avatar
Uwe Schulzweida committed
547
548
549
550
551
552
553
554
555
556
      INTEGER         streamDefTimestep
!                                    (INTEGER         streamID,
!                                     INTEGER         tsID)
      EXTERNAL        streamDefTimestep

      INTEGER         streamInqTimestep
!                                    (INTEGER         streamID,
!                                     INTEGER         tsID)
      EXTERNAL        streamInqTimestep

557
558
559
560
      INTEGER         streamInqCurTimestepID
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqCurTimestepID

561
      CHARACTER(80)   streamFilename
562
563
564
!                                    (INTEGER         streamID)
      EXTERNAL        streamFilename

565
      CHARACTER(80)   streamFilesuffix
566
567
568
!                                    (INTEGER         filetype)
      EXTERNAL        streamFilesuffix

Uwe Schulzweida's avatar
Uwe Schulzweida committed
569
570
571
572
      INTEGER         streamNtsteps
!                                    (INTEGER         streamID)
      EXTERNAL        streamNtsteps

573
574
575
576
      INTEGER         streamInqNvars
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqNvars

Uwe Schulzweida's avatar
Uwe Schulzweida committed
577
578
579
580
581
582
!
!  STREAM var I/O routines
!
!                     streamWriteVar
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
583
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
584
585
586
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVar

587
588
589
590
591
592
593
!                     streamWriteVarF
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarF

594
!                     streamReadVar
Uwe Schulzweida's avatar
Uwe Schulzweida committed
595
596
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
597
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
598
!                                     INTEGER         nmiss)
599
600
601
602
603
604
605
606
      EXTERNAL        streamReadVar

!                     streamReadVarF
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadVarF
Uwe Schulzweida's avatar
Uwe Schulzweida committed
607
608
609
610
611

!                     streamWriteVarSlice
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
612
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
613
614
615
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarSlice

616
617
618
619
620
621
622
623
!                     streamWriteVarSliceF
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarSliceF

624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
!                     streamReadVarSlice
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadVarSlice

!                     streamReadVarSliceF
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadVarSliceF

640
641
642
643
644
645
646
647
!                     streamWriteVarChunk
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         rect,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarChunk

Uwe Schulzweida's avatar
Uwe Schulzweida committed
648
649
650
651
652
653
654
655
656
!
!  STREAM record I/O routines
!
!                     streamDefRecord
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID)
      EXTERNAL        streamDefRecord

657
!                     streamInqRecord
Uwe Schulzweida's avatar
Uwe Schulzweida committed
658
!                                    (INTEGER         streamID,
659
660
661
!                                     INTEGER         varID,
!                                     INTEGER         levelID)
      EXTERNAL        streamInqRecord
Uwe Schulzweida's avatar
Uwe Schulzweida committed
662
663
664

!                     streamWriteRecord
!                                    (INTEGER         streamID,
665
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
666
667
668
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteRecord

669
670
671
672
673
674
!                     streamWriteRecordF
!                                    (INTEGER         streamID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteRecordF

675
676
677
678
679
680
!                     streamReadRecord
!                                    (INTEGER         streamID,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadRecord

Uwe Schulzweida's avatar
Uwe Schulzweida committed
681
682
683
684
685
686
687
688
!                     streamCopyRecord
!                                    (INTEGER         streamIDdest,
!                                     INTEGER         streamIDsrc)
      EXTERNAL        streamCopyRecord

!
!  VLIST routines
!
689
690
      INTEGER         vlistCreate
      EXTERNAL        vlistCreate
Uwe Schulzweida's avatar
Uwe Schulzweida committed
691

692
!                     vlistDestroy
Uwe Schulzweida's avatar
Uwe Schulzweida committed
693
!                                    (INTEGER         vlistID)
694
      EXTERNAL        vlistDestroy
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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

      INTEGER         vlistDuplicate
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistDuplicate

!                     vlistCopy
!                                    (INTEGER         vlistID2,
!                                     INTEGER         vlistID1)
      EXTERNAL        vlistCopy

!                     vlistCopyFlag
!                                    (INTEGER         vlistID2,
!                                     INTEGER         vlistID1)
      EXTERNAL        vlistCopyFlag

!                     vlistClearFlag
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistClearFlag

!                     vlistCat
!                                    (INTEGER         vlistID2,
!                                     INTEGER         vlistID1)
      EXTERNAL        vlistCat

!                     vlistMerge
!                                    (INTEGER         vlistID2,
!                                     INTEGER         vlistID1)
      EXTERNAL        vlistMerge

!                     vlistPrint
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistPrint

Uwe Schulzweida's avatar
Uwe Schulzweida committed
728
729
730
731
      INTEGER         vlistNumber
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNumber

Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
      INTEGER         vlistNvars
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNvars

      INTEGER         vlistNgrids
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNgrids

      INTEGER         vlistNzaxis
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNzaxis

!                     vlistDefNtsteps
!                                    (INTEGER         vlistID,
!                                     INTEGER         nts)
      EXTERNAL        vlistDefNtsteps

      INTEGER         vlistNtsteps
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNtsteps

      INTEGER         vlistGridsizeMax
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistGridsizeMax

      INTEGER         vlistGrid
!                                    (INTEGER         vlistID,
!                                     INTEGER         index)
      EXTERNAL        vlistGrid

      INTEGER         vlistGridIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         gridID)
      EXTERNAL        vlistGridIndex

!                     vlistChangeGridIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         index,
!                                     INTEGER         gridID)
      EXTERNAL        vlistChangeGridIndex

!                     vlistChangeGrid
!                                    (INTEGER         vlistID,
!                                     INTEGER         gridID1,
!                                     INTEGER         gridID2)
      EXTERNAL        vlistChangeGrid

      INTEGER         vlistZaxis
!                                    (INTEGER         vlistID,
!                                     INTEGER         index)
      EXTERNAL        vlistZaxis

      INTEGER         vlistZaxisIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         zaxisID)
      EXTERNAL        vlistZaxisIndex

!                     vlistChangeZaxisIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         index,
!                                     INTEGER         zaxisID)
      EXTERNAL        vlistChangeZaxisIndex

!                     vlistChangeZaxis
!                                    (INTEGER         vlistID,
!                                     INTEGER         zaxisID1,
!                                     INTEGER         zaxisID2)
      EXTERNAL        vlistChangeZaxis

      INTEGER         vlistNrecs
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNrecs

!                     vlistDefTaxis
!                                    (INTEGER         vlistID,
!                                     INTEGER         taxisID)
      EXTERNAL        vlistDefTaxis

      INTEGER         vlistInqTaxis
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistInqTaxis

!                     vlistDefTable
!                                    (INTEGER         vlistID,
!                                     INTEGER         tableID)
      EXTERNAL        vlistDefTable

      INTEGER         vlistInqTable
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistInqTable

!                     vlistDefInstitut
!                                    (INTEGER         vlistID,
!                                     INTEGER         instID)
      EXTERNAL        vlistDefInstitut

      INTEGER         vlistInqInstitut
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistInqInstitut

!                     vlistDefModel
!                                    (INTEGER         vlistID,
!                                     INTEGER         modelID)
      EXTERNAL        vlistDefModel

      INTEGER         vlistInqModel
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistInqModel

!
!  VLIST VAR routines
!
      INTEGER         vlistDefVar
!                                    (INTEGER         vlistID,
!                                     INTEGER         gridID,
!                                     INTEGER         zaxisID,
848
!                                     INTEGER         tsteptype)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
849
850
      EXTERNAL        vlistDefVar

851
852
853
854
855
856
!                     vlistChangeVarGrid
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         gridID)
      EXTERNAL        vlistChangeVarGrid

Uwe Schulzweida's avatar
Uwe Schulzweida committed
857
858
859
860
861
862
863
864
865
866
867
!                     vlistChangeVarZaxis
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         zaxisID)
      EXTERNAL        vlistChangeVarZaxis

!                     vlistInqVar
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         gridID,
!                                     INTEGER         zaxisID,
868
!                                     INTEGER         tsteptype)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
869
870
871
872
873
874
875
876
877
878
879
880
      EXTERNAL        vlistInqVar

      INTEGER         vlistInqVarGrid
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarGrid

      INTEGER         vlistInqVarZaxis
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarZaxis

881
882
883
884
885
886
887
888
889
890
891
892
893
!
!  used in MPIOM
!
      INTEGER         vlistInqVarID
!                                    (INTEGER         vlistID,
!                                     INTEGER         code)
      EXTERNAL        vlistInqVarID

!                     vlistDefVarTsteptype
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         tsteptype)
      EXTERNAL        vlistDefVarTsteptype
Uwe Schulzweida's avatar
Uwe Schulzweida committed
894

895
896
897
898
899
      INTEGER         vlistInqVarTsteptype
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarTsteptype

Deike Kleberg's avatar
Deike Kleberg committed
900
!                     vlistDefVarCompType
Uwe Schulzweida's avatar
Uwe Schulzweida committed
901
902
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
Deike Kleberg's avatar
Deike Kleberg committed
903
904
!                                     INTEGER         comptype)
      EXTERNAL        vlistDefVarCompType
905

Deike Kleberg's avatar
Deike Kleberg committed
906
      INTEGER         vlistInqVarCompType
907
908
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
Deike Kleberg's avatar
Deike Kleberg committed
909
      EXTERNAL        vlistInqVarCompType
910

Deike Kleberg's avatar
Deike Kleberg committed
911
!                     vlistDefVarCompLevel
912
913
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
Deike Kleberg's avatar
Deike Kleberg committed
914
915
!                                     INTEGER         complevel)
      EXTERNAL        vlistDefVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
916

Deike Kleberg's avatar
Deike Kleberg committed
917
      INTEGER         vlistInqVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
918
919
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
Deike Kleberg's avatar
Deike Kleberg committed
920
      EXTERNAL        vlistInqVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
921

Uwe Schulzweida's avatar
Uwe Schulzweida committed
922
923
924
925
926
927
928
929
930
931
932
!                     vlistDefVarParam
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         param)
      EXTERNAL        vlistDefVarParam

      INTEGER         vlistInqVarParam
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarParam

Uwe Schulzweida's avatar
Uwe Schulzweida committed
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
!                     vlistDefVarCode
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         code)
      EXTERNAL        vlistDefVarCode

      INTEGER         vlistInqVarCode
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarCode

!                     vlistDefVarDatatype
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         datatype)
      EXTERNAL        vlistDefVarDatatype

      INTEGER         vlistInqVarDatatype
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarDatatype

955
956
957
958
959
960
961
962
963
964
965
!                     vlistDefVarChunkType
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         chunktype)
      EXTERNAL        vlistDefVarChunkType

      INTEGER         vlistInqVarChunkType
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarChunkType

966
967
968
969
970
971
972
973
974
975
976
!                     vlistDefVarXYZ
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         xyz)
      EXTERNAL        vlistDefVarXYZ

      INTEGER         vlistInqVarXYZ
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarXYZ

Uwe Schulzweida's avatar
Uwe Schulzweida committed
977
978
979
980
981
      INTEGER         vlistInqVarNumber
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarNumber

Uwe Schulzweida's avatar
Uwe Schulzweida committed
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
!                     vlistDefVarInstitut
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         instID)
      EXTERNAL        vlistDefVarInstitut

      INTEGER         vlistInqVarInstitut
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarInstitut

!                     vlistDefVarModel
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         modelID)
      EXTERNAL        vlistDefVarModel

      INTEGER         vlistInqVarModel
!                                    (INTEGER         vlistID,