Changeset 2616 for XIOS3/trunk/src/interface/fortran_attr/iaxis_attr.F90
- Timestamp:
- 03/19/24 14:23:16 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/interface/fortran_attr/iaxis_attr.F90
r1492 r2616 12 12 13 13 SUBROUTINE xios(set_axis_attr) & 14 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&15 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&16 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&17 , value )14 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 15 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 16 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 17 , unit, value ) 18 18 19 19 IMPLICIT NONE … … 25 25 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: bounds(:,:) 26 26 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: bounds_name 27 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: chunking_weight 27 28 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: comment 28 29 INTEGER , OPTIONAL, INTENT(IN) :: data_begin … … 52 53 (axis_id,axis_hdl) 53 54 CALL xios(set_axis_attr_hdl_) & 54 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&55 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&56 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&57 , value )55 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 56 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 57 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 58 , unit, value ) 58 59 59 60 END SUBROUTINE xios(set_axis_attr) 60 61 61 62 SUBROUTINE xios(set_axis_attr_hdl) & 62 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&63 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&64 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&65 , value )63 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 64 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 65 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 66 , unit, value ) 66 67 67 68 IMPLICIT NONE … … 72 73 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: bounds(:,:) 73 74 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: bounds_name 75 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: chunking_weight 74 76 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: comment 75 77 INTEGER , OPTIONAL, INTENT(IN) :: data_begin … … 97 99 98 100 CALL xios(set_axis_attr_hdl_) & 99 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&100 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&101 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&102 , value )101 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 102 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 103 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 104 , unit, value ) 103 105 104 106 END SUBROUTINE xios(set_axis_attr_hdl) 105 107 106 108 SUBROUTINE xios(set_axis_attr_hdl_) & 107 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, c omment_, data_begin_, data_index_ &108 , data_ n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_, index_ &109 , label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, prec_, standard_name_ &110 , unit_, value_ )109 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, chunking_weight_, comment_ & 110 , data_begin_, data_index_, data_n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_ & 111 , index_, label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_ & 112 , prec_, standard_name_, unit_, value_ ) 111 113 112 114 IMPLICIT NONE … … 117 119 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: bounds_(:,:) 118 120 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: bounds_name_ 121 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: chunking_weight_ 119 122 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: comment_ 120 123 INTEGER , OPTIONAL, INTENT(IN) :: data_begin_ … … 166 169 ENDIF 167 170 171 IF (PRESENT(chunking_weight_)) THEN 172 CALL cxios_set_axis_chunking_weight & 173 (axis_hdl%daddr, chunking_weight_) 174 ENDIF 175 168 176 IF (PRESENT(comment_)) THEN 169 177 CALL cxios_set_axis_comment & … … 281 289 282 290 SUBROUTINE xios(get_axis_attr) & 283 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&284 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&285 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&286 , value )291 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 292 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 293 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 294 , unit, value ) 287 295 288 296 IMPLICIT NONE … … 294 302 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: bounds(:,:) 295 303 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: bounds_name 304 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: chunking_weight 296 305 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: comment 297 306 INTEGER , OPTIONAL, INTENT(OUT) :: data_begin … … 321 330 (axis_id,axis_hdl) 322 331 CALL xios(get_axis_attr_hdl_) & 323 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&324 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&325 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&326 , value )332 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 333 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 334 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 335 , unit, value ) 327 336 328 337 END SUBROUTINE xios(get_axis_attr) 329 338 330 339 SUBROUTINE xios(get_axis_attr_hdl) & 331 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&332 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&333 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&334 , value )340 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 341 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 342 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 343 , unit, value ) 335 344 336 345 IMPLICIT NONE … … 341 350 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: bounds(:,:) 342 351 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: bounds_name 352 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: chunking_weight 343 353 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: comment 344 354 INTEGER , OPTIONAL, INTENT(OUT) :: data_begin … … 366 376 367 377 CALL xios(get_axis_attr_hdl_) & 368 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&369 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&370 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&371 , value )378 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 379 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 380 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 381 , unit, value ) 372 382 373 383 END SUBROUTINE xios(get_axis_attr_hdl) 374 384 375 385 SUBROUTINE xios(get_axis_attr_hdl_) & 376 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, c omment_, data_begin_, data_index_ &377 , data_ n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_, index_ &378 , label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, prec_, standard_name_ &379 , unit_, value_ )386 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, chunking_weight_, comment_ & 387 , data_begin_, data_index_, data_n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_ & 388 , index_, label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_ & 389 , prec_, standard_name_, unit_, value_ ) 380 390 381 391 IMPLICIT NONE … … 386 396 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: bounds_(:,:) 387 397 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: bounds_name_ 398 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: chunking_weight_ 388 399 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: comment_ 389 400 INTEGER , OPTIONAL, INTENT(OUT) :: data_begin_ … … 435 446 ENDIF 436 447 448 IF (PRESENT(chunking_weight_)) THEN 449 CALL cxios_get_axis_chunking_weight & 450 (axis_hdl%daddr, chunking_weight_) 451 ENDIF 452 437 453 IF (PRESENT(comment_)) THEN 438 454 CALL cxios_get_axis_comment & … … 550 566 551 567 SUBROUTINE xios(is_defined_axis_attr) & 552 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&553 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&554 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&555 , value )568 ( axis_id, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 569 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 570 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 571 , unit, value ) 556 572 557 573 IMPLICIT NONE … … 568 584 LOGICAL, OPTIONAL, INTENT(OUT) :: bounds_name 569 585 LOGICAL(KIND=C_BOOL) :: bounds_name_tmp 586 LOGICAL, OPTIONAL, INTENT(OUT) :: chunking_weight 587 LOGICAL(KIND=C_BOOL) :: chunking_weight_tmp 570 588 LOGICAL, OPTIONAL, INTENT(OUT) :: comment 571 589 LOGICAL(KIND=C_BOOL) :: comment_tmp … … 616 634 (axis_id,axis_hdl) 617 635 CALL xios(is_defined_axis_attr_hdl_) & 618 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&619 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&620 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&621 , value )636 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 637 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 638 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 639 , unit, value ) 622 640 623 641 END SUBROUTINE xios(is_defined_axis_attr) 624 642 625 643 SUBROUTINE xios(is_defined_axis_attr_hdl) & 626 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&627 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&628 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&629 , value )644 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 645 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 646 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 647 , unit, value ) 630 648 631 649 IMPLICIT NONE … … 641 659 LOGICAL, OPTIONAL, INTENT(OUT) :: bounds_name 642 660 LOGICAL(KIND=C_BOOL) :: bounds_name_tmp 661 LOGICAL, OPTIONAL, INTENT(OUT) :: chunking_weight 662 LOGICAL(KIND=C_BOOL) :: chunking_weight_tmp 643 663 LOGICAL, OPTIONAL, INTENT(OUT) :: comment 644 664 LOGICAL(KIND=C_BOOL) :: comment_tmp … … 687 707 688 708 CALL xios(is_defined_axis_attr_hdl_) & 689 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, c omment, data_begin, data_index&690 , data_ n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index, label&691 , l ong_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name, unit&692 , value )709 ( axis_hdl, axis_ref, axis_type, begin, bounds, bounds_name, chunking_weight, comment, data_begin & 710 , data_index, data_n, dim_name, formula, formula_bounds, formula_term, formula_term_bounds, index & 711 , label, long_name, mask, n, n_distributed_partition, n_glo, name, positive, prec, standard_name & 712 , unit, value ) 693 713 694 714 END SUBROUTINE xios(is_defined_axis_attr_hdl) 695 715 696 716 SUBROUTINE xios(is_defined_axis_attr_hdl_) & 697 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, c omment_, data_begin_, data_index_ &698 , data_ n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_, index_ &699 , label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, prec_, standard_name_ &700 , unit_, value_ )717 ( axis_hdl, axis_ref_, axis_type_, begin_, bounds_, bounds_name_, chunking_weight_, comment_ & 718 , data_begin_, data_index_, data_n_, dim_name_, formula_, formula_bounds_, formula_term_, formula_term_bounds_ & 719 , index_, label_, long_name_, mask_, n_, n_distributed_partition_, n_glo_, name_, positive_ & 720 , prec_, standard_name_, unit_, value_ ) 701 721 702 722 IMPLICIT NONE … … 712 732 LOGICAL, OPTIONAL, INTENT(OUT) :: bounds_name_ 713 733 LOGICAL(KIND=C_BOOL) :: bounds_name__tmp 734 LOGICAL, OPTIONAL, INTENT(OUT) :: chunking_weight_ 735 LOGICAL(KIND=C_BOOL) :: chunking_weight__tmp 714 736 LOGICAL, OPTIONAL, INTENT(OUT) :: comment_ 715 737 LOGICAL(KIND=C_BOOL) :: comment__tmp … … 787 809 ENDIF 788 810 811 IF (PRESENT(chunking_weight_)) THEN 812 chunking_weight__tmp = cxios_is_defined_axis_chunking_weight & 813 (axis_hdl%daddr) 814 chunking_weight_ = chunking_weight__tmp 815 ENDIF 816 789 817 IF (PRESENT(comment_)) THEN 790 818 comment__tmp = cxios_is_defined_axis_comment &
Note: See TracChangeset
for help on using the changeset viewer.