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

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)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
46
47
      INTEGER    CDI_ELIMIT            
      PARAMETER (CDI_ELIMIT             = -99)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
48
49
50
51
52
!
!  File types
!
      INTEGER    FILETYPE_GRB          
      PARAMETER (FILETYPE_GRB           =  1)
53
54
      INTEGER    FILETYPE_GRB2         
      PARAMETER (FILETYPE_GRB2          =  2)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
55
56
57
58
      INTEGER    FILETYPE_NC           
      PARAMETER (FILETYPE_NC            =  3)
      INTEGER    FILETYPE_NC2          
      PARAMETER (FILETYPE_NC2           =  4)
59
60
      INTEGER    FILETYPE_NC4          
      PARAMETER (FILETYPE_NC4           =  5)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
61
62
      INTEGER    FILETYPE_NC4C         
      PARAMETER (FILETYPE_NC4C          =  6)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
63
      INTEGER    FILETYPE_SRV          
Uwe Schulzweida's avatar
Uwe Schulzweida committed
64
      PARAMETER (FILETYPE_SRV           =  7)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
65
      INTEGER    FILETYPE_EXT          
Uwe Schulzweida's avatar
Uwe Schulzweida committed
66
      PARAMETER (FILETYPE_EXT           =  8)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
67
      INTEGER    FILETYPE_IEG          
Uwe Schulzweida's avatar
Uwe Schulzweida committed
68
      PARAMETER (FILETYPE_IEG           =  9)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
69
!
70
71
!  Compress types
!
72
73
      INTEGER    COMPRESS_NONE         
      PARAMETER (COMPRESS_NONE          =  0)
74
75
76
77
      INTEGER    COMPRESS_SZIP         
      PARAMETER (COMPRESS_SZIP          =  1)
      INTEGER    COMPRESS_GZIP         
      PARAMETER (COMPRESS_GZIP          =  2)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
78
79
      INTEGER    COMPRESS_BZIP2        
      PARAMETER (COMPRESS_BZIP2         =  3)
80
81
      INTEGER    COMPRESS_ZIP          
      PARAMETER (COMPRESS_ZIP           =  4)
82
83
      INTEGER    COMPRESS_JPEG         
      PARAMETER (COMPRESS_JPEG          =  5)
84
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
85
!  external data types
Uwe Schulzweida's avatar
Uwe Schulzweida committed
86
87
88
89
90
91
92
93
94
!
      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)
95
96
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
      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
153
154
155
156
      INTEGER    DATATYPE_CPX32        
      PARAMETER (DATATYPE_CPX32         = 64)
      INTEGER    DATATYPE_CPX64        
      PARAMETER (DATATYPE_CPX64         = 128)
157
158
159
160
161
162
163
164
165
166
      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)
167
168
169
170
171
172
      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
173
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
174
175
176
177
178
179
180
181
!  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
182
183
      INTEGER    DATATYPE_CPX          
      PARAMETER (DATATYPE_CPX           = 254)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
184
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
!  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)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
203
204
      INTEGER    GRID_UNSTRUCTURED     
      PARAMETER (GRID_UNSTRUCTURED      =  9)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
205
206
      INTEGER    GRID_CURVILINEAR      
      PARAMETER (GRID_CURVILINEAR       = 10)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
207
208
      INTEGER    GRID_LCC              
      PARAMETER (GRID_LCC               = 11)
209
210
      INTEGER    GRID_LCC2             
      PARAMETER (GRID_LCC2              = 12)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
211
      INTEGER    GRID_LAEA             
212
      PARAMETER (GRID_LAEA              = 13)
213
      INTEGER    GRID_SINUSOIDAL       
214
      PARAMETER (GRID_SINUSOIDAL        = 14)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
215
216
      INTEGER    GRID_REFERENCE        
      PARAMETER (GRID_REFERENCE         = 15)
217
218
      INTEGER    GRID_PROJECTION       
      PARAMETER (GRID_PROJECTION        = 16)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
!
!  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
244
245
      INTEGER    ZAXIS_SIGMA           
      PARAMETER (ZAXIS_SIGMA            = 11)
246
247
      INTEGER    ZAXIS_MEANSEA         
      PARAMETER (ZAXIS_MEANSEA          = 12)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
248
249
250
251
252
253
      INTEGER    ZAXIS_TOA             
      PARAMETER (ZAXIS_TOA              = 13)
      INTEGER    ZAXIS_SEA_BOTTOM      
      PARAMETER (ZAXIS_SEA_BOTTOM       = 14)
      INTEGER    ZAXIS_ATMOSPHERE      
      PARAMETER (ZAXIS_ATMOSPHERE       = 15)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
