Changeset 966 for XIOS/trunk/src/interface/fortran_attr/iaxisgroup_attr.F90
- Timestamp:
- 10/10/16 16:01:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/iaxisgroup_attr.F90
r817 r966 38 38 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: value(:) 39 39 40 CALL xios(get_axisgroup_handle)(axisgroup_id,axisgroup_hdl) 40 CALL xios(get_axisgroup_handle) & 41 (axisgroup_id,axisgroup_hdl) 41 42 CALL xios(set_axisgroup_attr_hdl_) & 42 43 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, index, long_name & … … 105 106 106 107 IF (PRESENT(axis_ref_)) THEN 107 CALL cxios_set_axisgroup_axis_ref(axisgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 108 CALL cxios_set_axisgroup_axis_ref & 109 (axisgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 108 110 ENDIF 109 111 110 112 IF (PRESENT(begin_)) THEN 111 CALL cxios_set_axisgroup_begin(axisgroup_hdl%daddr, begin_) 113 CALL cxios_set_axisgroup_begin & 114 (axisgroup_hdl%daddr, begin_) 112 115 ENDIF 113 116 114 117 IF (PRESENT(bounds_)) THEN 115 CALL cxios_set_axisgroup_bounds(axisgroup_hdl%daddr, bounds_, SHAPE(bounds_)) 118 CALL cxios_set_axisgroup_bounds & 119 (axisgroup_hdl%daddr, bounds_, SHAPE(bounds_)) 116 120 ENDIF 117 121 118 122 IF (PRESENT(data_begin_)) THEN 119 CALL cxios_set_axisgroup_data_begin(axisgroup_hdl%daddr, data_begin_) 123 CALL cxios_set_axisgroup_data_begin & 124 (axisgroup_hdl%daddr, data_begin_) 120 125 ENDIF 121 126 122 127 IF (PRESENT(data_index_)) THEN 123 CALL cxios_set_axisgroup_data_index(axisgroup_hdl%daddr, data_index_, SHAPE(data_index_)) 128 CALL cxios_set_axisgroup_data_index & 129 (axisgroup_hdl%daddr, data_index_, SHAPE(data_index_)) 124 130 ENDIF 125 131 126 132 IF (PRESENT(data_n_)) THEN 127 CALL cxios_set_axisgroup_data_n(axisgroup_hdl%daddr, data_n_) 133 CALL cxios_set_axisgroup_data_n & 134 (axisgroup_hdl%daddr, data_n_) 128 135 ENDIF 129 136 130 137 IF (PRESENT(group_ref_)) THEN 131 CALL cxios_set_axisgroup_group_ref(axisgroup_hdl%daddr, group_ref_, len(group_ref_)) 138 CALL cxios_set_axisgroup_group_ref & 139 (axisgroup_hdl%daddr, group_ref_, len(group_ref_)) 132 140 ENDIF 133 141 134 142 IF (PRESENT(index_)) THEN 135 CALL cxios_set_axisgroup_index(axisgroup_hdl%daddr, index_, SHAPE(index_)) 143 CALL cxios_set_axisgroup_index & 144 (axisgroup_hdl%daddr, index_, SHAPE(index_)) 136 145 ENDIF 137 146 138 147 IF (PRESENT(long_name_)) THEN 139 CALL cxios_set_axisgroup_long_name(axisgroup_hdl%daddr, long_name_, len(long_name_)) 148 CALL cxios_set_axisgroup_long_name & 149 (axisgroup_hdl%daddr, long_name_, len(long_name_)) 140 150 ENDIF 141 151 … … 143 153 ALLOCATE(mask__tmp(SIZE(mask_,1))) 144 154 mask__tmp = mask_ 145 CALL cxios_set_axisgroup_mask(axisgroup_hdl%daddr, mask__tmp, SHAPE(mask_)) 155 CALL cxios_set_axisgroup_mask & 156 (axisgroup_hdl%daddr, mask__tmp, SHAPE(mask_)) 146 157 ENDIF 147 158 148 159 IF (PRESENT(n_)) THEN 149 CALL cxios_set_axisgroup_n(axisgroup_hdl%daddr, n_) 160 CALL cxios_set_axisgroup_n & 161 (axisgroup_hdl%daddr, n_) 150 162 ENDIF 151 163 152 164 IF (PRESENT(n_distributed_partition_)) THEN 153 CALL cxios_set_axisgroup_n_distributed_partition(axisgroup_hdl%daddr, n_distributed_partition_) 165 CALL cxios_set_axisgroup_n_distributed_partition & 166 (axisgroup_hdl%daddr, n_distributed_partition_) 154 167 ENDIF 155 168 156 169 IF (PRESENT(n_glo_)) THEN 157 CALL cxios_set_axisgroup_n_glo(axisgroup_hdl%daddr, n_glo_) 170 CALL cxios_set_axisgroup_n_glo & 171 (axisgroup_hdl%daddr, n_glo_) 158 172 ENDIF 159 173 160 174 IF (PRESENT(name_)) THEN 161 CALL cxios_set_axisgroup_name(axisgroup_hdl%daddr, name_, len(name_)) 175 CALL cxios_set_axisgroup_name & 176 (axisgroup_hdl%daddr, name_, len(name_)) 162 177 ENDIF 163 178 164 179 IF (PRESENT(positive_)) THEN 165 CALL cxios_set_axisgroup_positive(axisgroup_hdl%daddr, positive_, len(positive_)) 180 CALL cxios_set_axisgroup_positive & 181 (axisgroup_hdl%daddr, positive_, len(positive_)) 166 182 ENDIF 167 183 168 184 IF (PRESENT(standard_name_)) THEN 169 CALL cxios_set_axisgroup_standard_name(axisgroup_hdl%daddr, standard_name_, len(standard_name_)) 185 CALL cxios_set_axisgroup_standard_name & 186 (axisgroup_hdl%daddr, standard_name_, len(standard_name_)) 170 187 ENDIF 171 188 172 189 IF (PRESENT(unit_)) THEN 173 CALL cxios_set_axisgroup_unit(axisgroup_hdl%daddr, unit_, len(unit_)) 190 CALL cxios_set_axisgroup_unit & 191 (axisgroup_hdl%daddr, unit_, len(unit_)) 174 192 ENDIF 175 193 176 194 IF (PRESENT(value_)) THEN 177 CALL cxios_set_axisgroup_value(axisgroup_hdl%daddr, value_, SHAPE(value_)) 195 CALL cxios_set_axisgroup_value & 196 (axisgroup_hdl%daddr, value_, SHAPE(value_)) 178 197 ENDIF 179 198 … … 207 226 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: value(:) 208 227 209 CALL xios(get_axisgroup_handle)(axisgroup_id,axisgroup_hdl) 228 CALL xios(get_axisgroup_handle) & 229 (axisgroup_id,axisgroup_hdl) 210 230 CALL xios(get_axisgroup_attr_hdl_) & 211 231 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, index, long_name & … … 274 294 275 295 IF (PRESENT(axis_ref_)) THEN 276 CALL cxios_get_axisgroup_axis_ref(axisgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 296 CALL cxios_get_axisgroup_axis_ref & 297 (axisgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 277 298 ENDIF 278 299 279 300 IF (PRESENT(begin_)) THEN 280 CALL cxios_get_axisgroup_begin(axisgroup_hdl%daddr, begin_) 301 CALL cxios_get_axisgroup_begin & 302 (axisgroup_hdl%daddr, begin_) 281 303 ENDIF 282 304 283 305 IF (PRESENT(bounds_)) THEN 284 CALL cxios_get_axisgroup_bounds(axisgroup_hdl%daddr, bounds_, SHAPE(bounds_)) 306 CALL cxios_get_axisgroup_bounds & 307 (axisgroup_hdl%daddr, bounds_, SHAPE(bounds_)) 285 308 ENDIF 286 309 287 310 IF (PRESENT(data_begin_)) THEN 288 CALL cxios_get_axisgroup_data_begin(axisgroup_hdl%daddr, data_begin_) 311 CALL cxios_get_axisgroup_data_begin & 312 (axisgroup_hdl%daddr, data_begin_) 289 313 ENDIF 290 314 291 315 IF (PRESENT(data_index_)) THEN 292 CALL cxios_get_axisgroup_data_index(axisgroup_hdl%daddr, data_index_, SHAPE(data_index_)) 316 CALL cxios_get_axisgroup_data_index & 317 (axisgroup_hdl%daddr, data_index_, SHAPE(data_index_)) 293 318 ENDIF 294 319 295 320 IF (PRESENT(data_n_)) THEN 296 CALL cxios_get_axisgroup_data_n(axisgroup_hdl%daddr, data_n_) 321 CALL cxios_get_axisgroup_data_n & 322 (axisgroup_hdl%daddr, data_n_) 297 323 ENDIF 298 324 299 325 IF (PRESENT(group_ref_)) THEN 300 CALL cxios_get_axisgroup_group_ref(axisgroup_hdl%daddr, group_ref_, len(group_ref_)) 326 CALL cxios_get_axisgroup_group_ref & 327 (axisgroup_hdl%daddr, group_ref_, len(group_ref_)) 301 328 ENDIF 302 329 303 330 IF (PRESENT(index_)) THEN 304 CALL cxios_get_axisgroup_index(axisgroup_hdl%daddr, index_, SHAPE(index_)) 331 CALL cxios_get_axisgroup_index & 332 (axisgroup_hdl%daddr, index_, SHAPE(index_)) 305 333 ENDIF 306 334 307 335 IF (PRESENT(long_name_)) THEN 308 CALL cxios_get_axisgroup_long_name(axisgroup_hdl%daddr, long_name_, len(long_name_)) 336 CALL cxios_get_axisgroup_long_name & 337 (axisgroup_hdl%daddr, long_name_, len(long_name_)) 309 338 ENDIF 310 339 311 340 IF (PRESENT(mask_)) THEN 312 341 ALLOCATE(mask__tmp(SIZE(mask_,1))) 313 CALL cxios_get_axisgroup_mask(axisgroup_hdl%daddr, mask__tmp, SHAPE(mask_)) 342 CALL cxios_get_axisgroup_mask & 343 (axisgroup_hdl%daddr, mask__tmp, SHAPE(mask_)) 314 344 mask_ = mask__tmp 315 345 ENDIF 316 346 317 347 IF (PRESENT(n_)) THEN 318 CALL cxios_get_axisgroup_n(axisgroup_hdl%daddr, n_) 348 CALL cxios_get_axisgroup_n & 349 (axisgroup_hdl%daddr, n_) 319 350 ENDIF 320 351 321 352 IF (PRESENT(n_distributed_partition_)) THEN 322 CALL cxios_get_axisgroup_n_distributed_partition(axisgroup_hdl%daddr, n_distributed_partition_) 353 CALL cxios_get_axisgroup_n_distributed_partition & 354 (axisgroup_hdl%daddr, n_distributed_partition_) 323 355 ENDIF 324 356 325 357 IF (PRESENT(n_glo_)) THEN 326 CALL cxios_get_axisgroup_n_glo(axisgroup_hdl%daddr, n_glo_) 358 CALL cxios_get_axisgroup_n_glo & 359 (axisgroup_hdl%daddr, n_glo_) 327 360 ENDIF 328 361 329 362 IF (PRESENT(name_)) THEN 330 CALL cxios_get_axisgroup_name(axisgroup_hdl%daddr, name_, len(name_)) 363 CALL cxios_get_axisgroup_name & 364 (axisgroup_hdl%daddr, name_, len(name_)) 331 365 ENDIF 332 366 333 367 IF (PRESENT(positive_)) THEN 334 CALL cxios_get_axisgroup_positive(axisgroup_hdl%daddr, positive_, len(positive_)) 368 CALL cxios_get_axisgroup_positive & 369 (axisgroup_hdl%daddr, positive_, len(positive_)) 335 370 ENDIF 336 371 337 372 IF (PRESENT(standard_name_)) THEN 338 CALL cxios_get_axisgroup_standard_name(axisgroup_hdl%daddr, standard_name_, len(standard_name_)) 373 CALL cxios_get_axisgroup_standard_name & 374 (axisgroup_hdl%daddr, standard_name_, len(standard_name_)) 339 375 ENDIF 340 376 341 377 IF (PRESENT(unit_)) THEN 342 CALL cxios_get_axisgroup_unit(axisgroup_hdl%daddr, unit_, len(unit_)) 378 CALL cxios_get_axisgroup_unit & 379 (axisgroup_hdl%daddr, unit_, len(unit_)) 343 380 ENDIF 344 381 345 382 IF (PRESENT(value_)) THEN 346 CALL cxios_get_axisgroup_value(axisgroup_hdl%daddr, value_, SHAPE(value_)) 383 CALL cxios_get_axisgroup_value & 384 (axisgroup_hdl%daddr, value_, SHAPE(value_)) 347 385 ENDIF 348 386 … … 393 431 LOGICAL(KIND=C_BOOL) :: value_tmp 394 432 395 CALL xios(get_axisgroup_handle)(axisgroup_id,axisgroup_hdl) 433 CALL xios(get_axisgroup_handle) & 434 (axisgroup_id,axisgroup_hdl) 396 435 CALL xios(is_defined_axisgroup_attr_hdl_) & 397 436 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, index, long_name & … … 494 533 495 534 IF (PRESENT(axis_ref_)) THEN 496 axis_ref__tmp = cxios_is_defined_axisgroup_axis_ref(axisgroup_hdl%daddr) 535 axis_ref__tmp = cxios_is_defined_axisgroup_axis_ref & 536 (axisgroup_hdl%daddr) 497 537 axis_ref_ = axis_ref__tmp 498 538 ENDIF 499 539 500 540 IF (PRESENT(begin_)) THEN 501 begin__tmp = cxios_is_defined_axisgroup_begin(axisgroup_hdl%daddr) 541 begin__tmp = cxios_is_defined_axisgroup_begin & 542 (axisgroup_hdl%daddr) 502 543 begin_ = begin__tmp 503 544 ENDIF 504 545 505 546 IF (PRESENT(bounds_)) THEN 506 bounds__tmp = cxios_is_defined_axisgroup_bounds(axisgroup_hdl%daddr) 547 bounds__tmp = cxios_is_defined_axisgroup_bounds & 548 (axisgroup_hdl%daddr) 507 549 bounds_ = bounds__tmp 508 550 ENDIF 509 551 510 552 IF (PRESENT(data_begin_)) THEN 511 data_begin__tmp = cxios_is_defined_axisgroup_data_begin(axisgroup_hdl%daddr) 553 data_begin__tmp = cxios_is_defined_axisgroup_data_begin & 554 (axisgroup_hdl%daddr) 512 555 data_begin_ = data_begin__tmp 513 556 ENDIF 514 557 515 558 IF (PRESENT(data_index_)) THEN 516 data_index__tmp = cxios_is_defined_axisgroup_data_index(axisgroup_hdl%daddr) 559 data_index__tmp = cxios_is_defined_axisgroup_data_index & 560 (axisgroup_hdl%daddr) 517 561 data_index_ = data_index__tmp 518 562 ENDIF 519 563 520 564 IF (PRESENT(data_n_)) THEN 521 data_n__tmp = cxios_is_defined_axisgroup_data_n(axisgroup_hdl%daddr) 565 data_n__tmp = cxios_is_defined_axisgroup_data_n & 566 (axisgroup_hdl%daddr) 522 567 data_n_ = data_n__tmp 523 568 ENDIF 524 569 525 570 IF (PRESENT(group_ref_)) THEN 526 group_ref__tmp = cxios_is_defined_axisgroup_group_ref(axisgroup_hdl%daddr) 571 group_ref__tmp = cxios_is_defined_axisgroup_group_ref & 572 (axisgroup_hdl%daddr) 527 573 group_ref_ = group_ref__tmp 528 574 ENDIF 529 575 530 576 IF (PRESENT(index_)) THEN 531 index__tmp = cxios_is_defined_axisgroup_index(axisgroup_hdl%daddr) 577 index__tmp = cxios_is_defined_axisgroup_index & 578 (axisgroup_hdl%daddr) 532 579 index_ = index__tmp 533 580 ENDIF 534 581 535 582 IF (PRESENT(long_name_)) THEN 536 long_name__tmp = cxios_is_defined_axisgroup_long_name(axisgroup_hdl%daddr) 583 long_name__tmp = cxios_is_defined_axisgroup_long_name & 584 (axisgroup_hdl%daddr) 537 585 long_name_ = long_name__tmp 538 586 ENDIF 539 587 540 588 IF (PRESENT(mask_)) THEN 541 mask__tmp = cxios_is_defined_axisgroup_mask(axisgroup_hdl%daddr) 589 mask__tmp = cxios_is_defined_axisgroup_mask & 590 (axisgroup_hdl%daddr) 542 591 mask_ = mask__tmp 543 592 ENDIF 544 593 545 594 IF (PRESENT(n_)) THEN 546 n__tmp = cxios_is_defined_axisgroup_n(axisgroup_hdl%daddr) 595 n__tmp = cxios_is_defined_axisgroup_n & 596 (axisgroup_hdl%daddr) 547 597 n_ = n__tmp 548 598 ENDIF 549 599 550 600 IF (PRESENT(n_distributed_partition_)) THEN 551 n_distributed_partition__tmp = cxios_is_defined_axisgroup_n_distributed_partition(axisgroup_hdl%daddr) 601 n_distributed_partition__tmp = cxios_is_defined_axisgroup_n_distributed_partition & 602 (axisgroup_hdl%daddr) 552 603 n_distributed_partition_ = n_distributed_partition__tmp 553 604 ENDIF 554 605 555 606 IF (PRESENT(n_glo_)) THEN 556 n_glo__tmp = cxios_is_defined_axisgroup_n_glo(axisgroup_hdl%daddr) 607 n_glo__tmp = cxios_is_defined_axisgroup_n_glo & 608 (axisgroup_hdl%daddr) 557 609 n_glo_ = n_glo__tmp 558 610 ENDIF 559 611 560 612 IF (PRESENT(name_)) THEN 561 name__tmp = cxios_is_defined_axisgroup_name(axisgroup_hdl%daddr) 613 name__tmp = cxios_is_defined_axisgroup_name & 614 (axisgroup_hdl%daddr) 562 615 name_ = name__tmp 563 616 ENDIF 564 617 565 618 IF (PRESENT(positive_)) THEN 566 positive__tmp = cxios_is_defined_axisgroup_positive(axisgroup_hdl%daddr) 619 positive__tmp = cxios_is_defined_axisgroup_positive & 620 (axisgroup_hdl%daddr) 567 621 positive_ = positive__tmp 568 622 ENDIF 569 623 570 624 IF (PRESENT(standard_name_)) THEN 571 standard_name__tmp = cxios_is_defined_axisgroup_standard_name(axisgroup_hdl%daddr) 625 standard_name__tmp = cxios_is_defined_axisgroup_standard_name & 626 (axisgroup_hdl%daddr) 572 627 standard_name_ = standard_name__tmp 573 628 ENDIF 574 629 575 630 IF (PRESENT(unit_)) THEN 576 unit__tmp = cxios_is_defined_axisgroup_unit(axisgroup_hdl%daddr) 631 unit__tmp = cxios_is_defined_axisgroup_unit & 632 (axisgroup_hdl%daddr) 577 633 unit_ = unit__tmp 578 634 ENDIF 579 635 580 636 IF (PRESENT(value_)) THEN 581 value__tmp = cxios_is_defined_axisgroup_value(axisgroup_hdl%daddr) 637 value__tmp = cxios_is_defined_axisgroup_value & 638 (axisgroup_hdl%daddr) 582 639 value_ = value__tmp 583 640 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.