254
255
      INTEGER    ZAXIS_REFERENCE       
      PARAMETER (ZAXIS_REFERENCE        = 16)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
!
!  TAXIS types
!
      INTEGER    TAXIS_ABSOLUTE        
      PARAMETER (TAXIS_ABSOLUTE         =  1)
      INTEGER    TAXIS_RELATIVE        
      PARAMETER (TAXIS_RELATIVE         =  2)
!
!  TIME types
!
      INTEGER    TIME_CONSTANT         
      PARAMETER (TIME_CONSTANT          =  1)
      INTEGER    TIME_VARIABLE         
      PARAMETER (TIME_VARIABLE          =  2)
!
!  TUNIT types
!
      INTEGER    TUNIT_SECOND          
      PARAMETER (TUNIT_SECOND           =  1)
      INTEGER    TUNIT_MINUTE          
      PARAMETER (TUNIT_MINUTE           =  2)
      INTEGER    TUNIT_HOUR            
      PARAMETER (TUNIT_HOUR             =  3)
      INTEGER    TUNIT_DAY             
      PARAMETER (TUNIT_DAY              =  4)
      INTEGER    TUNIT_MONTH           
      PARAMETER (TUNIT_MONTH            =  5)
      INTEGER    TUNIT_YEAR            
      PARAMETER (TUNIT_YEAR             =  6)
285
286
      INTEGER    TUNIT_QUARTER         
      PARAMETER (TUNIT_QUARTER          =  7)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
287
288
289
290
291
292
      INTEGER    TUNIT_3HOURS          
      PARAMETER (TUNIT_3HOURS           =  8)
      INTEGER    TUNIT_6HOURS          
      PARAMETER (TUNIT_6HOURS           =  9)
      INTEGER    TUNIT_12HOURS         
      PARAMETER (TUNIT_12HOURS          = 10)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
293
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
!  TSTEP types
!
      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_RANGE           
      PARAMETER (TSTEP_RANGE            =  7)
      INTEGER    TSTEP_INSTANT2        
      PARAMETER (TSTEP_INSTANT2         =  8)
      INTEGER    TSTEP_INSTANT3        
      PARAMETER (TSTEP_INSTANT3         =  9)
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
315
316
317
318
!  CALENDAR types
!
      INTEGER    CALENDAR_STANDARD     
      PARAMETER (CALENDAR_STANDARD      =  0)
319
320
      INTEGER    CALENDAR_PROLEPTIC    
      PARAMETER (CALENDAR_PROLEPTIC     =  1)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
321
322
323
324
325
326
      INTEGER    CALENDAR_360DAYS      
      PARAMETER (CALENDAR_360DAYS       =  2)
      INTEGER    CALENDAR_365DAYS      
      PARAMETER (CALENDAR_365DAYS       =  3)
      INTEGER    CALENDAR_366DAYS      
      PARAMETER (CALENDAR_366DAYS       =  4)
327
328
      INTEGER    CALENDAR_NONE         
      PARAMETER (CALENDAR_NONE          =  5)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
329
330
331
!
!  CDI control routines
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
332
333
334
335
      CHARACTER*80    cdiStringError
!                                    (INTEGER         cdiErrno)
      EXTERNAL        cdiStringError

Uwe Schulzweida's avatar
Uwe Schulzweida committed
336
337
338
339
!                     cdiDebug
!                                    (INTEGER         debug)
      EXTERNAL        cdiDebug

Uwe Schulzweida's avatar
Uwe Schulzweida committed
340
341
342
      CHARACTER*80    cdiLibraryVersion
      EXTERNAL        cdiLibraryVersion

Uwe Schulzweida's avatar
Uwe Schulzweida committed
343
344
345
346
347
348
349
350
351
352
!                     cdiPrintVersion
      EXTERNAL        cdiPrintVersion

!                     cdiDefMissval
!                                    (DOUBLEPRECISION missval)
      EXTERNAL        cdiDefMissval

      DOUBLEPRECISION cdiInqMissval
      EXTERNAL        cdiInqMissval

353
!                     cdiDefGlobal
Uwe Schulzweida's avatar
Uwe Schulzweida committed
354
355
356
357
!                                    (CHARACTER*(*)   string,
!                                     INTEGER         val)
      EXTERNAL        cdiDefGlobal

Uwe Schulzweida's avatar
Uwe Schulzweida committed
358
359
360
!
!  CDI converter routines
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
361
362
363
364
365
366
367
368
369
!
!  parameter
!
!                     cdiParamToString
!                                    (INTEGER         param,
!                                     CHARACTER*(*)   paramstr,
!                                     INTEGER         maxlen)
      EXTERNAL        cdiParamToString

Uwe Schulzweida's avatar
Uwe Schulzweida committed
370
371
!                     cdiDecodeParam
!                                    (INTEGER         param,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
372
373
374
!                                     INTEGER         pnum,
!                                     INTEGER         pcat,
!                                     INTEGER         pdis)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
375
376
377
      EXTERNAL        cdiDecodeParam

      INTEGER         cdiEncodeParam
Uwe Schulzweida's avatar
Uwe Schulzweida committed
378
379
380
!                                    (INTEGER         pnum,
!                                     INTEGER         pcat,
!                                     INTEGER         pdis)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
      EXTERNAL        cdiEncodeParam

!                     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
409
410
411
412
!
!  STREAM control routines
!
      INTEGER         streamOpenRead
413
!                                    (CHARACTER*(*)   path)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
414
415
416
      EXTERNAL        streamOpenRead

      INTEGER         streamOpenWrite
417
!                                    (CHARACTER*(*)   path,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
418
419
420
421
!                                     INTEGER         filetype)
      EXTERNAL        streamOpenWrite

      INTEGER         streamOpenAppend
422
!                                    (CHARACTER*(*)   path)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
423
424
425
426
427
428
      EXTERNAL        streamOpenAppend

!                     streamClose
!                                    (INTEGER         streamID)
      EXTERNAL        streamClose

Uwe Schulzweida's avatar
Uwe Schulzweida committed
429
430
431
432
!                     streamSync
!                                    (INTEGER         streamID)
      EXTERNAL        streamSync

Uwe Schulzweida's avatar
Uwe Schulzweida committed
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
!                     streamDefVlist
!                                    (INTEGER         streamID,
!                                     INTEGER         vlistID)
      EXTERNAL        streamDefVlist

      INTEGER         streamInqVlist
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqVlist

      INTEGER         streamInqFiletype
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqFiletype

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

      INTEGER         streamInqByteorder
!                                    (INTEGER         streamID)
      EXTERNAL        streamInqByteorder

455
!                     streamDefCompType
456
!                                    (INTEGER         streamID,
457
458
!                                     INTEGER         comptype)
      EXTERNAL        streamDefCompType
459

460
!                     streamDefCompLevel
461
!                                    (INTEGER         streamID,
462
463
!                                     INTEGER         complevel)
      EXTERNAL        streamDefCompLevel
464

465
      INTEGER         streamInqCompType
466
!                                    (INTEGER         streamID)
467
      EXTERNAL        streamInqCompType
468

469
      INTEGER         streamInqCompLevel
470
!                                    (INTEGER         streamID)
471
      EXTERNAL        streamInqCompLevel
472

Uwe Schulzweida's avatar
Uwe Schulzweida committed
473
474
475
476
477
478
479
480
481
482
      INTEGER         streamDefTimestep
!                                    (INTEGER         streamID,
!                                     INTEGER         tsID)
      EXTERNAL        streamDefTimestep

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

483
484
485
486
487
488
489
490
      CHARACTER*80    streamFilename
!                                    (INTEGER         streamID)
      EXTERNAL        streamFilename

      CHARACTER*80    streamFilesuffix
!                                    (INTEGER         filetype)
      EXTERNAL        streamFilesuffix

Uwe Schulzweida's avatar
Uwe Schulzweida committed
491
492
493
494
495
496
497
498
499
500
      INTEGER         streamNtsteps
!                                    (INTEGER         streamID)
      EXTERNAL        streamNtsteps

!
!  STREAM var I/O routines
!
!                     streamReadVar
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
501
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
502
503
504
505
506
507
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadVar

!                     streamWriteVar
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
508
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
509
510
511
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVar

Uwe Schulzweida's avatar
Uwe Schulzweida committed
512
513
514
515
516
517
518
519
520
521
522
523
524
525
!                     streamWriteVarDouble
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarDouble

!                     streamWriteVarFloat
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarFloat

Uwe Schulzweida's avatar
Uwe Schulzweida committed
526
527
528
529
!                     streamReadVarSlice
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
530
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
531
532
533
534
535
536
537
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadVarSlice

!                     streamWriteVarSlice
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
538
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
539
540
541
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarSlice

Uwe Schulzweida's avatar
Uwe Schulzweida committed
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
!                     streamWriteVarSliceDouble
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteVarSliceDouble

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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
!
!  STREAM record I/O routines
!
!                     streamInqRecord
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID)
      EXTERNAL        streamInqRecord

!                     streamDefRecord
!                                    (INTEGER         streamID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID)
      EXTERNAL        streamDefRecord

!                     streamReadRecord
!                                    (INTEGER         streamID,
575
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
576
577
578
579
580
!                                     INTEGER         nmiss)
      EXTERNAL        streamReadRecord

!                     streamWriteRecord
!                                    (INTEGER         streamID,
581
!                                     DOUBLEPRECISION data_vec,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
582
583
584
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteRecord

Uwe Schulzweida's avatar
Uwe Schulzweida committed
585
586
587
588
589
590
591
592
593
594
595
596
!                     streamWriteRecordDouble
!                                    (INTEGER         streamID,
!                                     DOUBLEPRECISION data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteRecordDouble

!                     streamWriteRecordFloat
!                                    (INTEGER         streamID,
!                                     REAL            data_vec,
!                                     INTEGER         nmiss)
      EXTERNAL        streamWriteRecordFloat

Uwe Schulzweida's avatar
Uwe Schulzweida committed
597
598
599
600
601
!                     streamCopyRecord
!                                    (INTEGER         streamIDdest,
!                                     INTEGER         streamIDsrc)
      EXTERNAL        streamCopyRecord

Uwe Schulzweida's avatar
Uwe Schulzweida committed
602
603
604
605
606
607
!                     streamInqGinfo
!                                    (INTEGER         streamID,
!                                     INTEGER         intnum,
!                                     REAL            fltnum)
      EXTERNAL        streamInqGinfo

Uwe Schulzweida's avatar
Uwe Schulzweida committed
608
609
610
!
!  VLIST routines
!
611
612
      INTEGER         vlistCreate
      EXTERNAL        vlistCreate
Uwe Schulzweida's avatar
Uwe Schulzweida committed
613

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

      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
650
651
652
653
      INTEGER         vlistNumber
!                                    (INTEGER         vlistID)
      EXTERNAL        vlistNumber

Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
      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,
!                                     INTEGER         timeID)
      EXTERNAL        vlistDefVar

773
774
775
776
777
778
!                     vlistChangeVarGrid
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         gridID)
      EXTERNAL        vlistChangeVarGrid

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

!                     vlistInqVar
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         gridID,
!                                     INTEGER         zaxisID,
!                                     INTEGER         timeID)
      EXTERNAL        vlistInqVar

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

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

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

808
!                     vlistDefVarCompType
Uwe Schulzweida's avatar
Uwe Schulzweida committed
809
810
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
811
812
!                                     INTEGER         comptype)
      EXTERNAL        vlistDefVarCompType
813

814
      INTEGER         vlistInqVarCompType
815
816
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
817
      EXTERNAL        vlistInqVarCompType
818

819
!                     vlistDefVarCompLevel
820
821
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
822
823
!                                     INTEGER         complevel)
      EXTERNAL        vlistDefVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
824

825
      INTEGER         vlistInqVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
826
827
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
828
      EXTERNAL        vlistInqVarCompLevel
Uwe Schulzweida's avatar
Uwe Schulzweida committed
829

Uwe Schulzweida's avatar
Uwe Schulzweida committed
830
831
832
833
834
835
836
837
838
839
840
!                     vlistDefVarParam
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         param)
      EXTERNAL        vlistDefVarParam

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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
!                     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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
863
864
865
866
867
868
869
870
871
872
873
!                     vlistDefVarXYZ
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         xyz)
      EXTERNAL        vlistDefVarXYZ

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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
874
875
876
877
878
      INTEGER         vlistInqVarNumber
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarNumber

Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
!                     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,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarModel

!                     vlistDefVarTable
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         tableID)
      EXTERNAL        vlistDefVarTable

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

!                     vlistDefVarName
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name)
      EXTERNAL        vlistDefVarName

!                     vlistInqVarName
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name)
      EXTERNAL        vlistInqVarName

924
!                     vlistDefVarStdname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
925
926
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
927
928
!                                     CHARACTER*(*)   stdname)
      EXTERNAL        vlistDefVarStdname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
929

930
!                     vlistInqVarStdname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
931
932
933
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   stdname)
934
      EXTERNAL        vlistInqVarStdname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
935

936
!                     vlistDefVarLongname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
937
938
939
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   longname)
940
      EXTERNAL        vlistDefVarLongname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
941

942
!                     vlistInqVarLongname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
943
944
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
945
946
!                                     CHARACTER*(*)   longname)
      EXTERNAL        vlistInqVarLongname
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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

!                     vlistDefVarUnits
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   units)
      EXTERNAL        vlistDefVarUnits

!                     vlistInqVarUnits
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   units)
      EXTERNAL        vlistInqVarUnits

!                     vlistDefVarMissval
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     DOUBLEPRECISION missval)
      EXTERNAL        vlistDefVarMissval

      DOUBLEPRECISION vlistInqVarMissval
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarMissval

!                     vlistDefVarScalefactor
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     DOUBLEPRECISION scalefactor)
      EXTERNAL        vlistDefVarScalefactor

      DOUBLEPRECISION vlistInqVarScalefactor
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarScalefactor

!                     vlistDefVarAddoffset
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     DOUBLEPRECISION addoffset)
      EXTERNAL        vlistDefVarAddoffset

      DOUBLEPRECISION vlistInqVarAddoffset
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistInqVarAddoffset

Uwe Schulzweida's avatar
Uwe Schulzweida committed
993
994
995
996
997
998
999
1000
1001
1002
1003
!                     vlistDefVarTsteptype
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         tsteptype)
      EXTERNAL        vlistDefVarTsteptype

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

1004
!                     vlistDefVarTimave
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1005
1006
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
1007
1008
!                                     INTEGER         timave)
      EXTERNAL        vlistDefVarTimave
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1009

1010
      INTEGER         vlistInqVarTimave
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1011
1012
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
      EXTERNAL        vlistInqVarTimave

!                     vlistDefVarTimaccu
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         timaccu)
      EXTERNAL        vlistDefVarTimaccu

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

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

!                     vlistDefIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         levID,
!                                     INTEGER         index)
      EXTERNAL        vlistDefIndex

      INTEGER         vlistInqIndex
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         levID)
      EXTERNAL        vlistInqIndex

!                     vlistDefFlag
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         levID,
!                                     INTEGER         flag)
      EXTERNAL        vlistDefFlag

      INTEGER         vlistInqFlag
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         levID)
      EXTERNAL        vlistInqFlag

      INTEGER         vlistFindVar
!                                    (INTEGER         vlistID,
!                                     INTEGER         fvarID)
      EXTERNAL        vlistFindVar

      INTEGER         vlistFindLevel
!                                    (INTEGER         vlistID,
!                                     INTEGER         fvarID,
!                                     INTEGER         flevelID)
      EXTERNAL        vlistFindLevel

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
      INTEGER         vlistMergedVar
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID)
      EXTERNAL        vlistMergedVar

      INTEGER         vlistMergedLevel
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         levelID)
      EXTERNAL        vlistMergedLevel

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1079
1080
1081
1082
1083
1084
1085
1086
1087
!
!  VLIST attributes
!
      INTEGER         vlistInqNatts
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         nattsp)
      EXTERNAL        vlistInqNatts

1088
      INTEGER         vlistInqAtt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1089
1090
1091
1092
1093
1094
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     INTEGER         attrnum,
!                                     CHARACTER*(*)   name,
!                                     INTEGER         typep,
!                                     INTEGER         lenp)
1095
      EXTERNAL        vlistInqAtt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1096

1097
      INTEGER         vlistDelAtt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1098
1099
1100
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name)
1101
      EXTERNAL        vlistDelAtt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1102

1103
      INTEGER         vlistDefAttInt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1104
1105
1106
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
1107
!                                     INTEGER         type,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1108
!                                     INTEGER         len,
1109
!                                     INTEGER         ip_vec)
1110
      EXTERNAL        vlistDefAttInt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1111

1112
      INTEGER         vlistDefAttFlt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1113
1114
1115
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
1116
!                                     INTEGER         type,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1117
!                                     INTEGER         len,
1118
!                                     DOUBLEPRECISION dp_vec)
1119
      EXTERNAL        vlistDefAttFlt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1120

1121
      INTEGER         vlistDefAttTxt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1122
1123
1124
1125
1126
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
!                                     INTEGER         len,
!                                     CHARACTER*(*)   tp)
1127
      EXTERNAL        vlistDefAttTxt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1128

1129
      INTEGER         vlistInqAttInt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1130
1131
1132
1133
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
!                                     INTEGER         mlen,
1134
!                                     INTEGER         ip_vec)
1135
      EXTERNAL        vlistInqAttInt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1136

1137
      INTEGER         vlistInqAttFlt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1138
1139
1140
1141
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
!                                     INTEGER         mlen,
1142
!                                     DOUBLEPRECISION dp_vec)
1143
      EXTERNAL        vlistInqAttFlt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1144

1145
      INTEGER         vlistInqAttTxt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1146
1147
1148
1149
1150
!                                    (INTEGER         vlistID,
!                                     INTEGER         varID,
!                                     CHARACTER*(*)   name,
!                                     INTEGER         mlen,
!                                     CHARACTER*(*)   tp)
1151
      EXTERNAL        vlistInqAttTxt
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1152

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1153
1154
1155
1156
1157
1158
1159
1160
!
!  GRID routines
!
!                     gridName
!                                    (INTEGER         gridtype,
!                                     CHARACTER*(*)   gridname)
      EXTERNAL        gridName

1161
1162
1163
1164
      CHARACTER*80    gridNamePtr
!                                    (INTEGER         gridtype)
      EXTERNAL        gridNamePtr

1165
!                     gridCompress
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1166
!                                    (INTEGER         gridID)
1167
      EXTERNAL        gridCompress
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1168

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1169
!                     gridDefMaskGME
1170
!                                    (INTEGER         gridID,
1171
!                                     INTEGER         mask_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1172
      EXTERNAL        gridDefMaskGME
1173

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1174
      INTEGER         gridInqMaskGME
1175
!                                    (INTEGER         gridID,
1176
!                                     INTEGER         mask_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1177
      EXTERNAL        gridInqMaskGME
1178

1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
!                     gridDefMask
!                                    (INTEGER         gridID,
!                                     INTEGER         mask_vec)
      EXTERNAL        gridDefMask

      INTEGER         gridInqMask
!                                    (INTEGER         gridID,
!                                     INTEGER         mask_vec)
      EXTERNAL        gridInqMask

1189
!                     gridPrint
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1190
1191
!                                    (INTEGER         gridID,
!                                     INTEGER         opt)
1192
1193
1194
1195
1196
1197
1198
1199
1200
      EXTERNAL        gridPrint

      INTEGER         gridSize
      EXTERNAL        gridSize

      INTEGER         gridCreate
!                                    (INTEGER         gridtype,
!                                     INTEGER         size)
      EXTERNAL        gridCreate
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1201

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1202
1203
1204
1205
!                     gridDestroy
!                                    (INTEGER         gridID)
      EXTERNAL        gridDestroy

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1206
1207
1208
1209
      INTEGER         gridDuplicate
!                                    (INTEGER         gridID)
      EXTERNAL        gridDuplicate

1210
      INTEGER         gridInqType
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1211
!                                    (INTEGER         gridID)
1212
      EXTERNAL        gridInqType
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1213

1214
      INTEGER         gridInqSize
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1215
!                                    (INTEGER         gridID)
1216
      EXTERNAL        gridInqSize
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235

!                     gridDefXsize
!                                    (INTEGER         gridID,
!                                     INTEGER         xsize)
      EXTERNAL        gridDefXsize

      INTEGER         gridInqXsize
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqXsize

!                     gridDefYsize
!                                    (INTEGER         gridID,
!                                     INTEGER         ysize)
      EXTERNAL        gridDefYsize

      INTEGER         gridInqYsize
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqYsize

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1236
1237
1238
1239
1240
1241
1242
1243
1244
!                     gridDefNP
!                                    (INTEGER         gridID,
!                                     INTEGER         np)
      EXTERNAL        gridDefNP

      INTEGER         gridInqNP
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqNP

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1245
1246
!                     gridDefXvals
!                                    (INTEGER         gridID,
1247
!                                     DOUBLEPRECISION xvals_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1248
1249
1250
1251
      EXTERNAL        gridDefXvals

      INTEGER         gridInqXvals
!                                    (INTEGER         gridID,
1252
!                                     DOUBLEPRECISION xvals_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1253
1254
1255
1256
      EXTERNAL        gridInqXvals

!                     gridDefYvals
!                                    (INTEGER         gridID,
1257
!                                     DOUBLEPRECISION yvals_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1258
1259
1260
1261
      EXTERNAL        gridDefYvals

      INTEGER         gridInqYvals
!                                    (INTEGER         gridID,
1262
!                                     DOUBLEPRECISION yvals_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
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
      EXTERNAL        gridInqYvals

!                     gridDefXname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xname)
      EXTERNAL        gridDefXname

!                     gridDefXlongname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xlongname)
      EXTERNAL        gridDefXlongname

!                     gridDefXunits
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xunits)
      EXTERNAL        gridDefXunits

!                     gridDefYname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   yname)
      EXTERNAL        gridDefYname

!                     gridDefYlongname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   ylongname)
      EXTERNAL        gridDefYlongname

!                     gridDefYunits
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   yunits)
      EXTERNAL        gridDefYunits

!                     gridInqXname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xname)
      EXTERNAL        gridInqXname

!                     gridInqXlongname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xlongname)
      EXTERNAL        gridInqXlongname

!                     gridInqXstdname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xstdname)
      EXTERNAL        gridInqXstdname

!                     gridInqXunits
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   xunits)
      EXTERNAL        gridInqXunits

!                     gridInqYname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   yname)
      EXTERNAL        gridInqYname

!                     gridInqYlongname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   ylongname)
      EXTERNAL        gridInqYlongname

!                     gridInqYstdname
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   ystdname)
      EXTERNAL        gridInqYstdname

!                     gridInqYunits
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   yunits)
      EXTERNAL        gridInqYunits

!                     gridDefPrec
!                                    (INTEGER         gridID,
!                                     INTEGER         prec)
      EXTERNAL        gridDefPrec

      INTEGER         gridInqPrec
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqPrec

      DOUBLEPRECISION gridInqXval
!                                    (INTEGER         gridID,
!                                     INTEGER         index)
      EXTERNAL        gridInqXval

      DOUBLEPRECISION gridInqYval
!                                    (INTEGER         gridID,
!                                     INTEGER         index)
      EXTERNAL        gridInqYval

      DOUBLEPRECISION gridInqXinc
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqXinc

      DOUBLEPRECISION gridInqYinc
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqYinc

1362
      INTEGER         gridIsCircular
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1363
!                                    (INTEGER         gridID)
1364
      EXTERNAL        gridIsCircular
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1365

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

      DOUBLEPRECISION gridInqXpole
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqXpole

!                     gridDefXpole
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION xpole)
      EXTERNAL        gridDefXpole

      DOUBLEPRECISION gridInqYpole
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqYpole

!                     gridDefYpole
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION ypole)
      EXTERNAL        gridDefYpole

      DOUBLEPRECISION gridInqAngle
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqAngle

!                     gridDefAngle
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION angle)
      EXTERNAL        gridDefAngle

!                     gridDefTrunc
!                                    (INTEGER         gridID,
!                                     INTEGER         trunc)
      EXTERNAL        gridDefTrunc

      INTEGER         gridInqTrunc
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqTrunc

!
!  Hexagonal GME grid
!
      INTEGER         gridInqGMEnd
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqGMEnd

!                     gridDefGMEnd
!                                    (INTEGER         gridID,
!                                     INTEGER         nd)
      EXTERNAL        gridDefGMEnd

      INTEGER         gridInqGMEni
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqGMEni

!                     gridDefGMEni
!                                    (INTEGER         gridID,
!                                     INTEGER         ni)
      EXTERNAL        gridDefGMEni

      INTEGER         gridInqGMEni2
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqGMEni2

!                     gridDefGMEni2
!                                    (INTEGER         gridID,
!                                     INTEGER         ni2)
      EXTERNAL        gridDefGMEni2

      INTEGER         gridInqGMEni3
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqGMEni3

!                     gridDefGMEni3
!                                    (INTEGER         gridID,
!                                     INTEGER         ni3)
      EXTERNAL        gridDefGMEni3

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1445
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1446
!  Reference grid
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
!
      INTEGER         gridInqNumber
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqNumber

!                     gridDefNumber
!                                    (INTEGER         gridID,
!                                     INTEGER         number)
      EXTERNAL        gridDefNumber

      INTEGER         gridInqPosition
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqPosition

!                     gridDefPosition
!                                    (INTEGER         gridID,
!                                     INTEGER         position)
      EXTERNAL        gridDefPosition

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
      INTEGER         gridInqReference
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   reference)
      EXTERNAL        gridInqReference

!                     gridDefReference
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   reference)
      EXTERNAL        gridDefReference

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
      CHARACTER*80    gridInqUUID
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   uuid)
      EXTERNAL        gridInqUUID

!                     gridDefUUID
!                                    (INTEGER         gridID,
!                                     CHARACTER*(*)   uuid)
      EXTERNAL        gridDefUUID

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1486
!
1487
!  Lambert Conformal Conic grid (GRIB version)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1488
!
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1489
!                     gridDefLCC
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1490
1491
1492
1493
1494
1495
1496
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION originLon,
!                                     DOUBLEPRECISION originLat,
!                                     DOUBLEPRECISION lonParY,
!                                     DOUBLEPRECISION lat1,
!                                     DOUBLEPRECISION lat2,
!                                     DOUBLEPRECISION xinc,
1497
1498
1499
!                                     DOUBLEPRECISION yinc,
!                                     INTEGER         projflag,
!                                     INTEGER         scanflag)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1500
      EXTERNAL        gridDefLCC
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1501

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1502
!                     gridInqLCC
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1503
1504
1505
1506
1507
1508
1509
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION originLon,
!                                     DOUBLEPRECISION originLat,
!                                     DOUBLEPRECISION lonParY,
!                                     DOUBLEPRECISION lat1,
!                                     DOUBLEPRECISION lat2,
!                                     DOUBLEPRECISION xinc,
1510
1511
1512
!                                     DOUBLEPRECISION yinc,
!                                     INTEGER         projflag,
!                                     INTEGER         scanflag)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1513
      EXTERNAL        gridInqLCC
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1514

1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
!
!  Lambert Conformal Conic 2 grid (PROJ version)
!
!                     gridDefLcc2
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION earth_radius,
!                                     DOUBLEPRECISION lon_0,
!                                     DOUBLEPRECISION lat_0,
!                                     DOUBLEPRECISION lat_1,
!                                     DOUBLEPRECISION lat_2)
      EXTERNAL        gridDefLcc2

!                     gridInqLcc2
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION earth_radius,
!                                     DOUBLEPRECISION lon_0,
!                                     DOUBLEPRECISION lat_0,
!                                     DOUBLEPRECISION lat_1,
!                                     DOUBLEPRECISION lat_2)
      EXTERNAL        gridInqLcc2

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
!
!  Lambert Azimuthal Equal Area grid
!
!                     gridDefLaea
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION earth_radius,
!                                     DOUBLEPRECISION lon_0,
!                                     DOUBLEPRECISION lat_0)
      EXTERNAL        gridDefLaea

!                     gridInqLaea
!                                    (INTEGER         gridID,
!                                     DOUBLEPRECISION earth_radius,
!                                     DOUBLEPRECISION lon_0,
!                                     DOUBLEPRECISION lat_0)
      EXTERNAL        gridInqLaea

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1553
1554
!                     gridDefArea
!                                    (INTEGER         gridID,
1555
!                                     DOUBLEPRECISION area_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1556
1557
1558
1559
      EXTERNAL        gridDefArea

!                     gridInqArea
!                                    (INTEGER         gridID,
1560
!                                     DOUBLEPRECISION area_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
      EXTERNAL        gridInqArea

      INTEGER         gridHasArea
!                                    (INTEGER         gridID)
      EXTERNAL        gridHasArea

!                     gridDefNvertex
!                                    (INTEGER         gridID,
!                                     INTEGER         nvertex)
      EXTERNAL        gridDefNvertex

      INTEGER         gridInqNvertex
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqNvertex

!                     gridDefXbounds
!                                    (INTEGER         gridID,
1578
!                                     DOUBLEPRECISION xbounds_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1579
1580
1581
1582
      EXTERNAL        gridDefXbounds

      INTEGER         gridInqXbounds
!                                    (INTEGER         gridID,
1583
!                                     DOUBLEPRECISION xbounds_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1584
1585
1586
1587
      EXTERNAL        gridInqXbounds

!                     gridDefYbounds
!                                    (INTEGER         gridID,
1588
!                                     DOUBLEPRECISION ybounds_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1589
1590
1591
1592
      EXTERNAL        gridDefYbounds

      INTEGER         gridInqYbounds
!                                    (INTEGER         gridID,
1593
!                                     DOUBLEPRECISION ybounds_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1594
1595
1596
1597
1598
      EXTERNAL        gridInqYbounds

!                     gridDefRowlon
!                                    (INTEGER         gridID,
!                                     INTEGER         nrowlon,
1599
!                                     INTEGER         rowlon_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1600
1601
1602
1603
      EXTERNAL        gridDefRowlon

!                     gridInqRowlon
!                                    (INTEGER         gridID,
1604
!                                     INTEGER         rowlon_vec)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1605
1606
1607
1608
1609
1610
1611
      EXTERNAL        gridInqRowlon

!                     gridChangeType
!                                    (INTEGER         gridID,
!                                     INTEGER         gridtype)
      EXTERNAL        gridChangeType

1612
1613
1614
1615
1616
1617
1618
1619
1620
!                     gridDefComplexPacking
!                                    (INTEGER         gridID,
!                                     INTEGER         lpack)
      EXTERNAL        gridDefComplexPacking

      INTEGER         gridInqComplexPacking
!                                    (INTEGER         gridID)
      EXTERNAL        gridInqComplexPacking

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1621
1622
1623
1624
1625
!
!  ZAXIS routines
!
!                     zaxisName
!                                    (INTEGER         zaxistype,
1626
!                                     CHARACTER*(*)   zaxisname)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1627
1628
      EXTERNAL        zaxisName

1629
      INTEGER         zaxisCreate
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1630
!                                    (INTEGER         zaxistype,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1631
!                                     INTEGER         size)
1632
      EXTERNAL        zaxisCreate
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1633

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1634
1635
1636
1637
!                     zaxisDestroy
!                                    (INTEGER         zaxisID)
      EXTERNAL        zaxisDestroy

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

      INTEGER         zaxisInqSize
!                                    (INTEGER         zaxisID)
      EXTERNAL        zaxisInqSize

      INTEGER         zaxisDuplicate
!                                    (INTEGER         zaxisID)
      EXTERNAL        zaxisDuplicate

!                     zaxisResize
!                                    (INTEGER         zaxisID,
!                                     INTEGER         size)
      EXTERNAL        zaxisResize

!                     zaxisPrint
!                                    (INTEGER         zaxisID)
      EXTERNAL        zaxisPrint

      INTEGER         zaxisSize
      EXTERNAL        zaxisSize

!                     zaxisDefLevels
!                                    (INTEGER         zaxisID,
1664
!                                     DOUBLEPRECISION levels_vec)