Changeset 966
- Timestamp:
- 10/10/16 16:01:11 (8 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_map.cpp
r778 r966 629 629 630 630 oss << std::endl << iendl; 631 oss << "CALL xios(get_" << className << "_handle)(" << className << "_id," << className << "_hdl)" << iendl; 631 oss << "CALL xios(get_" << className << "_handle) &" << iendl; 632 oss << "(" << className << "_id," << className << "_hdl)" << iendl; 632 633 oss << "CALL xios(set_" << className << "_attr_hdl_) &" << iendl; 633 634 … … 693 694 694 695 oss << std::endl << iendl; 695 oss << "CALL xios(get_" << className << "_handle)(" << className << "_id," << className << "_hdl)" << iendl; 696 oss << "CALL xios(get_" << className << "_handle) &" << iendl; 697 oss << "(" << className << "_id," << className << "_hdl)" << iendl; 696 698 oss << "CALL xios(get_" << className << "_attr_hdl_) &" << iendl; 697 699 … … 757 759 758 760 oss << std::endl << iendl; 759 oss << "CALL xios(get_" << className << "_handle)(" << className << "_id," << className << "_hdl)" << iendl; 761 oss << "CALL xios(get_" << className << "_handle) &" << iendl; 762 oss << "(" << className << "_id," << className << "_hdl)" << iendl; 760 763 oss << "CALL xios(is_defined_" << className << "_attr_hdl_) &" << iendl; 761 764 -
XIOS/trunk/src/generate_interface_impl.hpp
r932 r966 323 323 { 324 324 oss << " " << name_tmp << " = " << name << "_" << iendl; 325 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ")" << iendl; 325 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; 326 oss << "(" << className << "_hdl%daddr, " << name_tmp << ")" << iendl; 326 327 } 327 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_)" << iendl; 328 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; 329 oss << "(" << className << "_hdl%daddr, " << name << "_)" << iendl; } 328 330 oss << "ENDIF"; 329 331 } … … 337 339 if (!matchingTypeCFortran<T>()) 338 340 { 339 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ")" << iendl; 341 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; 342 oss << "(" << className << "_hdl%daddr, " << name_tmp << ")" << iendl; 340 343 oss << " " << name << "_ = " << name_tmp << iendl; 341 344 } 342 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_)" << iendl; 345 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; 346 oss << "(" << className << "_hdl%daddr, " << name << "_)" << iendl; } 343 347 oss << "ENDIF"; 344 348 } … … 349 353 350 354 oss << "IF (PRESENT(" << name << "_)) THEN" << iendl; 351 oss << " " << name << "__tmp = cxios_is_defined_" << className << "_" << name << "(" << className << "_hdl%daddr)" << iendl; 355 oss << " " << name << "__tmp = cxios_is_defined_" << className << "_" << name << " &" << iendl; 356 oss << "(" << className << "_hdl%daddr)" << iendl; 352 357 oss << " " << name << "_ = " << name_tmp << iendl; 353 358 oss << "ENDIF"; … … 358 363 { 359 364 oss << "IF (PRESENT(" << name << "_)) THEN" << iendl; 360 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, len(" << name << "_))" << iendl; 365 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; 366 oss << "(" << className << "_hdl%daddr, " << name << "_, len(" << name << "_))" << iendl; 361 367 oss << "ENDIF"; 362 368 } … … 366 372 { 367 373 oss << "IF (PRESENT(" << name << "_)) THEN" << iendl; 368 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, len(" << name << "_))" << iendl; 374 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; 375 oss << "(" << className << "_hdl%daddr, " << name << "_, len(" << name << "_))" << iendl; 369 376 oss << "ENDIF"; 370 377 } … … 813 820 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1)))" << iendl; \ 814 821 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 815 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 822 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 823 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 816 824 } \ 817 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 825 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 826 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 818 827 oss << "ENDIF"; \ 819 828 } \ … … 829 838 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2)))" << iendl; \ 830 839 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 831 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 840 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 841 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 832 842 } \ 833 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 843 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 844 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 834 845 oss << "ENDIF"; \ 835 846 } \ … … 845 856 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3)))" << iendl; \ 846 857 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 847 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 858 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 859 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 848 860 } \ 849 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 861 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 862 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 850 863 oss << "ENDIF"; \ 851 864 }\ … … 859 872 if (!matchingTypeCFortran<T>()) \ 860 873 { \ 861 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4)))" << iendl; \ 874 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 875 oss << " SIZE(" << name << "_,4)))" << iendl; \ 862 876 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 863 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 877 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 878 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 864 879 } \ 865 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 880 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 881 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 866 882 oss << "ENDIF"; \ 867 883 }\ … … 875 891 if (!matchingTypeCFortran<T>()) \ 876 892 { \ 877 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5)))" << iendl; \ 893 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 894 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5)))" << iendl; \ 878 895 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 879 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 896 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 897 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 880 898 } \ 881 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 899 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 900 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 882 901 oss << "ENDIF"; \ 883 902 }\ … … 891 910 if (!matchingTypeCFortran<T>()) \ 892 911 { \ 893 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6)))" << iendl; \ 912 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 913 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6)))" << iendl; \ 894 914 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 895 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 915 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 916 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 896 917 } \ 897 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 918 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 919 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 898 920 oss << "ENDIF"; \ 899 921 }\ … … 907 929 if (!matchingTypeCFortran<T>()) \ 908 930 { \ 909 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6), SIZE(" << name << "_,7)))" << iendl; \ 931 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 932 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6), &" << iendl; \ 933 oss << " SIZE(" << name << "_,7)))" << iendl; \ 910 934 oss << " " << name_tmp << " = " << name << "_" << iendl; \ 911 oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 935 oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 936 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 912 937 } \ 913 else oss << " CALL cxios_set_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 938 else { oss << " CALL cxios_set_" << className << "_" << name << " &" << iendl; \ 939 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 914 940 oss << "ENDIF"; \ 915 941 } … … 931 957 { \ 932 958 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1)))" << iendl; \ 933 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 959 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 960 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 934 961 oss << " " << name << "_ = " << name_tmp << iendl; \ 935 962 } \ 936 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 963 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 964 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 937 965 oss << "ENDIF"; \ 938 966 } \ … … 947 975 { \ 948 976 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2)))" << iendl; \ 949 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 977 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 978 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 950 979 oss << " " << name << "_ = " << name_tmp << iendl; \ 951 980 } \ 952 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 981 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 982 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 953 983 oss << "ENDIF"; \ 954 984 } \ … … 963 993 { \ 964 994 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3)))" << iendl; \ 965 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 995 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 996 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 966 997 oss << " " << name << "_ = " << name_tmp << iendl; \ 967 998 } \ 968 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 999 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1000 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 969 1001 oss << "ENDIF"; \ 970 1002 } \ … … 978 1010 if (!matchingTypeCFortran<T>()) \ 979 1011 { \ 980 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4)))" << iendl; \ 981 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1012 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 1013 oss << " SIZE(" << name << "_,4)))" << iendl; \ 1014 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1015 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 982 1016 oss << " " << name << "_ = " << name_tmp << iendl; \ 983 1017 } \ 984 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 1018 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1019 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; }\ 985 1020 oss << "ENDIF"; \ 986 1021 } \ … … 994 1029 if (!matchingTypeCFortran<T>()) \ 995 1030 { \ 996 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5)))" << iendl; \ 997 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1031 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 1032 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5)))" << iendl; \ 1033 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1034 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 998 1035 oss << " " << name << "_ = " << name_tmp << iendl; \ 999 1036 } \ 1000 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 1037 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1038 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 1001 1039 oss << "ENDIF"; \ 1002 1040 }\ … … 1010 1048 if (!matchingTypeCFortran<T>()) \ 1011 1049 { \ 1012 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6)))" << iendl; \ 1013 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1050 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 1051 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6)))" << iendl; \ 1052 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1053 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1014 1054 oss << " " << name << "_ = " << name_tmp << iendl; \ 1015 1055 } \ 1016 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 1056 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1057 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 1017 1058 oss << "ENDIF"; \ 1018 1059 } \ … … 1026 1067 if (!matchingTypeCFortran<T>()) \ 1027 1068 { \ 1028 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6), SIZE(" << name << "_,7)))" << iendl; \ 1029 oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1069 oss << " ALLOCATE(" << name_tmp << "(SIZE(" << name << "_,1), SIZE(" << name << "_,2), SIZE(" << name << "_,3), &" << iendl; \ 1070 oss << " SIZE(" << name << "_,4), SIZE(" << name << "_,5), SIZE(" << name << "_,6), &" << iendl; \ 1071 oss << " SIZE(" << name << "_,7)))" << iendl; \ 1072 oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1073 oss << "(" << className << "_hdl%daddr, " << name_tmp << ", SHAPE(" << name << "_))" << iendl; \ 1030 1074 oss << " " << name << "_ = " << name_tmp << iendl; \ 1031 1075 } \ 1032 else oss << " CALL cxios_get_" << className << "_" << name << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; \ 1076 else { oss << " CALL cxios_get_" << className << "_" << name << " &" << iendl; \ 1077 oss << "(" << className << "_hdl%daddr, " << name << "_, SHAPE(" << name << "_))" << iendl; } \ 1033 1078 oss << "ENDIF"; \ 1034 1079 } -
XIOS/trunk/src/interface/fortran_attr/iaxis_attr.F90
r817 r966 37 37 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: value(:) 38 38 39 CALL xios(get_axis_handle)(axis_id,axis_hdl) 39 CALL xios(get_axis_handle) & 40 (axis_id,axis_hdl) 40 41 CALL xios(set_axis_attr_hdl_) & 41 42 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, index, long_name, mask & … … 102 103 103 104 IF (PRESENT(axis_ref_)) THEN 104 CALL cxios_set_axis_axis_ref(axis_hdl%daddr, axis_ref_, len(axis_ref_)) 105 CALL cxios_set_axis_axis_ref & 106 (axis_hdl%daddr, axis_ref_, len(axis_ref_)) 105 107 ENDIF 106 108 107 109 IF (PRESENT(begin_)) THEN 108 CALL cxios_set_axis_begin(axis_hdl%daddr, begin_) 110 CALL cxios_set_axis_begin & 111 (axis_hdl%daddr, begin_) 109 112 ENDIF 110 113 111 114 IF (PRESENT(bounds_)) THEN 112 CALL cxios_set_axis_bounds(axis_hdl%daddr, bounds_, SHAPE(bounds_)) 115 CALL cxios_set_axis_bounds & 116 (axis_hdl%daddr, bounds_, SHAPE(bounds_)) 113 117 ENDIF 114 118 115 119 IF (PRESENT(data_begin_)) THEN 116 CALL cxios_set_axis_data_begin(axis_hdl%daddr, data_begin_) 120 CALL cxios_set_axis_data_begin & 121 (axis_hdl%daddr, data_begin_) 117 122 ENDIF 118 123 119 124 IF (PRESENT(data_index_)) THEN 120 CALL cxios_set_axis_data_index(axis_hdl%daddr, data_index_, SHAPE(data_index_)) 125 CALL cxios_set_axis_data_index & 126 (axis_hdl%daddr, data_index_, SHAPE(data_index_)) 121 127 ENDIF 122 128 123 129 IF (PRESENT(data_n_)) THEN 124 CALL cxios_set_axis_data_n(axis_hdl%daddr, data_n_) 130 CALL cxios_set_axis_data_n & 131 (axis_hdl%daddr, data_n_) 125 132 ENDIF 126 133 127 134 IF (PRESENT(index_)) THEN 128 CALL cxios_set_axis_index(axis_hdl%daddr, index_, SHAPE(index_)) 135 CALL cxios_set_axis_index & 136 (axis_hdl%daddr, index_, SHAPE(index_)) 129 137 ENDIF 130 138 131 139 IF (PRESENT(long_name_)) THEN 132 CALL cxios_set_axis_long_name(axis_hdl%daddr, long_name_, len(long_name_)) 140 CALL cxios_set_axis_long_name & 141 (axis_hdl%daddr, long_name_, len(long_name_)) 133 142 ENDIF 134 143 … … 136 145 ALLOCATE(mask__tmp(SIZE(mask_,1))) 137 146 mask__tmp = mask_ 138 CALL cxios_set_axis_mask(axis_hdl%daddr, mask__tmp, SHAPE(mask_)) 147 CALL cxios_set_axis_mask & 148 (axis_hdl%daddr, mask__tmp, SHAPE(mask_)) 139 149 ENDIF 140 150 141 151 IF (PRESENT(n_)) THEN 142 CALL cxios_set_axis_n(axis_hdl%daddr, n_) 152 CALL cxios_set_axis_n & 153 (axis_hdl%daddr, n_) 143 154 ENDIF 144 155 145 156 IF (PRESENT(n_distributed_partition_)) THEN 146 CALL cxios_set_axis_n_distributed_partition(axis_hdl%daddr, n_distributed_partition_) 157 CALL cxios_set_axis_n_distributed_partition & 158 (axis_hdl%daddr, n_distributed_partition_) 147 159 ENDIF 148 160 149 161 IF (PRESENT(n_glo_)) THEN 150 CALL cxios_set_axis_n_glo(axis_hdl%daddr, n_glo_) 162 CALL cxios_set_axis_n_glo & 163 (axis_hdl%daddr, n_glo_) 151 164 ENDIF 152 165 153 166 IF (PRESENT(name_)) THEN 154 CALL cxios_set_axis_name(axis_hdl%daddr, name_, len(name_)) 167 CALL cxios_set_axis_name & 168 (axis_hdl%daddr, name_, len(name_)) 155 169 ENDIF 156 170 157 171 IF (PRESENT(positive_)) THEN 158 CALL cxios_set_axis_positive(axis_hdl%daddr, positive_, len(positive_)) 172 CALL cxios_set_axis_positive & 173 (axis_hdl%daddr, positive_, len(positive_)) 159 174 ENDIF 160 175 161 176 IF (PRESENT(standard_name_)) THEN 162 CALL cxios_set_axis_standard_name(axis_hdl%daddr, standard_name_, len(standard_name_)) 177 CALL cxios_set_axis_standard_name & 178 (axis_hdl%daddr, standard_name_, len(standard_name_)) 163 179 ENDIF 164 180 165 181 IF (PRESENT(unit_)) THEN 166 CALL cxios_set_axis_unit(axis_hdl%daddr, unit_, len(unit_)) 182 CALL cxios_set_axis_unit & 183 (axis_hdl%daddr, unit_, len(unit_)) 167 184 ENDIF 168 185 169 186 IF (PRESENT(value_)) THEN 170 CALL cxios_set_axis_value(axis_hdl%daddr, value_, SHAPE(value_)) 187 CALL cxios_set_axis_value & 188 (axis_hdl%daddr, value_, SHAPE(value_)) 171 189 ENDIF 172 190 … … 199 217 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: value(:) 200 218 201 CALL xios(get_axis_handle)(axis_id,axis_hdl) 219 CALL xios(get_axis_handle) & 220 (axis_id,axis_hdl) 202 221 CALL xios(get_axis_attr_hdl_) & 203 222 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, index, long_name, mask & … … 264 283 265 284 IF (PRESENT(axis_ref_)) THEN 266 CALL cxios_get_axis_axis_ref(axis_hdl%daddr, axis_ref_, len(axis_ref_)) 285 CALL cxios_get_axis_axis_ref & 286 (axis_hdl%daddr, axis_ref_, len(axis_ref_)) 267 287 ENDIF 268 288 269 289 IF (PRESENT(begin_)) THEN 270 CALL cxios_get_axis_begin(axis_hdl%daddr, begin_) 290 CALL cxios_get_axis_begin & 291 (axis_hdl%daddr, begin_) 271 292 ENDIF 272 293 273 294 IF (PRESENT(bounds_)) THEN 274 CALL cxios_get_axis_bounds(axis_hdl%daddr, bounds_, SHAPE(bounds_)) 295 CALL cxios_get_axis_bounds & 296 (axis_hdl%daddr, bounds_, SHAPE(bounds_)) 275 297 ENDIF 276 298 277 299 IF (PRESENT(data_begin_)) THEN 278 CALL cxios_get_axis_data_begin(axis_hdl%daddr, data_begin_) 300 CALL cxios_get_axis_data_begin & 301 (axis_hdl%daddr, data_begin_) 279 302 ENDIF 280 303 281 304 IF (PRESENT(data_index_)) THEN 282 CALL cxios_get_axis_data_index(axis_hdl%daddr, data_index_, SHAPE(data_index_)) 305 CALL cxios_get_axis_data_index & 306 (axis_hdl%daddr, data_index_, SHAPE(data_index_)) 283 307 ENDIF 284 308 285 309 IF (PRESENT(data_n_)) THEN 286 CALL cxios_get_axis_data_n(axis_hdl%daddr, data_n_) 310 CALL cxios_get_axis_data_n & 311 (axis_hdl%daddr, data_n_) 287 312 ENDIF 288 313 289 314 IF (PRESENT(index_)) THEN 290 CALL cxios_get_axis_index(axis_hdl%daddr, index_, SHAPE(index_)) 315 CALL cxios_get_axis_index & 316 (axis_hdl%daddr, index_, SHAPE(index_)) 291 317 ENDIF 292 318 293 319 IF (PRESENT(long_name_)) THEN 294 CALL cxios_get_axis_long_name(axis_hdl%daddr, long_name_, len(long_name_)) 320 CALL cxios_get_axis_long_name & 321 (axis_hdl%daddr, long_name_, len(long_name_)) 295 322 ENDIF 296 323 297 324 IF (PRESENT(mask_)) THEN 298 325 ALLOCATE(mask__tmp(SIZE(mask_,1))) 299 CALL cxios_get_axis_mask(axis_hdl%daddr, mask__tmp, SHAPE(mask_)) 326 CALL cxios_get_axis_mask & 327 (axis_hdl%daddr, mask__tmp, SHAPE(mask_)) 300 328 mask_ = mask__tmp 301 329 ENDIF 302 330 303 331 IF (PRESENT(n_)) THEN 304 CALL cxios_get_axis_n(axis_hdl%daddr, n_) 332 CALL cxios_get_axis_n & 333 (axis_hdl%daddr, n_) 305 334 ENDIF 306 335 307 336 IF (PRESENT(n_distributed_partition_)) THEN 308 CALL cxios_get_axis_n_distributed_partition(axis_hdl%daddr, n_distributed_partition_) 337 CALL cxios_get_axis_n_distributed_partition & 338 (axis_hdl%daddr, n_distributed_partition_) 309 339 ENDIF 310 340 311 341 IF (PRESENT(n_glo_)) THEN 312 CALL cxios_get_axis_n_glo(axis_hdl%daddr, n_glo_) 342 CALL cxios_get_axis_n_glo & 343 (axis_hdl%daddr, n_glo_) 313 344 ENDIF 314 345 315 346 IF (PRESENT(name_)) THEN 316 CALL cxios_get_axis_name(axis_hdl%daddr, name_, len(name_)) 347 CALL cxios_get_axis_name & 348 (axis_hdl%daddr, name_, len(name_)) 317 349 ENDIF 318 350 319 351 IF (PRESENT(positive_)) THEN 320 CALL cxios_get_axis_positive(axis_hdl%daddr, positive_, len(positive_)) 352 CALL cxios_get_axis_positive & 353 (axis_hdl%daddr, positive_, len(positive_)) 321 354 ENDIF 322 355 323 356 IF (PRESENT(standard_name_)) THEN 324 CALL cxios_get_axis_standard_name(axis_hdl%daddr, standard_name_, len(standard_name_)) 357 CALL cxios_get_axis_standard_name & 358 (axis_hdl%daddr, standard_name_, len(standard_name_)) 325 359 ENDIF 326 360 327 361 IF (PRESENT(unit_)) THEN 328 CALL cxios_get_axis_unit(axis_hdl%daddr, unit_, len(unit_)) 362 CALL cxios_get_axis_unit & 363 (axis_hdl%daddr, unit_, len(unit_)) 329 364 ENDIF 330 365 331 366 IF (PRESENT(value_)) THEN 332 CALL cxios_get_axis_value(axis_hdl%daddr, value_, SHAPE(value_)) 367 CALL cxios_get_axis_value & 368 (axis_hdl%daddr, value_, SHAPE(value_)) 333 369 ENDIF 334 370 … … 377 413 LOGICAL(KIND=C_BOOL) :: value_tmp 378 414 379 CALL xios(get_axis_handle)(axis_id,axis_hdl) 415 CALL xios(get_axis_handle) & 416 (axis_id,axis_hdl) 380 417 CALL xios(is_defined_axis_attr_hdl_) & 381 418 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, index, long_name, mask & … … 474 511 475 512 IF (PRESENT(axis_ref_)) THEN 476 axis_ref__tmp = cxios_is_defined_axis_axis_ref(axis_hdl%daddr) 513 axis_ref__tmp = cxios_is_defined_axis_axis_ref & 514 (axis_hdl%daddr) 477 515 axis_ref_ = axis_ref__tmp 478 516 ENDIF 479 517 480 518 IF (PRESENT(begin_)) THEN 481 begin__tmp = cxios_is_defined_axis_begin(axis_hdl%daddr) 519 begin__tmp = cxios_is_defined_axis_begin & 520 (axis_hdl%daddr) 482 521 begin_ = begin__tmp 483 522 ENDIF 484 523 485 524 IF (PRESENT(bounds_)) THEN 486 bounds__tmp = cxios_is_defined_axis_bounds(axis_hdl%daddr) 525 bounds__tmp = cxios_is_defined_axis_bounds & 526 (axis_hdl%daddr) 487 527 bounds_ = bounds__tmp 488 528 ENDIF 489 529 490 530 IF (PRESENT(data_begin_)) THEN 491 data_begin__tmp = cxios_is_defined_axis_data_begin(axis_hdl%daddr) 531 data_begin__tmp = cxios_is_defined_axis_data_begin & 532 (axis_hdl%daddr) 492 533 data_begin_ = data_begin__tmp 493 534 ENDIF 494 535 495 536 IF (PRESENT(data_index_)) THEN 496 data_index__tmp = cxios_is_defined_axis_data_index(axis_hdl%daddr) 537 data_index__tmp = cxios_is_defined_axis_data_index & 538 (axis_hdl%daddr) 497 539 data_index_ = data_index__tmp 498 540 ENDIF 499 541 500 542 IF (PRESENT(data_n_)) THEN 501 data_n__tmp = cxios_is_defined_axis_data_n(axis_hdl%daddr) 543 data_n__tmp = cxios_is_defined_axis_data_n & 544 (axis_hdl%daddr) 502 545 data_n_ = data_n__tmp 503 546 ENDIF 504 547 505 548 IF (PRESENT(index_)) THEN 506 index__tmp = cxios_is_defined_axis_index(axis_hdl%daddr) 549 index__tmp = cxios_is_defined_axis_index & 550 (axis_hdl%daddr) 507 551 index_ = index__tmp 508 552 ENDIF 509 553 510 554 IF (PRESENT(long_name_)) THEN 511 long_name__tmp = cxios_is_defined_axis_long_name(axis_hdl%daddr) 555 long_name__tmp = cxios_is_defined_axis_long_name & 556 (axis_hdl%daddr) 512 557 long_name_ = long_name__tmp 513 558 ENDIF 514 559 515 560 IF (PRESENT(mask_)) THEN 516 mask__tmp = cxios_is_defined_axis_mask(axis_hdl%daddr) 561 mask__tmp = cxios_is_defined_axis_mask & 562 (axis_hdl%daddr) 517 563 mask_ = mask__tmp 518 564 ENDIF 519 565 520 566 IF (PRESENT(n_)) THEN 521 n__tmp = cxios_is_defined_axis_n(axis_hdl%daddr) 567 n__tmp = cxios_is_defined_axis_n & 568 (axis_hdl%daddr) 522 569 n_ = n__tmp 523 570 ENDIF 524 571 525 572 IF (PRESENT(n_distributed_partition_)) THEN 526 n_distributed_partition__tmp = cxios_is_defined_axis_n_distributed_partition(axis_hdl%daddr) 573 n_distributed_partition__tmp = cxios_is_defined_axis_n_distributed_partition & 574 (axis_hdl%daddr) 527 575 n_distributed_partition_ = n_distributed_partition__tmp 528 576 ENDIF 529 577 530 578 IF (PRESENT(n_glo_)) THEN 531 n_glo__tmp = cxios_is_defined_axis_n_glo(axis_hdl%daddr) 579 n_glo__tmp = cxios_is_defined_axis_n_glo & 580 (axis_hdl%daddr) 532 581 n_glo_ = n_glo__tmp 533 582 ENDIF 534 583 535 584 IF (PRESENT(name_)) THEN 536 name__tmp = cxios_is_defined_axis_name(axis_hdl%daddr) 585 name__tmp = cxios_is_defined_axis_name & 586 (axis_hdl%daddr) 537 587 name_ = name__tmp 538 588 ENDIF 539 589 540 590 IF (PRESENT(positive_)) THEN 541 positive__tmp = cxios_is_defined_axis_positive(axis_hdl%daddr) 591 positive__tmp = cxios_is_defined_axis_positive & 592 (axis_hdl%daddr) 542 593 positive_ = positive__tmp 543 594 ENDIF 544 595 545 596 IF (PRESENT(standard_name_)) THEN 546 standard_name__tmp = cxios_is_defined_axis_standard_name(axis_hdl%daddr) 597 standard_name__tmp = cxios_is_defined_axis_standard_name & 598 (axis_hdl%daddr) 547 599 standard_name_ = standard_name__tmp 548 600 ENDIF 549 601 550 602 IF (PRESENT(unit_)) THEN 551 unit__tmp = cxios_is_defined_axis_unit(axis_hdl%daddr) 603 unit__tmp = cxios_is_defined_axis_unit & 604 (axis_hdl%daddr) 552 605 unit_ = unit__tmp 553 606 ENDIF 554 607 555 608 IF (PRESENT(value_)) THEN 556 value__tmp = cxios_is_defined_axis_value(axis_hdl%daddr) 609 value__tmp = cxios_is_defined_axis_value & 610 (axis_hdl%daddr) 557 611 value_ = value__tmp 558 612 ENDIF -
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 -
XIOS/trunk/src/interface/fortran_attr/icalendar_wrapper_attr.F90
r674 r966 29 29 INTEGER , OPTIONAL, INTENT(IN) :: year_length 30 30 31 CALL xios(get_calendar_wrapper_handle)(calendar_wrapper_id,calendar_wrapper_hdl) 31 CALL xios(get_calendar_wrapper_handle) & 32 (calendar_wrapper_id,calendar_wrapper_hdl) 32 33 CALL xios(set_calendar_wrapper_attr_hdl_) & 33 34 ( calendar_wrapper_hdl, day_length, leap_year_drift, leap_year_drift_offset, leap_year_month & … … 77 78 78 79 IF (PRESENT(day_length_)) THEN 79 CALL cxios_set_calendar_wrapper_day_length(calendar_wrapper_hdl%daddr, day_length_) 80 CALL cxios_set_calendar_wrapper_day_length & 81 (calendar_wrapper_hdl%daddr, day_length_) 80 82 ENDIF 81 83 82 84 IF (PRESENT(leap_year_drift_)) THEN 83 CALL cxios_set_calendar_wrapper_leap_year_drift(calendar_wrapper_hdl%daddr, leap_year_drift_) 85 CALL cxios_set_calendar_wrapper_leap_year_drift & 86 (calendar_wrapper_hdl%daddr, leap_year_drift_) 84 87 ENDIF 85 88 86 89 IF (PRESENT(leap_year_drift_offset_)) THEN 87 CALL cxios_set_calendar_wrapper_leap_year_drift_offset(calendar_wrapper_hdl%daddr, leap_year_drift_offset_) 90 CALL cxios_set_calendar_wrapper_leap_year_drift_offset & 91 (calendar_wrapper_hdl%daddr, leap_year_drift_offset_) 88 92 ENDIF 89 93 90 94 IF (PRESENT(leap_year_month_)) THEN 91 CALL cxios_set_calendar_wrapper_leap_year_month(calendar_wrapper_hdl%daddr, leap_year_month_) 95 CALL cxios_set_calendar_wrapper_leap_year_month & 96 (calendar_wrapper_hdl%daddr, leap_year_month_) 92 97 ENDIF 93 98 94 99 IF (PRESENT(month_lengths_)) THEN 95 CALL cxios_set_calendar_wrapper_month_lengths(calendar_wrapper_hdl%daddr, month_lengths_, SHAPE(month_lengths_)) 100 CALL cxios_set_calendar_wrapper_month_lengths & 101 (calendar_wrapper_hdl%daddr, month_lengths_, SHAPE(month_lengths_)) 96 102 ENDIF 97 103 98 104 IF (PRESENT(start_date_)) THEN 99 CALL cxios_set_calendar_wrapper_start_date(calendar_wrapper_hdl%daddr, start_date_, len(start_date_)) 105 CALL cxios_set_calendar_wrapper_start_date & 106 (calendar_wrapper_hdl%daddr, start_date_, len(start_date_)) 100 107 ENDIF 101 108 102 109 IF (PRESENT(time_origin_)) THEN 103 CALL cxios_set_calendar_wrapper_time_origin(calendar_wrapper_hdl%daddr, time_origin_, len(time_origin_)) 110 CALL cxios_set_calendar_wrapper_time_origin & 111 (calendar_wrapper_hdl%daddr, time_origin_, len(time_origin_)) 104 112 ENDIF 105 113 106 114 IF (PRESENT(timestep_)) THEN 107 CALL cxios_set_calendar_wrapper_timestep(calendar_wrapper_hdl%daddr, timestep_) 115 CALL cxios_set_calendar_wrapper_timestep & 116 (calendar_wrapper_hdl%daddr, timestep_) 108 117 ENDIF 109 118 110 119 IF (PRESENT(type_)) THEN 111 CALL cxios_set_calendar_wrapper_type(calendar_wrapper_hdl%daddr, type_, len(type_)) 120 CALL cxios_set_calendar_wrapper_type & 121 (calendar_wrapper_hdl%daddr, type_, len(type_)) 112 122 ENDIF 113 123 114 124 IF (PRESENT(year_length_)) THEN 115 CALL cxios_set_calendar_wrapper_year_length(calendar_wrapper_hdl%daddr, year_length_) 125 CALL cxios_set_calendar_wrapper_year_length & 126 (calendar_wrapper_hdl%daddr, year_length_) 116 127 ENDIF 117 128 … … 136 147 INTEGER , OPTIONAL, INTENT(OUT) :: year_length 137 148 138 CALL xios(get_calendar_wrapper_handle)(calendar_wrapper_id,calendar_wrapper_hdl) 149 CALL xios(get_calendar_wrapper_handle) & 150 (calendar_wrapper_id,calendar_wrapper_hdl) 139 151 CALL xios(get_calendar_wrapper_attr_hdl_) & 140 152 ( calendar_wrapper_hdl, day_length, leap_year_drift, leap_year_drift_offset, leap_year_month & … … 184 196 185 197 IF (PRESENT(day_length_)) THEN 186 CALL cxios_get_calendar_wrapper_day_length(calendar_wrapper_hdl%daddr, day_length_) 198 CALL cxios_get_calendar_wrapper_day_length & 199 (calendar_wrapper_hdl%daddr, day_length_) 187 200 ENDIF 188 201 189 202 IF (PRESENT(leap_year_drift_)) THEN 190 CALL cxios_get_calendar_wrapper_leap_year_drift(calendar_wrapper_hdl%daddr, leap_year_drift_) 203 CALL cxios_get_calendar_wrapper_leap_year_drift & 204 (calendar_wrapper_hdl%daddr, leap_year_drift_) 191 205 ENDIF 192 206 193 207 IF (PRESENT(leap_year_drift_offset_)) THEN 194 CALL cxios_get_calendar_wrapper_leap_year_drift_offset(calendar_wrapper_hdl%daddr, leap_year_drift_offset_) 208 CALL cxios_get_calendar_wrapper_leap_year_drift_offset & 209 (calendar_wrapper_hdl%daddr, leap_year_drift_offset_) 195 210 ENDIF 196 211 197 212 IF (PRESENT(leap_year_month_)) THEN 198 CALL cxios_get_calendar_wrapper_leap_year_month(calendar_wrapper_hdl%daddr, leap_year_month_) 213 CALL cxios_get_calendar_wrapper_leap_year_month & 214 (calendar_wrapper_hdl%daddr, leap_year_month_) 199 215 ENDIF 200 216 201 217 IF (PRESENT(month_lengths_)) THEN 202 CALL cxios_get_calendar_wrapper_month_lengths(calendar_wrapper_hdl%daddr, month_lengths_, SHAPE(month_lengths_)) 218 CALL cxios_get_calendar_wrapper_month_lengths & 219 (calendar_wrapper_hdl%daddr, month_lengths_, SHAPE(month_lengths_)) 203 220 ENDIF 204 221 205 222 IF (PRESENT(start_date_)) THEN 206 CALL cxios_get_calendar_wrapper_start_date(calendar_wrapper_hdl%daddr, start_date_, len(start_date_)) 223 CALL cxios_get_calendar_wrapper_start_date & 224 (calendar_wrapper_hdl%daddr, start_date_, len(start_date_)) 207 225 ENDIF 208 226 209 227 IF (PRESENT(time_origin_)) THEN 210 CALL cxios_get_calendar_wrapper_time_origin(calendar_wrapper_hdl%daddr, time_origin_, len(time_origin_)) 228 CALL cxios_get_calendar_wrapper_time_origin & 229 (calendar_wrapper_hdl%daddr, time_origin_, len(time_origin_)) 211 230 ENDIF 212 231 213 232 IF (PRESENT(timestep_)) THEN 214 CALL cxios_get_calendar_wrapper_timestep(calendar_wrapper_hdl%daddr, timestep_) 233 CALL cxios_get_calendar_wrapper_timestep & 234 (calendar_wrapper_hdl%daddr, timestep_) 215 235 ENDIF 216 236 217 237 IF (PRESENT(type_)) THEN 218 CALL cxios_get_calendar_wrapper_type(calendar_wrapper_hdl%daddr, type_, len(type_)) 238 CALL cxios_get_calendar_wrapper_type & 239 (calendar_wrapper_hdl%daddr, type_, len(type_)) 219 240 ENDIF 220 241 221 242 IF (PRESENT(year_length_)) THEN 222 CALL cxios_get_calendar_wrapper_year_length(calendar_wrapper_hdl%daddr, year_length_) 243 CALL cxios_get_calendar_wrapper_year_length & 244 (calendar_wrapper_hdl%daddr, year_length_) 223 245 ENDIF 224 246 … … 253 275 LOGICAL(KIND=C_BOOL) :: year_length_tmp 254 276 255 CALL xios(get_calendar_wrapper_handle)(calendar_wrapper_id,calendar_wrapper_hdl) 277 CALL xios(get_calendar_wrapper_handle) & 278 (calendar_wrapper_id,calendar_wrapper_hdl) 256 279 CALL xios(is_defined_calendar_wrapper_attr_hdl_) & 257 280 ( calendar_wrapper_hdl, day_length, leap_year_drift, leap_year_drift_offset, leap_year_month & … … 321 344 322 345 IF (PRESENT(day_length_)) THEN 323 day_length__tmp = cxios_is_defined_calendar_wrapper_day_length(calendar_wrapper_hdl%daddr) 346 day_length__tmp = cxios_is_defined_calendar_wrapper_day_length & 347 (calendar_wrapper_hdl%daddr) 324 348 day_length_ = day_length__tmp 325 349 ENDIF 326 350 327 351 IF (PRESENT(leap_year_drift_)) THEN 328 leap_year_drift__tmp = cxios_is_defined_calendar_wrapper_leap_year_drift(calendar_wrapper_hdl%daddr) 352 leap_year_drift__tmp = cxios_is_defined_calendar_wrapper_leap_year_drift & 353 (calendar_wrapper_hdl%daddr) 329 354 leap_year_drift_ = leap_year_drift__tmp 330 355 ENDIF 331 356 332 357 IF (PRESENT(leap_year_drift_offset_)) THEN 333 leap_year_drift_offset__tmp = cxios_is_defined_calendar_wrapper_leap_year_drift_offset(calendar_wrapper_hdl%daddr) 358 leap_year_drift_offset__tmp = cxios_is_defined_calendar_wrapper_leap_year_drift_offset & 359 (calendar_wrapper_hdl%daddr) 334 360 leap_year_drift_offset_ = leap_year_drift_offset__tmp 335 361 ENDIF 336 362 337 363 IF (PRESENT(leap_year_month_)) THEN 338 leap_year_month__tmp = cxios_is_defined_calendar_wrapper_leap_year_month(calendar_wrapper_hdl%daddr) 364 leap_year_month__tmp = cxios_is_defined_calendar_wrapper_leap_year_month & 365 (calendar_wrapper_hdl%daddr) 339 366 leap_year_month_ = leap_year_month__tmp 340 367 ENDIF 341 368 342 369 IF (PRESENT(month_lengths_)) THEN 343 month_lengths__tmp = cxios_is_defined_calendar_wrapper_month_lengths(calendar_wrapper_hdl%daddr) 370 month_lengths__tmp = cxios_is_defined_calendar_wrapper_month_lengths & 371 (calendar_wrapper_hdl%daddr) 344 372 month_lengths_ = month_lengths__tmp 345 373 ENDIF 346 374 347 375 IF (PRESENT(start_date_)) THEN 348 start_date__tmp = cxios_is_defined_calendar_wrapper_start_date(calendar_wrapper_hdl%daddr) 376 start_date__tmp = cxios_is_defined_calendar_wrapper_start_date & 377 (calendar_wrapper_hdl%daddr) 349 378 start_date_ = start_date__tmp 350 379 ENDIF 351 380 352 381 IF (PRESENT(time_origin_)) THEN 353 time_origin__tmp = cxios_is_defined_calendar_wrapper_time_origin(calendar_wrapper_hdl%daddr) 382 time_origin__tmp = cxios_is_defined_calendar_wrapper_time_origin & 383 (calendar_wrapper_hdl%daddr) 354 384 time_origin_ = time_origin__tmp 355 385 ENDIF 356 386 357 387 IF (PRESENT(timestep_)) THEN 358 timestep__tmp = cxios_is_defined_calendar_wrapper_timestep(calendar_wrapper_hdl%daddr) 388 timestep__tmp = cxios_is_defined_calendar_wrapper_timestep & 389 (calendar_wrapper_hdl%daddr) 359 390 timestep_ = timestep__tmp 360 391 ENDIF 361 392 362 393 IF (PRESENT(type_)) THEN 363 type__tmp = cxios_is_defined_calendar_wrapper_type(calendar_wrapper_hdl%daddr) 394 type__tmp = cxios_is_defined_calendar_wrapper_type & 395 (calendar_wrapper_hdl%daddr) 364 396 type_ = type__tmp 365 397 ENDIF 366 398 367 399 IF (PRESENT(year_length_)) THEN 368 year_length__tmp = cxios_is_defined_calendar_wrapper_year_length(calendar_wrapper_hdl%daddr) 400 year_length__tmp = cxios_is_defined_calendar_wrapper_year_length & 401 (calendar_wrapper_hdl%daddr) 369 402 year_length_ = year_length__tmp 370 403 ENDIF -
XIOS/trunk/src/interface/fortran_attr/icompute_connectivity_domain_attr.F90
r934 r966 22 22 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 23 23 24 CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 24 CALL xios(get_compute_connectivity_domain_handle) & 25 (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 25 26 CALL xios(set_compute_connectivity_domain_attr_hdl_) & 26 27 ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) … … 54 55 55 56 IF (PRESENT(local_neighbor_)) THEN 56 CALL cxios_set_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 57 CALL cxios_set_compute_connectivity_domain_local_neighbor & 58 (compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 57 59 ENDIF 58 60 59 61 IF (PRESENT(n_neighbor_)) THEN 60 CALL cxios_set_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 62 CALL cxios_set_compute_connectivity_domain_n_neighbor & 63 (compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 61 64 ENDIF 62 65 63 66 IF (PRESENT(n_neighbor_max_)) THEN 64 CALL cxios_set_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 67 CALL cxios_set_compute_connectivity_domain_n_neighbor_max & 68 (compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 65 69 ENDIF 66 70 67 71 IF (PRESENT(type_)) THEN 68 CALL cxios_set_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr, type_, len(type_)) 72 CALL cxios_set_compute_connectivity_domain_type & 73 (compute_connectivity_domain_hdl%daddr, type_, len(type_)) 69 74 ENDIF 70 75 … … 82 87 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 83 88 84 CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 89 CALL xios(get_compute_connectivity_domain_handle) & 90 (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 85 91 CALL xios(get_compute_connectivity_domain_attr_hdl_) & 86 92 ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) … … 114 120 115 121 IF (PRESENT(local_neighbor_)) THEN 116 CALL cxios_get_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 122 CALL cxios_get_compute_connectivity_domain_local_neighbor & 123 (compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 117 124 ENDIF 118 125 119 126 IF (PRESENT(n_neighbor_)) THEN 120 CALL cxios_get_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 127 CALL cxios_get_compute_connectivity_domain_n_neighbor & 128 (compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 121 129 ENDIF 122 130 123 131 IF (PRESENT(n_neighbor_max_)) THEN 124 CALL cxios_get_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 132 CALL cxios_get_compute_connectivity_domain_n_neighbor_max & 133 (compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 125 134 ENDIF 126 135 127 136 IF (PRESENT(type_)) THEN 128 CALL cxios_get_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr, type_, len(type_)) 137 CALL cxios_get_compute_connectivity_domain_type & 138 (compute_connectivity_domain_hdl%daddr, type_, len(type_)) 129 139 ENDIF 130 140 … … 146 156 LOGICAL(KIND=C_BOOL) :: type_tmp 147 157 148 CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 158 CALL xios(get_compute_connectivity_domain_handle) & 159 (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 149 160 CALL xios(is_defined_compute_connectivity_domain_attr_hdl_) & 150 161 ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) … … 186 197 187 198 IF (PRESENT(local_neighbor_)) THEN 188 local_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr) 199 local_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_local_neighbor & 200 (compute_connectivity_domain_hdl%daddr) 189 201 local_neighbor_ = local_neighbor__tmp 190 202 ENDIF 191 203 192 204 IF (PRESENT(n_neighbor_)) THEN 193 n_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr) 205 n_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor & 206 (compute_connectivity_domain_hdl%daddr) 194 207 n_neighbor_ = n_neighbor__tmp 195 208 ENDIF 196 209 197 210 IF (PRESENT(n_neighbor_max_)) THEN 198 n_neighbor_max__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr) 211 n_neighbor_max__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor_max & 212 (compute_connectivity_domain_hdl%daddr) 199 213 n_neighbor_max_ = n_neighbor_max__tmp 200 214 ENDIF 201 215 202 216 IF (PRESENT(type_)) THEN 203 type__tmp = cxios_is_defined_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr) 217 type__tmp = cxios_is_defined_compute_connectivity_domain_type & 218 (compute_connectivity_domain_hdl%daddr) 204 219 type_ = type__tmp 205 220 ENDIF -
XIOS/trunk/src/interface/fortran_attr/icontext_attr.F90
r581 r966 19 19 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: output_dir 20 20 21 CALL xios(get_context_handle)(context_id,context_hdl) 21 CALL xios(get_context_handle) & 22 (context_id,context_hdl) 22 23 CALL xios(set_context_attr_hdl_) & 23 24 ( context_hdl, output_dir ) … … 45 46 46 47 IF (PRESENT(output_dir_)) THEN 47 CALL cxios_set_context_output_dir(context_hdl%daddr, output_dir_, len(output_dir_)) 48 CALL cxios_set_context_output_dir & 49 (context_hdl%daddr, output_dir_, len(output_dir_)) 48 50 ENDIF 49 51 … … 58 60 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: output_dir 59 61 60 CALL xios(get_context_handle)(context_id,context_hdl) 62 CALL xios(get_context_handle) & 63 (context_id,context_hdl) 61 64 CALL xios(get_context_attr_hdl_) & 62 65 ( context_hdl, output_dir ) … … 84 87 85 88 IF (PRESENT(output_dir_)) THEN 86 CALL cxios_get_context_output_dir(context_hdl%daddr, output_dir_, len(output_dir_)) 89 CALL cxios_get_context_output_dir & 90 (context_hdl%daddr, output_dir_, len(output_dir_)) 87 91 ENDIF 88 92 … … 98 102 LOGICAL(KIND=C_BOOL) :: output_dir_tmp 99 103 100 CALL xios(get_context_handle)(context_id,context_hdl) 104 CALL xios(get_context_handle) & 105 (context_id,context_hdl) 101 106 CALL xios(is_defined_context_attr_hdl_) & 102 107 ( context_hdl, output_dir ) … … 126 131 127 132 IF (PRESENT(output_dir_)) THEN 128 output_dir__tmp = cxios_is_defined_context_output_dir(context_hdl%daddr) 133 output_dir__tmp = cxios_is_defined_context_output_dir & 134 (context_hdl%daddr) 129 135 output_dir_ = output_dir__tmp 130 136 ENDIF -
XIOS/trunk/src/interface/fortran_attr/idomain_attr.F90
r789 r966 55 55 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 56 56 57 CALL xios(get_domain_handle)(domain_id,domain_hdl) 57 CALL xios(get_domain_handle) & 58 (domain_id,domain_hdl) 58 59 CALL xios(set_domain_attr_hdl_) & 59 60 ( domain_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim, data_i_index & … … 160 161 161 162 IF (PRESENT(area_)) THEN 162 CALL cxios_set_domain_area(domain_hdl%daddr, area_, SHAPE(area_)) 163 CALL cxios_set_domain_area & 164 (domain_hdl%daddr, area_, SHAPE(area_)) 163 165 ENDIF 164 166 165 167 IF (PRESENT(bounds_lat_1d_)) THEN 166 CALL cxios_set_domain_bounds_lat_1d(domain_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 168 CALL cxios_set_domain_bounds_lat_1d & 169 (domain_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 167 170 ENDIF 168 171 169 172 IF (PRESENT(bounds_lat_2d_)) THEN 170 CALL cxios_set_domain_bounds_lat_2d(domain_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 173 CALL cxios_set_domain_bounds_lat_2d & 174 (domain_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 171 175 ENDIF 172 176 173 177 IF (PRESENT(bounds_lon_1d_)) THEN 174 CALL cxios_set_domain_bounds_lon_1d(domain_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 178 CALL cxios_set_domain_bounds_lon_1d & 179 (domain_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 175 180 ENDIF 176 181 177 182 IF (PRESENT(bounds_lon_2d_)) THEN 178 CALL cxios_set_domain_bounds_lon_2d(domain_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 183 CALL cxios_set_domain_bounds_lon_2d & 184 (domain_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 179 185 ENDIF 180 186 181 187 IF (PRESENT(data_dim_)) THEN 182 CALL cxios_set_domain_data_dim(domain_hdl%daddr, data_dim_) 188 CALL cxios_set_domain_data_dim & 189 (domain_hdl%daddr, data_dim_) 183 190 ENDIF 184 191 185 192 IF (PRESENT(data_i_index_)) THEN 186 CALL cxios_set_domain_data_i_index(domain_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 193 CALL cxios_set_domain_data_i_index & 194 (domain_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 187 195 ENDIF 188 196 189 197 IF (PRESENT(data_ibegin_)) THEN 190 CALL cxios_set_domain_data_ibegin(domain_hdl%daddr, data_ibegin_) 198 CALL cxios_set_domain_data_ibegin & 199 (domain_hdl%daddr, data_ibegin_) 191 200 ENDIF 192 201 193 202 IF (PRESENT(data_j_index_)) THEN 194 CALL cxios_set_domain_data_j_index(domain_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 203 CALL cxios_set_domain_data_j_index & 204 (domain_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 195 205 ENDIF 196 206 197 207 IF (PRESENT(data_jbegin_)) THEN 198 CALL cxios_set_domain_data_jbegin(domain_hdl%daddr, data_jbegin_) 208 CALL cxios_set_domain_data_jbegin & 209 (domain_hdl%daddr, data_jbegin_) 199 210 ENDIF 200 211 201 212 IF (PRESENT(data_ni_)) THEN 202 CALL cxios_set_domain_data_ni(domain_hdl%daddr, data_ni_) 213 CALL cxios_set_domain_data_ni & 214 (domain_hdl%daddr, data_ni_) 203 215 ENDIF 204 216 205 217 IF (PRESENT(data_nj_)) THEN 206 CALL cxios_set_domain_data_nj(domain_hdl%daddr, data_nj_) 218 CALL cxios_set_domain_data_nj & 219 (domain_hdl%daddr, data_nj_) 207 220 ENDIF 208 221 209 222 IF (PRESENT(domain_ref_)) THEN 210 CALL cxios_set_domain_domain_ref(domain_hdl%daddr, domain_ref_, len(domain_ref_)) 223 CALL cxios_set_domain_domain_ref & 224 (domain_hdl%daddr, domain_ref_, len(domain_ref_)) 211 225 ENDIF 212 226 213 227 IF (PRESENT(i_index_)) THEN 214 CALL cxios_set_domain_i_index(domain_hdl%daddr, i_index_, SHAPE(i_index_)) 228 CALL cxios_set_domain_i_index & 229 (domain_hdl%daddr, i_index_, SHAPE(i_index_)) 215 230 ENDIF 216 231 217 232 IF (PRESENT(ibegin_)) THEN 218 CALL cxios_set_domain_ibegin(domain_hdl%daddr, ibegin_) 233 CALL cxios_set_domain_ibegin & 234 (domain_hdl%daddr, ibegin_) 219 235 ENDIF 220 236 221 237 IF (PRESENT(j_index_)) THEN 222 CALL cxios_set_domain_j_index(domain_hdl%daddr, j_index_, SHAPE(j_index_)) 238 CALL cxios_set_domain_j_index & 239 (domain_hdl%daddr, j_index_, SHAPE(j_index_)) 223 240 ENDIF 224 241 225 242 IF (PRESENT(jbegin_)) THEN 226 CALL cxios_set_domain_jbegin(domain_hdl%daddr, jbegin_) 243 CALL cxios_set_domain_jbegin & 244 (domain_hdl%daddr, jbegin_) 227 245 ENDIF 228 246 229 247 IF (PRESENT(latvalue_1d_)) THEN 230 CALL cxios_set_domain_latvalue_1d(domain_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 248 CALL cxios_set_domain_latvalue_1d & 249 (domain_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 231 250 ENDIF 232 251 233 252 IF (PRESENT(latvalue_2d_)) THEN 234 CALL cxios_set_domain_latvalue_2d(domain_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 253 CALL cxios_set_domain_latvalue_2d & 254 (domain_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 235 255 ENDIF 236 256 237 257 IF (PRESENT(long_name_)) THEN 238 CALL cxios_set_domain_long_name(domain_hdl%daddr, long_name_, len(long_name_)) 258 CALL cxios_set_domain_long_name & 259 (domain_hdl%daddr, long_name_, len(long_name_)) 239 260 ENDIF 240 261 241 262 IF (PRESENT(lonvalue_1d_)) THEN 242 CALL cxios_set_domain_lonvalue_1d(domain_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 263 CALL cxios_set_domain_lonvalue_1d & 264 (domain_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 243 265 ENDIF 244 266 245 267 IF (PRESENT(lonvalue_2d_)) THEN 246 CALL cxios_set_domain_lonvalue_2d(domain_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 268 CALL cxios_set_domain_lonvalue_2d & 269 (domain_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 247 270 ENDIF 248 271 … … 250 273 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 251 274 mask_1d__tmp = mask_1d_ 252 CALL cxios_set_domain_mask_1d(domain_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 275 CALL cxios_set_domain_mask_1d & 276 (domain_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 253 277 ENDIF 254 278 … … 256 280 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 257 281 mask_2d__tmp = mask_2d_ 258 CALL cxios_set_domain_mask_2d(domain_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 282 CALL cxios_set_domain_mask_2d & 283 (domain_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 259 284 ENDIF 260 285 261 286 IF (PRESENT(name_)) THEN 262 CALL cxios_set_domain_name(domain_hdl%daddr, name_, len(name_)) 287 CALL cxios_set_domain_name & 288 (domain_hdl%daddr, name_, len(name_)) 263 289 ENDIF 264 290 265 291 IF (PRESENT(ni_)) THEN 266 CALL cxios_set_domain_ni(domain_hdl%daddr, ni_) 292 CALL cxios_set_domain_ni & 293 (domain_hdl%daddr, ni_) 267 294 ENDIF 268 295 269 296 IF (PRESENT(ni_glo_)) THEN 270 CALL cxios_set_domain_ni_glo(domain_hdl%daddr, ni_glo_) 297 CALL cxios_set_domain_ni_glo & 298 (domain_hdl%daddr, ni_glo_) 271 299 ENDIF 272 300 273 301 IF (PRESENT(nj_)) THEN 274 CALL cxios_set_domain_nj(domain_hdl%daddr, nj_) 302 CALL cxios_set_domain_nj & 303 (domain_hdl%daddr, nj_) 275 304 ENDIF 276 305 277 306 IF (PRESENT(nj_glo_)) THEN 278 CALL cxios_set_domain_nj_glo(domain_hdl%daddr, nj_glo_) 307 CALL cxios_set_domain_nj_glo & 308 (domain_hdl%daddr, nj_glo_) 279 309 ENDIF 280 310 281 311 IF (PRESENT(nvertex_)) THEN 282 CALL cxios_set_domain_nvertex(domain_hdl%daddr, nvertex_) 312 CALL cxios_set_domain_nvertex & 313 (domain_hdl%daddr, nvertex_) 283 314 ENDIF 284 315 285 316 IF (PRESENT(standard_name_)) THEN 286 CALL cxios_set_domain_standard_name(domain_hdl%daddr, standard_name_, len(standard_name_)) 317 CALL cxios_set_domain_standard_name & 318 (domain_hdl%daddr, standard_name_, len(standard_name_)) 287 319 ENDIF 288 320 289 321 IF (PRESENT(type_)) THEN 290 CALL cxios_set_domain_type(domain_hdl%daddr, type_, len(type_)) 322 CALL cxios_set_domain_type & 323 (domain_hdl%daddr, type_, len(type_)) 291 324 ENDIF 292 325 … … 337 370 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 338 371 339 CALL xios(get_domain_handle)(domain_id,domain_hdl) 372 CALL xios(get_domain_handle) & 373 (domain_id,domain_hdl) 340 374 CALL xios(get_domain_attr_hdl_) & 341 375 ( domain_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim, data_i_index & … … 442 476 443 477 IF (PRESENT(area_)) THEN 444 CALL cxios_get_domain_area(domain_hdl%daddr, area_, SHAPE(area_)) 478 CALL cxios_get_domain_area & 479 (domain_hdl%daddr, area_, SHAPE(area_)) 445 480 ENDIF 446 481 447 482 IF (PRESENT(bounds_lat_1d_)) THEN 448 CALL cxios_get_domain_bounds_lat_1d(domain_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 483 CALL cxios_get_domain_bounds_lat_1d & 484 (domain_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 449 485 ENDIF 450 486 451 487 IF (PRESENT(bounds_lat_2d_)) THEN 452 CALL cxios_get_domain_bounds_lat_2d(domain_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 488 CALL cxios_get_domain_bounds_lat_2d & 489 (domain_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 453 490 ENDIF 454 491 455 492 IF (PRESENT(bounds_lon_1d_)) THEN 456 CALL cxios_get_domain_bounds_lon_1d(domain_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 493 CALL cxios_get_domain_bounds_lon_1d & 494 (domain_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 457 495 ENDIF 458 496 459 497 IF (PRESENT(bounds_lon_2d_)) THEN 460 CALL cxios_get_domain_bounds_lon_2d(domain_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 498 CALL cxios_get_domain_bounds_lon_2d & 499 (domain_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 461 500 ENDIF 462 501 463 502 IF (PRESENT(data_dim_)) THEN 464 CALL cxios_get_domain_data_dim(domain_hdl%daddr, data_dim_) 503 CALL cxios_get_domain_data_dim & 504 (domain_hdl%daddr, data_dim_) 465 505 ENDIF 466 506 467 507 IF (PRESENT(data_i_index_)) THEN 468 CALL cxios_get_domain_data_i_index(domain_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 508 CALL cxios_get_domain_data_i_index & 509 (domain_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 469 510 ENDIF 470 511 471 512 IF (PRESENT(data_ibegin_)) THEN 472 CALL cxios_get_domain_data_ibegin(domain_hdl%daddr, data_ibegin_) 513 CALL cxios_get_domain_data_ibegin & 514 (domain_hdl%daddr, data_ibegin_) 473 515 ENDIF 474 516 475 517 IF (PRESENT(data_j_index_)) THEN 476 CALL cxios_get_domain_data_j_index(domain_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 518 CALL cxios_get_domain_data_j_index & 519 (domain_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 477 520 ENDIF 478 521 479 522 IF (PRESENT(data_jbegin_)) THEN 480 CALL cxios_get_domain_data_jbegin(domain_hdl%daddr, data_jbegin_) 523 CALL cxios_get_domain_data_jbegin & 524 (domain_hdl%daddr, data_jbegin_) 481 525 ENDIF 482 526 483 527 IF (PRESENT(data_ni_)) THEN 484 CALL cxios_get_domain_data_ni(domain_hdl%daddr, data_ni_) 528 CALL cxios_get_domain_data_ni & 529 (domain_hdl%daddr, data_ni_) 485 530 ENDIF 486 531 487 532 IF (PRESENT(data_nj_)) THEN 488 CALL cxios_get_domain_data_nj(domain_hdl%daddr, data_nj_) 533 CALL cxios_get_domain_data_nj & 534 (domain_hdl%daddr, data_nj_) 489 535 ENDIF 490 536 491 537 IF (PRESENT(domain_ref_)) THEN 492 CALL cxios_get_domain_domain_ref(domain_hdl%daddr, domain_ref_, len(domain_ref_)) 538 CALL cxios_get_domain_domain_ref & 539 (domain_hdl%daddr, domain_ref_, len(domain_ref_)) 493 540 ENDIF 494 541 495 542 IF (PRESENT(i_index_)) THEN 496 CALL cxios_get_domain_i_index(domain_hdl%daddr, i_index_, SHAPE(i_index_)) 543 CALL cxios_get_domain_i_index & 544 (domain_hdl%daddr, i_index_, SHAPE(i_index_)) 497 545 ENDIF 498 546 499 547 IF (PRESENT(ibegin_)) THEN 500 CALL cxios_get_domain_ibegin(domain_hdl%daddr, ibegin_) 548 CALL cxios_get_domain_ibegin & 549 (domain_hdl%daddr, ibegin_) 501 550 ENDIF 502 551 503 552 IF (PRESENT(j_index_)) THEN 504 CALL cxios_get_domain_j_index(domain_hdl%daddr, j_index_, SHAPE(j_index_)) 553 CALL cxios_get_domain_j_index & 554 (domain_hdl%daddr, j_index_, SHAPE(j_index_)) 505 555 ENDIF 506 556 507 557 IF (PRESENT(jbegin_)) THEN 508 CALL cxios_get_domain_jbegin(domain_hdl%daddr, jbegin_) 558 CALL cxios_get_domain_jbegin & 559 (domain_hdl%daddr, jbegin_) 509 560 ENDIF 510 561 511 562 IF (PRESENT(latvalue_1d_)) THEN 512 CALL cxios_get_domain_latvalue_1d(domain_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 563 CALL cxios_get_domain_latvalue_1d & 564 (domain_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 513 565 ENDIF 514 566 515 567 IF (PRESENT(latvalue_2d_)) THEN 516 CALL cxios_get_domain_latvalue_2d(domain_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 568 CALL cxios_get_domain_latvalue_2d & 569 (domain_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 517 570 ENDIF 518 571 519 572 IF (PRESENT(long_name_)) THEN 520 CALL cxios_get_domain_long_name(domain_hdl%daddr, long_name_, len(long_name_)) 573 CALL cxios_get_domain_long_name & 574 (domain_hdl%daddr, long_name_, len(long_name_)) 521 575 ENDIF 522 576 523 577 IF (PRESENT(lonvalue_1d_)) THEN 524 CALL cxios_get_domain_lonvalue_1d(domain_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 578 CALL cxios_get_domain_lonvalue_1d & 579 (domain_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 525 580 ENDIF 526 581 527 582 IF (PRESENT(lonvalue_2d_)) THEN 528 CALL cxios_get_domain_lonvalue_2d(domain_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 583 CALL cxios_get_domain_lonvalue_2d & 584 (domain_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 529 585 ENDIF 530 586 531 587 IF (PRESENT(mask_1d_)) THEN 532 588 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 533 CALL cxios_get_domain_mask_1d(domain_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 589 CALL cxios_get_domain_mask_1d & 590 (domain_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 534 591 mask_1d_ = mask_1d__tmp 535 592 ENDIF … … 537 594 IF (PRESENT(mask_2d_)) THEN 538 595 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 539 CALL cxios_get_domain_mask_2d(domain_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 596 CALL cxios_get_domain_mask_2d & 597 (domain_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 540 598 mask_2d_ = mask_2d__tmp 541 599 ENDIF 542 600 543 601 IF (PRESENT(name_)) THEN 544 CALL cxios_get_domain_name(domain_hdl%daddr, name_, len(name_)) 602 CALL cxios_get_domain_name & 603 (domain_hdl%daddr, name_, len(name_)) 545 604 ENDIF 546 605 547 606 IF (PRESENT(ni_)) THEN 548 CALL cxios_get_domain_ni(domain_hdl%daddr, ni_) 607 CALL cxios_get_domain_ni & 608 (domain_hdl%daddr, ni_) 549 609 ENDIF 550 610 551 611 IF (PRESENT(ni_glo_)) THEN 552 CALL cxios_get_domain_ni_glo(domain_hdl%daddr, ni_glo_) 612 CALL cxios_get_domain_ni_glo & 613 (domain_hdl%daddr, ni_glo_) 553 614 ENDIF 554 615 555 616 IF (PRESENT(nj_)) THEN 556 CALL cxios_get_domain_nj(domain_hdl%daddr, nj_) 617 CALL cxios_get_domain_nj & 618 (domain_hdl%daddr, nj_) 557 619 ENDIF 558 620 559 621 IF (PRESENT(nj_glo_)) THEN 560 CALL cxios_get_domain_nj_glo(domain_hdl%daddr, nj_glo_) 622 CALL cxios_get_domain_nj_glo & 623 (domain_hdl%daddr, nj_glo_) 561 624 ENDIF 562 625 563 626 IF (PRESENT(nvertex_)) THEN 564 CALL cxios_get_domain_nvertex(domain_hdl%daddr, nvertex_) 627 CALL cxios_get_domain_nvertex & 628 (domain_hdl%daddr, nvertex_) 565 629 ENDIF 566 630 567 631 IF (PRESENT(standard_name_)) THEN 568 CALL cxios_get_domain_standard_name(domain_hdl%daddr, standard_name_, len(standard_name_)) 632 CALL cxios_get_domain_standard_name & 633 (domain_hdl%daddr, standard_name_, len(standard_name_)) 569 634 ENDIF 570 635 571 636 IF (PRESENT(type_)) THEN 572 CALL cxios_get_domain_type(domain_hdl%daddr, type_, len(type_)) 637 CALL cxios_get_domain_type & 638 (domain_hdl%daddr, type_, len(type_)) 573 639 ENDIF 574 640 … … 649 715 LOGICAL(KIND=C_BOOL) :: type_tmp 650 716 651 CALL xios(get_domain_handle)(domain_id,domain_hdl) 717 CALL xios(get_domain_handle) & 718 (domain_id,domain_hdl) 652 719 CALL xios(is_defined_domain_attr_hdl_) & 653 720 ( domain_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim, data_i_index & … … 814 881 815 882 IF (PRESENT(area_)) THEN 816 area__tmp = cxios_is_defined_domain_area(domain_hdl%daddr) 883 area__tmp = cxios_is_defined_domain_area & 884 (domain_hdl%daddr) 817 885 area_ = area__tmp 818 886 ENDIF 819 887 820 888 IF (PRESENT(bounds_lat_1d_)) THEN 821 bounds_lat_1d__tmp = cxios_is_defined_domain_bounds_lat_1d(domain_hdl%daddr) 889 bounds_lat_1d__tmp = cxios_is_defined_domain_bounds_lat_1d & 890 (domain_hdl%daddr) 822 891 bounds_lat_1d_ = bounds_lat_1d__tmp 823 892 ENDIF 824 893 825 894 IF (PRESENT(bounds_lat_2d_)) THEN 826 bounds_lat_2d__tmp = cxios_is_defined_domain_bounds_lat_2d(domain_hdl%daddr) 895 bounds_lat_2d__tmp = cxios_is_defined_domain_bounds_lat_2d & 896 (domain_hdl%daddr) 827 897 bounds_lat_2d_ = bounds_lat_2d__tmp 828 898 ENDIF 829 899 830 900 IF (PRESENT(bounds_lon_1d_)) THEN 831 bounds_lon_1d__tmp = cxios_is_defined_domain_bounds_lon_1d(domain_hdl%daddr) 901 bounds_lon_1d__tmp = cxios_is_defined_domain_bounds_lon_1d & 902 (domain_hdl%daddr) 832 903 bounds_lon_1d_ = bounds_lon_1d__tmp 833 904 ENDIF 834 905 835 906 IF (PRESENT(bounds_lon_2d_)) THEN 836 bounds_lon_2d__tmp = cxios_is_defined_domain_bounds_lon_2d(domain_hdl%daddr) 907 bounds_lon_2d__tmp = cxios_is_defined_domain_bounds_lon_2d & 908 (domain_hdl%daddr) 837 909 bounds_lon_2d_ = bounds_lon_2d__tmp 838 910 ENDIF 839 911 840 912 IF (PRESENT(data_dim_)) THEN 841 data_dim__tmp = cxios_is_defined_domain_data_dim(domain_hdl%daddr) 913 data_dim__tmp = cxios_is_defined_domain_data_dim & 914 (domain_hdl%daddr) 842 915 data_dim_ = data_dim__tmp 843 916 ENDIF 844 917 845 918 IF (PRESENT(data_i_index_)) THEN 846 data_i_index__tmp = cxios_is_defined_domain_data_i_index(domain_hdl%daddr) 919 data_i_index__tmp = cxios_is_defined_domain_data_i_index & 920 (domain_hdl%daddr) 847 921 data_i_index_ = data_i_index__tmp 848 922 ENDIF 849 923 850 924 IF (PRESENT(data_ibegin_)) THEN 851 data_ibegin__tmp = cxios_is_defined_domain_data_ibegin(domain_hdl%daddr) 925 data_ibegin__tmp = cxios_is_defined_domain_data_ibegin & 926 (domain_hdl%daddr) 852 927 data_ibegin_ = data_ibegin__tmp 853 928 ENDIF 854 929 855 930 IF (PRESENT(data_j_index_)) THEN 856 data_j_index__tmp = cxios_is_defined_domain_data_j_index(domain_hdl%daddr) 931 data_j_index__tmp = cxios_is_defined_domain_data_j_index & 932 (domain_hdl%daddr) 857 933 data_j_index_ = data_j_index__tmp 858 934 ENDIF 859 935 860 936 IF (PRESENT(data_jbegin_)) THEN 861 data_jbegin__tmp = cxios_is_defined_domain_data_jbegin(domain_hdl%daddr) 937 data_jbegin__tmp = cxios_is_defined_domain_data_jbegin & 938 (domain_hdl%daddr) 862 939 data_jbegin_ = data_jbegin__tmp 863 940 ENDIF 864 941 865 942 IF (PRESENT(data_ni_)) THEN 866 data_ni__tmp = cxios_is_defined_domain_data_ni(domain_hdl%daddr) 943 data_ni__tmp = cxios_is_defined_domain_data_ni & 944 (domain_hdl%daddr) 867 945 data_ni_ = data_ni__tmp 868 946 ENDIF 869 947 870 948 IF (PRESENT(data_nj_)) THEN 871 data_nj__tmp = cxios_is_defined_domain_data_nj(domain_hdl%daddr) 949 data_nj__tmp = cxios_is_defined_domain_data_nj & 950 (domain_hdl%daddr) 872 951 data_nj_ = data_nj__tmp 873 952 ENDIF 874 953 875 954 IF (PRESENT(domain_ref_)) THEN 876 domain_ref__tmp = cxios_is_defined_domain_domain_ref(domain_hdl%daddr) 955 domain_ref__tmp = cxios_is_defined_domain_domain_ref & 956 (domain_hdl%daddr) 877 957 domain_ref_ = domain_ref__tmp 878 958 ENDIF 879 959 880 960 IF (PRESENT(i_index_)) THEN 881 i_index__tmp = cxios_is_defined_domain_i_index(domain_hdl%daddr) 961 i_index__tmp = cxios_is_defined_domain_i_index & 962 (domain_hdl%daddr) 882 963 i_index_ = i_index__tmp 883 964 ENDIF 884 965 885 966 IF (PRESENT(ibegin_)) THEN 886 ibegin__tmp = cxios_is_defined_domain_ibegin(domain_hdl%daddr) 967 ibegin__tmp = cxios_is_defined_domain_ibegin & 968 (domain_hdl%daddr) 887 969 ibegin_ = ibegin__tmp 888 970 ENDIF 889 971 890 972 IF (PRESENT(j_index_)) THEN 891 j_index__tmp = cxios_is_defined_domain_j_index(domain_hdl%daddr) 973 j_index__tmp = cxios_is_defined_domain_j_index & 974 (domain_hdl%daddr) 892 975 j_index_ = j_index__tmp 893 976 ENDIF 894 977 895 978 IF (PRESENT(jbegin_)) THEN 896 jbegin__tmp = cxios_is_defined_domain_jbegin(domain_hdl%daddr) 979 jbegin__tmp = cxios_is_defined_domain_jbegin & 980 (domain_hdl%daddr) 897 981 jbegin_ = jbegin__tmp 898 982 ENDIF 899 983 900 984 IF (PRESENT(latvalue_1d_)) THEN 901 latvalue_1d__tmp = cxios_is_defined_domain_latvalue_1d(domain_hdl%daddr) 985 latvalue_1d__tmp = cxios_is_defined_domain_latvalue_1d & 986 (domain_hdl%daddr) 902 987 latvalue_1d_ = latvalue_1d__tmp 903 988 ENDIF 904 989 905 990 IF (PRESENT(latvalue_2d_)) THEN 906 latvalue_2d__tmp = cxios_is_defined_domain_latvalue_2d(domain_hdl%daddr) 991 latvalue_2d__tmp = cxios_is_defined_domain_latvalue_2d & 992 (domain_hdl%daddr) 907 993 latvalue_2d_ = latvalue_2d__tmp 908 994 ENDIF 909 995 910 996 IF (PRESENT(long_name_)) THEN 911 long_name__tmp = cxios_is_defined_domain_long_name(domain_hdl%daddr) 997 long_name__tmp = cxios_is_defined_domain_long_name & 998 (domain_hdl%daddr) 912 999 long_name_ = long_name__tmp 913 1000 ENDIF 914 1001 915 1002 IF (PRESENT(lonvalue_1d_)) THEN 916 lonvalue_1d__tmp = cxios_is_defined_domain_lonvalue_1d(domain_hdl%daddr) 1003 lonvalue_1d__tmp = cxios_is_defined_domain_lonvalue_1d & 1004 (domain_hdl%daddr) 917 1005 lonvalue_1d_ = lonvalue_1d__tmp 918 1006 ENDIF 919 1007 920 1008 IF (PRESENT(lonvalue_2d_)) THEN 921 lonvalue_2d__tmp = cxios_is_defined_domain_lonvalue_2d(domain_hdl%daddr) 1009 lonvalue_2d__tmp = cxios_is_defined_domain_lonvalue_2d & 1010 (domain_hdl%daddr) 922 1011 lonvalue_2d_ = lonvalue_2d__tmp 923 1012 ENDIF 924 1013 925 1014 IF (PRESENT(mask_1d_)) THEN 926 mask_1d__tmp = cxios_is_defined_domain_mask_1d(domain_hdl%daddr) 1015 mask_1d__tmp = cxios_is_defined_domain_mask_1d & 1016 (domain_hdl%daddr) 927 1017 mask_1d_ = mask_1d__tmp 928 1018 ENDIF 929 1019 930 1020 IF (PRESENT(mask_2d_)) THEN 931 mask_2d__tmp = cxios_is_defined_domain_mask_2d(domain_hdl%daddr) 1021 mask_2d__tmp = cxios_is_defined_domain_mask_2d & 1022 (domain_hdl%daddr) 932 1023 mask_2d_ = mask_2d__tmp 933 1024 ENDIF 934 1025 935 1026 IF (PRESENT(name_)) THEN 936 name__tmp = cxios_is_defined_domain_name(domain_hdl%daddr) 1027 name__tmp = cxios_is_defined_domain_name & 1028 (domain_hdl%daddr) 937 1029 name_ = name__tmp 938 1030 ENDIF 939 1031 940 1032 IF (PRESENT(ni_)) THEN 941 ni__tmp = cxios_is_defined_domain_ni(domain_hdl%daddr) 1033 ni__tmp = cxios_is_defined_domain_ni & 1034 (domain_hdl%daddr) 942 1035 ni_ = ni__tmp 943 1036 ENDIF 944 1037 945 1038 IF (PRESENT(ni_glo_)) THEN 946 ni_glo__tmp = cxios_is_defined_domain_ni_glo(domain_hdl%daddr) 1039 ni_glo__tmp = cxios_is_defined_domain_ni_glo & 1040 (domain_hdl%daddr) 947 1041 ni_glo_ = ni_glo__tmp 948 1042 ENDIF 949 1043 950 1044 IF (PRESENT(nj_)) THEN 951 nj__tmp = cxios_is_defined_domain_nj(domain_hdl%daddr) 1045 nj__tmp = cxios_is_defined_domain_nj & 1046 (domain_hdl%daddr) 952 1047 nj_ = nj__tmp 953 1048 ENDIF 954 1049 955 1050 IF (PRESENT(nj_glo_)) THEN 956 nj_glo__tmp = cxios_is_defined_domain_nj_glo(domain_hdl%daddr) 1051 nj_glo__tmp = cxios_is_defined_domain_nj_glo & 1052 (domain_hdl%daddr) 957 1053 nj_glo_ = nj_glo__tmp 958 1054 ENDIF 959 1055 960 1056 IF (PRESENT(nvertex_)) THEN 961 nvertex__tmp = cxios_is_defined_domain_nvertex(domain_hdl%daddr) 1057 nvertex__tmp = cxios_is_defined_domain_nvertex & 1058 (domain_hdl%daddr) 962 1059 nvertex_ = nvertex__tmp 963 1060 ENDIF 964 1061 965 1062 IF (PRESENT(standard_name_)) THEN 966 standard_name__tmp = cxios_is_defined_domain_standard_name(domain_hdl%daddr) 1063 standard_name__tmp = cxios_is_defined_domain_standard_name & 1064 (domain_hdl%daddr) 967 1065 standard_name_ = standard_name__tmp 968 1066 ENDIF 969 1067 970 1068 IF (PRESENT(type_)) THEN 971 type__tmp = cxios_is_defined_domain_type(domain_hdl%daddr) 1069 type__tmp = cxios_is_defined_domain_type & 1070 (domain_hdl%daddr) 972 1071 type_ = type__tmp 973 1072 ENDIF -
XIOS/trunk/src/interface/fortran_attr/idomaingroup_attr.F90
r789 r966 56 56 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 57 57 58 CALL xios(get_domaingroup_handle)(domaingroup_id,domaingroup_hdl) 58 CALL xios(get_domaingroup_handle) & 59 (domaingroup_id,domaingroup_hdl) 59 60 CALL xios(set_domaingroup_attr_hdl_) & 60 61 ( domaingroup_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim & … … 163 164 164 165 IF (PRESENT(area_)) THEN 165 CALL cxios_set_domaingroup_area(domaingroup_hdl%daddr, area_, SHAPE(area_)) 166 CALL cxios_set_domaingroup_area & 167 (domaingroup_hdl%daddr, area_, SHAPE(area_)) 166 168 ENDIF 167 169 168 170 IF (PRESENT(bounds_lat_1d_)) THEN 169 CALL cxios_set_domaingroup_bounds_lat_1d(domaingroup_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 171 CALL cxios_set_domaingroup_bounds_lat_1d & 172 (domaingroup_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 170 173 ENDIF 171 174 172 175 IF (PRESENT(bounds_lat_2d_)) THEN 173 CALL cxios_set_domaingroup_bounds_lat_2d(domaingroup_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 176 CALL cxios_set_domaingroup_bounds_lat_2d & 177 (domaingroup_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 174 178 ENDIF 175 179 176 180 IF (PRESENT(bounds_lon_1d_)) THEN 177 CALL cxios_set_domaingroup_bounds_lon_1d(domaingroup_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 181 CALL cxios_set_domaingroup_bounds_lon_1d & 182 (domaingroup_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 178 183 ENDIF 179 184 180 185 IF (PRESENT(bounds_lon_2d_)) THEN 181 CALL cxios_set_domaingroup_bounds_lon_2d(domaingroup_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 186 CALL cxios_set_domaingroup_bounds_lon_2d & 187 (domaingroup_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 182 188 ENDIF 183 189 184 190 IF (PRESENT(data_dim_)) THEN 185 CALL cxios_set_domaingroup_data_dim(domaingroup_hdl%daddr, data_dim_) 191 CALL cxios_set_domaingroup_data_dim & 192 (domaingroup_hdl%daddr, data_dim_) 186 193 ENDIF 187 194 188 195 IF (PRESENT(data_i_index_)) THEN 189 CALL cxios_set_domaingroup_data_i_index(domaingroup_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 196 CALL cxios_set_domaingroup_data_i_index & 197 (domaingroup_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 190 198 ENDIF 191 199 192 200 IF (PRESENT(data_ibegin_)) THEN 193 CALL cxios_set_domaingroup_data_ibegin(domaingroup_hdl%daddr, data_ibegin_) 201 CALL cxios_set_domaingroup_data_ibegin & 202 (domaingroup_hdl%daddr, data_ibegin_) 194 203 ENDIF 195 204 196 205 IF (PRESENT(data_j_index_)) THEN 197 CALL cxios_set_domaingroup_data_j_index(domaingroup_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 206 CALL cxios_set_domaingroup_data_j_index & 207 (domaingroup_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 198 208 ENDIF 199 209 200 210 IF (PRESENT(data_jbegin_)) THEN 201 CALL cxios_set_domaingroup_data_jbegin(domaingroup_hdl%daddr, data_jbegin_) 211 CALL cxios_set_domaingroup_data_jbegin & 212 (domaingroup_hdl%daddr, data_jbegin_) 202 213 ENDIF 203 214 204 215 IF (PRESENT(data_ni_)) THEN 205 CALL cxios_set_domaingroup_data_ni(domaingroup_hdl%daddr, data_ni_) 216 CALL cxios_set_domaingroup_data_ni & 217 (domaingroup_hdl%daddr, data_ni_) 206 218 ENDIF 207 219 208 220 IF (PRESENT(data_nj_)) THEN 209 CALL cxios_set_domaingroup_data_nj(domaingroup_hdl%daddr, data_nj_) 221 CALL cxios_set_domaingroup_data_nj & 222 (domaingroup_hdl%daddr, data_nj_) 210 223 ENDIF 211 224 212 225 IF (PRESENT(domain_ref_)) THEN 213 CALL cxios_set_domaingroup_domain_ref(domaingroup_hdl%daddr, domain_ref_, len(domain_ref_)) 226 CALL cxios_set_domaingroup_domain_ref & 227 (domaingroup_hdl%daddr, domain_ref_, len(domain_ref_)) 214 228 ENDIF 215 229 216 230 IF (PRESENT(group_ref_)) THEN 217 CALL cxios_set_domaingroup_group_ref(domaingroup_hdl%daddr, group_ref_, len(group_ref_)) 231 CALL cxios_set_domaingroup_group_ref & 232 (domaingroup_hdl%daddr, group_ref_, len(group_ref_)) 218 233 ENDIF 219 234 220 235 IF (PRESENT(i_index_)) THEN 221 CALL cxios_set_domaingroup_i_index(domaingroup_hdl%daddr, i_index_, SHAPE(i_index_)) 236 CALL cxios_set_domaingroup_i_index & 237 (domaingroup_hdl%daddr, i_index_, SHAPE(i_index_)) 222 238 ENDIF 223 239 224 240 IF (PRESENT(ibegin_)) THEN 225 CALL cxios_set_domaingroup_ibegin(domaingroup_hdl%daddr, ibegin_) 241 CALL cxios_set_domaingroup_ibegin & 242 (domaingroup_hdl%daddr, ibegin_) 226 243 ENDIF 227 244 228 245 IF (PRESENT(j_index_)) THEN 229 CALL cxios_set_domaingroup_j_index(domaingroup_hdl%daddr, j_index_, SHAPE(j_index_)) 246 CALL cxios_set_domaingroup_j_index & 247 (domaingroup_hdl%daddr, j_index_, SHAPE(j_index_)) 230 248 ENDIF 231 249 232 250 IF (PRESENT(jbegin_)) THEN 233 CALL cxios_set_domaingroup_jbegin(domaingroup_hdl%daddr, jbegin_) 251 CALL cxios_set_domaingroup_jbegin & 252 (domaingroup_hdl%daddr, jbegin_) 234 253 ENDIF 235 254 236 255 IF (PRESENT(latvalue_1d_)) THEN 237 CALL cxios_set_domaingroup_latvalue_1d(domaingroup_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 256 CALL cxios_set_domaingroup_latvalue_1d & 257 (domaingroup_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 238 258 ENDIF 239 259 240 260 IF (PRESENT(latvalue_2d_)) THEN 241 CALL cxios_set_domaingroup_latvalue_2d(domaingroup_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 261 CALL cxios_set_domaingroup_latvalue_2d & 262 (domaingroup_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 242 263 ENDIF 243 264 244 265 IF (PRESENT(long_name_)) THEN 245 CALL cxios_set_domaingroup_long_name(domaingroup_hdl%daddr, long_name_, len(long_name_)) 266 CALL cxios_set_domaingroup_long_name & 267 (domaingroup_hdl%daddr, long_name_, len(long_name_)) 246 268 ENDIF 247 269 248 270 IF (PRESENT(lonvalue_1d_)) THEN 249 CALL cxios_set_domaingroup_lonvalue_1d(domaingroup_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 271 CALL cxios_set_domaingroup_lonvalue_1d & 272 (domaingroup_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 250 273 ENDIF 251 274 252 275 IF (PRESENT(lonvalue_2d_)) THEN 253 CALL cxios_set_domaingroup_lonvalue_2d(domaingroup_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 276 CALL cxios_set_domaingroup_lonvalue_2d & 277 (domaingroup_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 254 278 ENDIF 255 279 … … 257 281 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 258 282 mask_1d__tmp = mask_1d_ 259 CALL cxios_set_domaingroup_mask_1d(domaingroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 283 CALL cxios_set_domaingroup_mask_1d & 284 (domaingroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 260 285 ENDIF 261 286 … … 263 288 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 264 289 mask_2d__tmp = mask_2d_ 265 CALL cxios_set_domaingroup_mask_2d(domaingroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 290 CALL cxios_set_domaingroup_mask_2d & 291 (domaingroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 266 292 ENDIF 267 293 268 294 IF (PRESENT(name_)) THEN 269 CALL cxios_set_domaingroup_name(domaingroup_hdl%daddr, name_, len(name_)) 295 CALL cxios_set_domaingroup_name & 296 (domaingroup_hdl%daddr, name_, len(name_)) 270 297 ENDIF 271 298 272 299 IF (PRESENT(ni_)) THEN 273 CALL cxios_set_domaingroup_ni(domaingroup_hdl%daddr, ni_) 300 CALL cxios_set_domaingroup_ni & 301 (domaingroup_hdl%daddr, ni_) 274 302 ENDIF 275 303 276 304 IF (PRESENT(ni_glo_)) THEN 277 CALL cxios_set_domaingroup_ni_glo(domaingroup_hdl%daddr, ni_glo_) 305 CALL cxios_set_domaingroup_ni_glo & 306 (domaingroup_hdl%daddr, ni_glo_) 278 307 ENDIF 279 308 280 309 IF (PRESENT(nj_)) THEN 281 CALL cxios_set_domaingroup_nj(domaingroup_hdl%daddr, nj_) 310 CALL cxios_set_domaingroup_nj & 311 (domaingroup_hdl%daddr, nj_) 282 312 ENDIF 283 313 284 314 IF (PRESENT(nj_glo_)) THEN 285 CALL cxios_set_domaingroup_nj_glo(domaingroup_hdl%daddr, nj_glo_) 315 CALL cxios_set_domaingroup_nj_glo & 316 (domaingroup_hdl%daddr, nj_glo_) 286 317 ENDIF 287 318 288 319 IF (PRESENT(nvertex_)) THEN 289 CALL cxios_set_domaingroup_nvertex(domaingroup_hdl%daddr, nvertex_) 320 CALL cxios_set_domaingroup_nvertex & 321 (domaingroup_hdl%daddr, nvertex_) 290 322 ENDIF 291 323 292 324 IF (PRESENT(standard_name_)) THEN 293 CALL cxios_set_domaingroup_standard_name(domaingroup_hdl%daddr, standard_name_, len(standard_name_)) 325 CALL cxios_set_domaingroup_standard_name & 326 (domaingroup_hdl%daddr, standard_name_, len(standard_name_)) 294 327 ENDIF 295 328 296 329 IF (PRESENT(type_)) THEN 297 CALL cxios_set_domaingroup_type(domaingroup_hdl%daddr, type_, len(type_)) 330 CALL cxios_set_domaingroup_type & 331 (domaingroup_hdl%daddr, type_, len(type_)) 298 332 ENDIF 299 333 … … 345 379 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 346 380 347 CALL xios(get_domaingroup_handle)(domaingroup_id,domaingroup_hdl) 381 CALL xios(get_domaingroup_handle) & 382 (domaingroup_id,domaingroup_hdl) 348 383 CALL xios(get_domaingroup_attr_hdl_) & 349 384 ( domaingroup_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim & … … 452 487 453 488 IF (PRESENT(area_)) THEN 454 CALL cxios_get_domaingroup_area(domaingroup_hdl%daddr, area_, SHAPE(area_)) 489 CALL cxios_get_domaingroup_area & 490 (domaingroup_hdl%daddr, area_, SHAPE(area_)) 455 491 ENDIF 456 492 457 493 IF (PRESENT(bounds_lat_1d_)) THEN 458 CALL cxios_get_domaingroup_bounds_lat_1d(domaingroup_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 494 CALL cxios_get_domaingroup_bounds_lat_1d & 495 (domaingroup_hdl%daddr, bounds_lat_1d_, SHAPE(bounds_lat_1d_)) 459 496 ENDIF 460 497 461 498 IF (PRESENT(bounds_lat_2d_)) THEN 462 CALL cxios_get_domaingroup_bounds_lat_2d(domaingroup_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 499 CALL cxios_get_domaingroup_bounds_lat_2d & 500 (domaingroup_hdl%daddr, bounds_lat_2d_, SHAPE(bounds_lat_2d_)) 463 501 ENDIF 464 502 465 503 IF (PRESENT(bounds_lon_1d_)) THEN 466 CALL cxios_get_domaingroup_bounds_lon_1d(domaingroup_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 504 CALL cxios_get_domaingroup_bounds_lon_1d & 505 (domaingroup_hdl%daddr, bounds_lon_1d_, SHAPE(bounds_lon_1d_)) 467 506 ENDIF 468 507 469 508 IF (PRESENT(bounds_lon_2d_)) THEN 470 CALL cxios_get_domaingroup_bounds_lon_2d(domaingroup_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 509 CALL cxios_get_domaingroup_bounds_lon_2d & 510 (domaingroup_hdl%daddr, bounds_lon_2d_, SHAPE(bounds_lon_2d_)) 471 511 ENDIF 472 512 473 513 IF (PRESENT(data_dim_)) THEN 474 CALL cxios_get_domaingroup_data_dim(domaingroup_hdl%daddr, data_dim_) 514 CALL cxios_get_domaingroup_data_dim & 515 (domaingroup_hdl%daddr, data_dim_) 475 516 ENDIF 476 517 477 518 IF (PRESENT(data_i_index_)) THEN 478 CALL cxios_get_domaingroup_data_i_index(domaingroup_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 519 CALL cxios_get_domaingroup_data_i_index & 520 (domaingroup_hdl%daddr, data_i_index_, SHAPE(data_i_index_)) 479 521 ENDIF 480 522 481 523 IF (PRESENT(data_ibegin_)) THEN 482 CALL cxios_get_domaingroup_data_ibegin(domaingroup_hdl%daddr, data_ibegin_) 524 CALL cxios_get_domaingroup_data_ibegin & 525 (domaingroup_hdl%daddr, data_ibegin_) 483 526 ENDIF 484 527 485 528 IF (PRESENT(data_j_index_)) THEN 486 CALL cxios_get_domaingroup_data_j_index(domaingroup_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 529 CALL cxios_get_domaingroup_data_j_index & 530 (domaingroup_hdl%daddr, data_j_index_, SHAPE(data_j_index_)) 487 531 ENDIF 488 532 489 533 IF (PRESENT(data_jbegin_)) THEN 490 CALL cxios_get_domaingroup_data_jbegin(domaingroup_hdl%daddr, data_jbegin_) 534 CALL cxios_get_domaingroup_data_jbegin & 535 (domaingroup_hdl%daddr, data_jbegin_) 491 536 ENDIF 492 537 493 538 IF (PRESENT(data_ni_)) THEN 494 CALL cxios_get_domaingroup_data_ni(domaingroup_hdl%daddr, data_ni_) 539 CALL cxios_get_domaingroup_data_ni & 540 (domaingroup_hdl%daddr, data_ni_) 495 541 ENDIF 496 542 497 543 IF (PRESENT(data_nj_)) THEN 498 CALL cxios_get_domaingroup_data_nj(domaingroup_hdl%daddr, data_nj_) 544 CALL cxios_get_domaingroup_data_nj & 545 (domaingroup_hdl%daddr, data_nj_) 499 546 ENDIF 500 547 501 548 IF (PRESENT(domain_ref_)) THEN 502 CALL cxios_get_domaingroup_domain_ref(domaingroup_hdl%daddr, domain_ref_, len(domain_ref_)) 549 CALL cxios_get_domaingroup_domain_ref & 550 (domaingroup_hdl%daddr, domain_ref_, len(domain_ref_)) 503 551 ENDIF 504 552 505 553 IF (PRESENT(group_ref_)) THEN 506 CALL cxios_get_domaingroup_group_ref(domaingroup_hdl%daddr, group_ref_, len(group_ref_)) 554 CALL cxios_get_domaingroup_group_ref & 555 (domaingroup_hdl%daddr, group_ref_, len(group_ref_)) 507 556 ENDIF 508 557 509 558 IF (PRESENT(i_index_)) THEN 510 CALL cxios_get_domaingroup_i_index(domaingroup_hdl%daddr, i_index_, SHAPE(i_index_)) 559 CALL cxios_get_domaingroup_i_index & 560 (domaingroup_hdl%daddr, i_index_, SHAPE(i_index_)) 511 561 ENDIF 512 562 513 563 IF (PRESENT(ibegin_)) THEN 514 CALL cxios_get_domaingroup_ibegin(domaingroup_hdl%daddr, ibegin_) 564 CALL cxios_get_domaingroup_ibegin & 565 (domaingroup_hdl%daddr, ibegin_) 515 566 ENDIF 516 567 517 568 IF (PRESENT(j_index_)) THEN 518 CALL cxios_get_domaingroup_j_index(domaingroup_hdl%daddr, j_index_, SHAPE(j_index_)) 569 CALL cxios_get_domaingroup_j_index & 570 (domaingroup_hdl%daddr, j_index_, SHAPE(j_index_)) 519 571 ENDIF 520 572 521 573 IF (PRESENT(jbegin_)) THEN 522 CALL cxios_get_domaingroup_jbegin(domaingroup_hdl%daddr, jbegin_) 574 CALL cxios_get_domaingroup_jbegin & 575 (domaingroup_hdl%daddr, jbegin_) 523 576 ENDIF 524 577 525 578 IF (PRESENT(latvalue_1d_)) THEN 526 CALL cxios_get_domaingroup_latvalue_1d(domaingroup_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 579 CALL cxios_get_domaingroup_latvalue_1d & 580 (domaingroup_hdl%daddr, latvalue_1d_, SHAPE(latvalue_1d_)) 527 581 ENDIF 528 582 529 583 IF (PRESENT(latvalue_2d_)) THEN 530 CALL cxios_get_domaingroup_latvalue_2d(domaingroup_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 584 CALL cxios_get_domaingroup_latvalue_2d & 585 (domaingroup_hdl%daddr, latvalue_2d_, SHAPE(latvalue_2d_)) 531 586 ENDIF 532 587 533 588 IF (PRESENT(long_name_)) THEN 534 CALL cxios_get_domaingroup_long_name(domaingroup_hdl%daddr, long_name_, len(long_name_)) 589 CALL cxios_get_domaingroup_long_name & 590 (domaingroup_hdl%daddr, long_name_, len(long_name_)) 535 591 ENDIF 536 592 537 593 IF (PRESENT(lonvalue_1d_)) THEN 538 CALL cxios_get_domaingroup_lonvalue_1d(domaingroup_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 594 CALL cxios_get_domaingroup_lonvalue_1d & 595 (domaingroup_hdl%daddr, lonvalue_1d_, SHAPE(lonvalue_1d_)) 539 596 ENDIF 540 597 541 598 IF (PRESENT(lonvalue_2d_)) THEN 542 CALL cxios_get_domaingroup_lonvalue_2d(domaingroup_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 599 CALL cxios_get_domaingroup_lonvalue_2d & 600 (domaingroup_hdl%daddr, lonvalue_2d_, SHAPE(lonvalue_2d_)) 543 601 ENDIF 544 602 545 603 IF (PRESENT(mask_1d_)) THEN 546 604 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 547 CALL cxios_get_domaingroup_mask_1d(domaingroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 605 CALL cxios_get_domaingroup_mask_1d & 606 (domaingroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 548 607 mask_1d_ = mask_1d__tmp 549 608 ENDIF … … 551 610 IF (PRESENT(mask_2d_)) THEN 552 611 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 553 CALL cxios_get_domaingroup_mask_2d(domaingroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 612 CALL cxios_get_domaingroup_mask_2d & 613 (domaingroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 554 614 mask_2d_ = mask_2d__tmp 555 615 ENDIF 556 616 557 617 IF (PRESENT(name_)) THEN 558 CALL cxios_get_domaingroup_name(domaingroup_hdl%daddr, name_, len(name_)) 618 CALL cxios_get_domaingroup_name & 619 (domaingroup_hdl%daddr, name_, len(name_)) 559 620 ENDIF 560 621 561 622 IF (PRESENT(ni_)) THEN 562 CALL cxios_get_domaingroup_ni(domaingroup_hdl%daddr, ni_) 623 CALL cxios_get_domaingroup_ni & 624 (domaingroup_hdl%daddr, ni_) 563 625 ENDIF 564 626 565 627 IF (PRESENT(ni_glo_)) THEN 566 CALL cxios_get_domaingroup_ni_glo(domaingroup_hdl%daddr, ni_glo_) 628 CALL cxios_get_domaingroup_ni_glo & 629 (domaingroup_hdl%daddr, ni_glo_) 567 630 ENDIF 568 631 569 632 IF (PRESENT(nj_)) THEN 570 CALL cxios_get_domaingroup_nj(domaingroup_hdl%daddr, nj_) 633 CALL cxios_get_domaingroup_nj & 634 (domaingroup_hdl%daddr, nj_) 571 635 ENDIF 572 636 573 637 IF (PRESENT(nj_glo_)) THEN 574 CALL cxios_get_domaingroup_nj_glo(domaingroup_hdl%daddr, nj_glo_) 638 CALL cxios_get_domaingroup_nj_glo & 639 (domaingroup_hdl%daddr, nj_glo_) 575 640 ENDIF 576 641 577 642 IF (PRESENT(nvertex_)) THEN 578 CALL cxios_get_domaingroup_nvertex(domaingroup_hdl%daddr, nvertex_) 643 CALL cxios_get_domaingroup_nvertex & 644 (domaingroup_hdl%daddr, nvertex_) 579 645 ENDIF 580 646 581 647 IF (PRESENT(standard_name_)) THEN 582 CALL cxios_get_domaingroup_standard_name(domaingroup_hdl%daddr, standard_name_, len(standard_name_)) 648 CALL cxios_get_domaingroup_standard_name & 649 (domaingroup_hdl%daddr, standard_name_, len(standard_name_)) 583 650 ENDIF 584 651 585 652 IF (PRESENT(type_)) THEN 586 CALL cxios_get_domaingroup_type(domaingroup_hdl%daddr, type_, len(type_)) 653 CALL cxios_get_domaingroup_type & 654 (domaingroup_hdl%daddr, type_, len(type_)) 587 655 ENDIF 588 656 … … 665 733 LOGICAL(KIND=C_BOOL) :: type_tmp 666 734 667 CALL xios(get_domaingroup_handle)(domaingroup_id,domaingroup_hdl) 735 CALL xios(get_domaingroup_handle) & 736 (domaingroup_id,domaingroup_hdl) 668 737 CALL xios(is_defined_domaingroup_attr_hdl_) & 669 738 ( domaingroup_hdl, area, bounds_lat_1d, bounds_lat_2d, bounds_lon_1d, bounds_lon_2d, data_dim & … … 834 903 835 904 IF (PRESENT(area_)) THEN 836 area__tmp = cxios_is_defined_domaingroup_area(domaingroup_hdl%daddr) 905 area__tmp = cxios_is_defined_domaingroup_area & 906 (domaingroup_hdl%daddr) 837 907 area_ = area__tmp 838 908 ENDIF 839 909 840 910 IF (PRESENT(bounds_lat_1d_)) THEN 841 bounds_lat_1d__tmp = cxios_is_defined_domaingroup_bounds_lat_1d(domaingroup_hdl%daddr) 911 bounds_lat_1d__tmp = cxios_is_defined_domaingroup_bounds_lat_1d & 912 (domaingroup_hdl%daddr) 842 913 bounds_lat_1d_ = bounds_lat_1d__tmp 843 914 ENDIF 844 915 845 916 IF (PRESENT(bounds_lat_2d_)) THEN 846 bounds_lat_2d__tmp = cxios_is_defined_domaingroup_bounds_lat_2d(domaingroup_hdl%daddr) 917 bounds_lat_2d__tmp = cxios_is_defined_domaingroup_bounds_lat_2d & 918 (domaingroup_hdl%daddr) 847 919 bounds_lat_2d_ = bounds_lat_2d__tmp 848 920 ENDIF 849 921 850 922 IF (PRESENT(bounds_lon_1d_)) THEN 851 bounds_lon_1d__tmp = cxios_is_defined_domaingroup_bounds_lon_1d(domaingroup_hdl%daddr) 923 bounds_lon_1d__tmp = cxios_is_defined_domaingroup_bounds_lon_1d & 924 (domaingroup_hdl%daddr) 852 925 bounds_lon_1d_ = bounds_lon_1d__tmp 853 926 ENDIF 854 927 855 928 IF (PRESENT(bounds_lon_2d_)) THEN 856 bounds_lon_2d__tmp = cxios_is_defined_domaingroup_bounds_lon_2d(domaingroup_hdl%daddr) 929 bounds_lon_2d__tmp = cxios_is_defined_domaingroup_bounds_lon_2d & 930 (domaingroup_hdl%daddr) 857 931 bounds_lon_2d_ = bounds_lon_2d__tmp 858 932 ENDIF 859 933 860 934 IF (PRESENT(data_dim_)) THEN 861 data_dim__tmp = cxios_is_defined_domaingroup_data_dim(domaingroup_hdl%daddr) 935 data_dim__tmp = cxios_is_defined_domaingroup_data_dim & 936 (domaingroup_hdl%daddr) 862 937 data_dim_ = data_dim__tmp 863 938 ENDIF 864 939 865 940 IF (PRESENT(data_i_index_)) THEN 866 data_i_index__tmp = cxios_is_defined_domaingroup_data_i_index(domaingroup_hdl%daddr) 941 data_i_index__tmp = cxios_is_defined_domaingroup_data_i_index & 942 (domaingroup_hdl%daddr) 867 943 data_i_index_ = data_i_index__tmp 868 944 ENDIF 869 945 870 946 IF (PRESENT(data_ibegin_)) THEN 871 data_ibegin__tmp = cxios_is_defined_domaingroup_data_ibegin(domaingroup_hdl%daddr) 947 data_ibegin__tmp = cxios_is_defined_domaingroup_data_ibegin & 948 (domaingroup_hdl%daddr) 872 949 data_ibegin_ = data_ibegin__tmp 873 950 ENDIF 874 951 875 952 IF (PRESENT(data_j_index_)) THEN 876 data_j_index__tmp = cxios_is_defined_domaingroup_data_j_index(domaingroup_hdl%daddr) 953 data_j_index__tmp = cxios_is_defined_domaingroup_data_j_index & 954 (domaingroup_hdl%daddr) 877 955 data_j_index_ = data_j_index__tmp 878 956 ENDIF 879 957 880 958 IF (PRESENT(data_jbegin_)) THEN 881 data_jbegin__tmp = cxios_is_defined_domaingroup_data_jbegin(domaingroup_hdl%daddr) 959 data_jbegin__tmp = cxios_is_defined_domaingroup_data_jbegin & 960 (domaingroup_hdl%daddr) 882 961 data_jbegin_ = data_jbegin__tmp 883 962 ENDIF 884 963 885 964 IF (PRESENT(data_ni_)) THEN 886 data_ni__tmp = cxios_is_defined_domaingroup_data_ni(domaingroup_hdl%daddr) 965 data_ni__tmp = cxios_is_defined_domaingroup_data_ni & 966 (domaingroup_hdl%daddr) 887 967 data_ni_ = data_ni__tmp 888 968 ENDIF 889 969 890 970 IF (PRESENT(data_nj_)) THEN 891 data_nj__tmp = cxios_is_defined_domaingroup_data_nj(domaingroup_hdl%daddr) 971 data_nj__tmp = cxios_is_defined_domaingroup_data_nj & 972 (domaingroup_hdl%daddr) 892 973 data_nj_ = data_nj__tmp 893 974 ENDIF 894 975 895 976 IF (PRESENT(domain_ref_)) THEN 896 domain_ref__tmp = cxios_is_defined_domaingroup_domain_ref(domaingroup_hdl%daddr) 977 domain_ref__tmp = cxios_is_defined_domaingroup_domain_ref & 978 (domaingroup_hdl%daddr) 897 979 domain_ref_ = domain_ref__tmp 898 980 ENDIF 899 981 900 982 IF (PRESENT(group_ref_)) THEN 901 group_ref__tmp = cxios_is_defined_domaingroup_group_ref(domaingroup_hdl%daddr) 983 group_ref__tmp = cxios_is_defined_domaingroup_group_ref & 984 (domaingroup_hdl%daddr) 902 985 group_ref_ = group_ref__tmp 903 986 ENDIF 904 987 905 988 IF (PRESENT(i_index_)) THEN 906 i_index__tmp = cxios_is_defined_domaingroup_i_index(domaingroup_hdl%daddr) 989 i_index__tmp = cxios_is_defined_domaingroup_i_index & 990 (domaingroup_hdl%daddr) 907 991 i_index_ = i_index__tmp 908 992 ENDIF 909 993 910 994 IF (PRESENT(ibegin_)) THEN 911 ibegin__tmp = cxios_is_defined_domaingroup_ibegin(domaingroup_hdl%daddr) 995 ibegin__tmp = cxios_is_defined_domaingroup_ibegin & 996 (domaingroup_hdl%daddr) 912 997 ibegin_ = ibegin__tmp 913 998 ENDIF 914 999 915 1000 IF (PRESENT(j_index_)) THEN 916 j_index__tmp = cxios_is_defined_domaingroup_j_index(domaingroup_hdl%daddr) 1001 j_index__tmp = cxios_is_defined_domaingroup_j_index & 1002 (domaingroup_hdl%daddr) 917 1003 j_index_ = j_index__tmp 918 1004 ENDIF 919 1005 920 1006 IF (PRESENT(jbegin_)) THEN 921 jbegin__tmp = cxios_is_defined_domaingroup_jbegin(domaingroup_hdl%daddr) 1007 jbegin__tmp = cxios_is_defined_domaingroup_jbegin & 1008 (domaingroup_hdl%daddr) 922 1009 jbegin_ = jbegin__tmp 923 1010 ENDIF 924 1011 925 1012 IF (PRESENT(latvalue_1d_)) THEN 926 latvalue_1d__tmp = cxios_is_defined_domaingroup_latvalue_1d(domaingroup_hdl%daddr) 1013 latvalue_1d__tmp = cxios_is_defined_domaingroup_latvalue_1d & 1014 (domaingroup_hdl%daddr) 927 1015 latvalue_1d_ = latvalue_1d__tmp 928 1016 ENDIF 929 1017 930 1018 IF (PRESENT(latvalue_2d_)) THEN 931 latvalue_2d__tmp = cxios_is_defined_domaingroup_latvalue_2d(domaingroup_hdl%daddr) 1019 latvalue_2d__tmp = cxios_is_defined_domaingroup_latvalue_2d & 1020 (domaingroup_hdl%daddr) 932 1021 latvalue_2d_ = latvalue_2d__tmp 933 1022 ENDIF 934 1023 935 1024 IF (PRESENT(long_name_)) THEN 936 long_name__tmp = cxios_is_defined_domaingroup_long_name(domaingroup_hdl%daddr) 1025 long_name__tmp = cxios_is_defined_domaingroup_long_name & 1026 (domaingroup_hdl%daddr) 937 1027 long_name_ = long_name__tmp 938 1028 ENDIF 939 1029 940 1030 IF (PRESENT(lonvalue_1d_)) THEN 941 lonvalue_1d__tmp = cxios_is_defined_domaingroup_lonvalue_1d(domaingroup_hdl%daddr) 1031 lonvalue_1d__tmp = cxios_is_defined_domaingroup_lonvalue_1d & 1032 (domaingroup_hdl%daddr) 942 1033 lonvalue_1d_ = lonvalue_1d__tmp 943 1034 ENDIF 944 1035 945 1036 IF (PRESENT(lonvalue_2d_)) THEN 946 lonvalue_2d__tmp = cxios_is_defined_domaingroup_lonvalue_2d(domaingroup_hdl%daddr) 1037 lonvalue_2d__tmp = cxios_is_defined_domaingroup_lonvalue_2d & 1038 (domaingroup_hdl%daddr) 947 1039 lonvalue_2d_ = lonvalue_2d__tmp 948 1040 ENDIF 949 1041 950 1042 IF (PRESENT(mask_1d_)) THEN 951 mask_1d__tmp = cxios_is_defined_domaingroup_mask_1d(domaingroup_hdl%daddr) 1043 mask_1d__tmp = cxios_is_defined_domaingroup_mask_1d & 1044 (domaingroup_hdl%daddr) 952 1045 mask_1d_ = mask_1d__tmp 953 1046 ENDIF 954 1047 955 1048 IF (PRESENT(mask_2d_)) THEN 956 mask_2d__tmp = cxios_is_defined_domaingroup_mask_2d(domaingroup_hdl%daddr) 1049 mask_2d__tmp = cxios_is_defined_domaingroup_mask_2d & 1050 (domaingroup_hdl%daddr) 957 1051 mask_2d_ = mask_2d__tmp 958 1052 ENDIF 959 1053 960 1054 IF (PRESENT(name_)) THEN 961 name__tmp = cxios_is_defined_domaingroup_name(domaingroup_hdl%daddr) 1055 name__tmp = cxios_is_defined_domaingroup_name & 1056 (domaingroup_hdl%daddr) 962 1057 name_ = name__tmp 963 1058 ENDIF 964 1059 965 1060 IF (PRESENT(ni_)) THEN 966 ni__tmp = cxios_is_defined_domaingroup_ni(domaingroup_hdl%daddr) 1061 ni__tmp = cxios_is_defined_domaingroup_ni & 1062 (domaingroup_hdl%daddr) 967 1063 ni_ = ni__tmp 968 1064 ENDIF 969 1065 970 1066 IF (PRESENT(ni_glo_)) THEN 971 ni_glo__tmp = cxios_is_defined_domaingroup_ni_glo(domaingroup_hdl%daddr) 1067 ni_glo__tmp = cxios_is_defined_domaingroup_ni_glo & 1068 (domaingroup_hdl%daddr) 972 1069 ni_glo_ = ni_glo__tmp 973 1070 ENDIF 974 1071 975 1072 IF (PRESENT(nj_)) THEN 976 nj__tmp = cxios_is_defined_domaingroup_nj(domaingroup_hdl%daddr) 1073 nj__tmp = cxios_is_defined_domaingroup_nj & 1074 (domaingroup_hdl%daddr) 977 1075 nj_ = nj__tmp 978 1076 ENDIF 979 1077 980 1078 IF (PRESENT(nj_glo_)) THEN 981 nj_glo__tmp = cxios_is_defined_domaingroup_nj_glo(domaingroup_hdl%daddr) 1079 nj_glo__tmp = cxios_is_defined_domaingroup_nj_glo & 1080 (domaingroup_hdl%daddr) 982 1081 nj_glo_ = nj_glo__tmp 983 1082 ENDIF 984 1083 985 1084 IF (PRESENT(nvertex_)) THEN 986 nvertex__tmp = cxios_is_defined_domaingroup_nvertex(domaingroup_hdl%daddr) 1085 nvertex__tmp = cxios_is_defined_domaingroup_nvertex & 1086 (domaingroup_hdl%daddr) 987 1087 nvertex_ = nvertex__tmp 988 1088 ENDIF 989 1089 990 1090 IF (PRESENT(standard_name_)) THEN 991 standard_name__tmp = cxios_is_defined_domaingroup_standard_name(domaingroup_hdl%daddr) 1091 standard_name__tmp = cxios_is_defined_domaingroup_standard_name & 1092 (domaingroup_hdl%daddr) 992 1093 standard_name_ = standard_name__tmp 993 1094 ENDIF 994 1095 995 1096 IF (PRESENT(type_)) THEN 996 type__tmp = cxios_is_defined_domaingroup_type(domaingroup_hdl%daddr) 1097 type__tmp = cxios_is_defined_domaingroup_type & 1098 (domaingroup_hdl%daddr) 997 1099 type_ = type__tmp 998 1100 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ifield_attr.F90
r891 r966 53 53 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_min 54 54 55 CALL xios(get_field_handle)(field_id,field_hdl) 55 CALL xios(get_field_handle) & 56 (field_id,field_hdl) 56 57 CALL xios(set_field_attr_hdl_) & 57 58 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & … … 153 154 154 155 IF (PRESENT(add_offset_)) THEN 155 CALL cxios_set_field_add_offset(field_hdl%daddr, add_offset_) 156 CALL cxios_set_field_add_offset & 157 (field_hdl%daddr, add_offset_) 156 158 ENDIF 157 159 158 160 IF (PRESENT(axis_ref_)) THEN 159 CALL cxios_set_field_axis_ref(field_hdl%daddr, axis_ref_, len(axis_ref_)) 161 CALL cxios_set_field_axis_ref & 162 (field_hdl%daddr, axis_ref_, len(axis_ref_)) 160 163 ENDIF 161 164 162 165 IF (PRESENT(compression_level_)) THEN 163 CALL cxios_set_field_compression_level(field_hdl%daddr, compression_level_) 166 CALL cxios_set_field_compression_level & 167 (field_hdl%daddr, compression_level_) 164 168 ENDIF 165 169 166 170 IF (PRESENT(default_value_)) THEN 167 CALL cxios_set_field_default_value(field_hdl%daddr, default_value_) 171 CALL cxios_set_field_default_value & 172 (field_hdl%daddr, default_value_) 168 173 ENDIF 169 174 170 175 IF (PRESENT(detect_missing_value_)) THEN 171 176 detect_missing_value__tmp = detect_missing_value_ 172 CALL cxios_set_field_detect_missing_value(field_hdl%daddr, detect_missing_value__tmp) 177 CALL cxios_set_field_detect_missing_value & 178 (field_hdl%daddr, detect_missing_value__tmp) 173 179 ENDIF 174 180 175 181 IF (PRESENT(domain_ref_)) THEN 176 CALL cxios_set_field_domain_ref(field_hdl%daddr, domain_ref_, len(domain_ref_)) 182 CALL cxios_set_field_domain_ref & 183 (field_hdl%daddr, domain_ref_, len(domain_ref_)) 177 184 ENDIF 178 185 179 186 IF (PRESENT(enabled_)) THEN 180 187 enabled__tmp = enabled_ 181 CALL cxios_set_field_enabled(field_hdl%daddr, enabled__tmp) 188 CALL cxios_set_field_enabled & 189 (field_hdl%daddr, enabled__tmp) 182 190 ENDIF 183 191 184 192 IF (PRESENT(field_ref_)) THEN 185 CALL cxios_set_field_field_ref(field_hdl%daddr, field_ref_, len(field_ref_)) 193 CALL cxios_set_field_field_ref & 194 (field_hdl%daddr, field_ref_, len(field_ref_)) 186 195 ENDIF 187 196 188 197 IF (PRESENT(freq_offset_)) THEN 189 CALL cxios_set_field_freq_offset(field_hdl%daddr, freq_offset_) 198 CALL cxios_set_field_freq_offset & 199 (field_hdl%daddr, freq_offset_) 190 200 ENDIF 191 201 192 202 IF (PRESENT(freq_op_)) THEN 193 CALL cxios_set_field_freq_op(field_hdl%daddr, freq_op_) 203 CALL cxios_set_field_freq_op & 204 (field_hdl%daddr, freq_op_) 194 205 ENDIF 195 206 196 207 IF (PRESENT(grid_path_)) THEN 197 CALL cxios_set_field_grid_path(field_hdl%daddr, grid_path_, len(grid_path_)) 208 CALL cxios_set_field_grid_path & 209 (field_hdl%daddr, grid_path_, len(grid_path_)) 198 210 ENDIF 199 211 200 212 IF (PRESENT(grid_ref_)) THEN 201 CALL cxios_set_field_grid_ref(field_hdl%daddr, grid_ref_, len(grid_ref_)) 213 CALL cxios_set_field_grid_ref & 214 (field_hdl%daddr, grid_ref_, len(grid_ref_)) 202 215 ENDIF 203 216 204 217 IF (PRESENT(indexed_output_)) THEN 205 218 indexed_output__tmp = indexed_output_ 206 CALL cxios_set_field_indexed_output(field_hdl%daddr, indexed_output__tmp) 219 CALL cxios_set_field_indexed_output & 220 (field_hdl%daddr, indexed_output__tmp) 207 221 ENDIF 208 222 209 223 IF (PRESENT(level_)) THEN 210 CALL cxios_set_field_level(field_hdl%daddr, level_) 224 CALL cxios_set_field_level & 225 (field_hdl%daddr, level_) 211 226 ENDIF 212 227 213 228 IF (PRESENT(long_name_)) THEN 214 CALL cxios_set_field_long_name(field_hdl%daddr, long_name_, len(long_name_)) 229 CALL cxios_set_field_long_name & 230 (field_hdl%daddr, long_name_, len(long_name_)) 215 231 ENDIF 216 232 217 233 IF (PRESENT(name_)) THEN 218 CALL cxios_set_field_name(field_hdl%daddr, name_, len(name_)) 234 CALL cxios_set_field_name & 235 (field_hdl%daddr, name_, len(name_)) 219 236 ENDIF 220 237 221 238 IF (PRESENT(operation_)) THEN 222 CALL cxios_set_field_operation(field_hdl%daddr, operation_, len(operation_)) 239 CALL cxios_set_field_operation & 240 (field_hdl%daddr, operation_, len(operation_)) 223 241 ENDIF 224 242 225 243 IF (PRESENT(prec_)) THEN 226 CALL cxios_set_field_prec(field_hdl%daddr, prec_) 244 CALL cxios_set_field_prec & 245 (field_hdl%daddr, prec_) 227 246 ENDIF 228 247 229 248 IF (PRESENT(read_access_)) THEN 230 249 read_access__tmp = read_access_ 231 CALL cxios_set_field_read_access(field_hdl%daddr, read_access__tmp) 250 CALL cxios_set_field_read_access & 251 (field_hdl%daddr, read_access__tmp) 232 252 ENDIF 233 253 234 254 IF (PRESENT(scalar_ref_)) THEN 235 CALL cxios_set_field_scalar_ref(field_hdl%daddr, scalar_ref_, len(scalar_ref_)) 255 CALL cxios_set_field_scalar_ref & 256 (field_hdl%daddr, scalar_ref_, len(scalar_ref_)) 236 257 ENDIF 237 258 238 259 IF (PRESENT(scale_factor_)) THEN 239 CALL cxios_set_field_scale_factor(field_hdl%daddr, scale_factor_) 260 CALL cxios_set_field_scale_factor & 261 (field_hdl%daddr, scale_factor_) 240 262 ENDIF 241 263 242 264 IF (PRESENT(standard_name_)) THEN 243 CALL cxios_set_field_standard_name(field_hdl%daddr, standard_name_, len(standard_name_)) 265 CALL cxios_set_field_standard_name & 266 (field_hdl%daddr, standard_name_, len(standard_name_)) 244 267 ENDIF 245 268 246 269 IF (PRESENT(ts_enabled_)) THEN 247 270 ts_enabled__tmp = ts_enabled_ 248 CALL cxios_set_field_ts_enabled(field_hdl%daddr, ts_enabled__tmp) 271 CALL cxios_set_field_ts_enabled & 272 (field_hdl%daddr, ts_enabled__tmp) 249 273 ENDIF 250 274 251 275 IF (PRESENT(ts_split_freq_)) THEN 252 CALL cxios_set_field_ts_split_freq(field_hdl%daddr, ts_split_freq_) 276 CALL cxios_set_field_ts_split_freq & 277 (field_hdl%daddr, ts_split_freq_) 253 278 ENDIF 254 279 255 280 IF (PRESENT(unit_)) THEN 256 CALL cxios_set_field_unit(field_hdl%daddr, unit_, len(unit_)) 281 CALL cxios_set_field_unit & 282 (field_hdl%daddr, unit_, len(unit_)) 257 283 ENDIF 258 284 259 285 IF (PRESENT(valid_max_)) THEN 260 CALL cxios_set_field_valid_max(field_hdl%daddr, valid_max_) 286 CALL cxios_set_field_valid_max & 287 (field_hdl%daddr, valid_max_) 261 288 ENDIF 262 289 263 290 IF (PRESENT(valid_min_)) THEN 264 CALL cxios_set_field_valid_min(field_hdl%daddr, valid_min_) 291 CALL cxios_set_field_valid_min & 292 (field_hdl%daddr, valid_min_) 265 293 ENDIF 266 294 … … 309 337 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_min 310 338 311 CALL xios(get_field_handle)(field_id,field_hdl) 339 CALL xios(get_field_handle) & 340 (field_id,field_hdl) 312 341 CALL xios(get_field_attr_hdl_) & 313 342 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & … … 409 438 410 439 IF (PRESENT(add_offset_)) THEN 411 CALL cxios_get_field_add_offset(field_hdl%daddr, add_offset_) 440 CALL cxios_get_field_add_offset & 441 (field_hdl%daddr, add_offset_) 412 442 ENDIF 413 443 414 444 IF (PRESENT(axis_ref_)) THEN 415 CALL cxios_get_field_axis_ref(field_hdl%daddr, axis_ref_, len(axis_ref_)) 445 CALL cxios_get_field_axis_ref & 446 (field_hdl%daddr, axis_ref_, len(axis_ref_)) 416 447 ENDIF 417 448 418 449 IF (PRESENT(compression_level_)) THEN 419 CALL cxios_get_field_compression_level(field_hdl%daddr, compression_level_) 450 CALL cxios_get_field_compression_level & 451 (field_hdl%daddr, compression_level_) 420 452 ENDIF 421 453 422 454 IF (PRESENT(default_value_)) THEN 423 CALL cxios_get_field_default_value(field_hdl%daddr, default_value_) 455 CALL cxios_get_field_default_value & 456 (field_hdl%daddr, default_value_) 424 457 ENDIF 425 458 426 459 IF (PRESENT(detect_missing_value_)) THEN 427 CALL cxios_get_field_detect_missing_value(field_hdl%daddr, detect_missing_value__tmp) 460 CALL cxios_get_field_detect_missing_value & 461 (field_hdl%daddr, detect_missing_value__tmp) 428 462 detect_missing_value_ = detect_missing_value__tmp 429 463 ENDIF 430 464 431 465 IF (PRESENT(domain_ref_)) THEN 432 CALL cxios_get_field_domain_ref(field_hdl%daddr, domain_ref_, len(domain_ref_)) 466 CALL cxios_get_field_domain_ref & 467 (field_hdl%daddr, domain_ref_, len(domain_ref_)) 433 468 ENDIF 434 469 435 470 IF (PRESENT(enabled_)) THEN 436 CALL cxios_get_field_enabled(field_hdl%daddr, enabled__tmp) 471 CALL cxios_get_field_enabled & 472 (field_hdl%daddr, enabled__tmp) 437 473 enabled_ = enabled__tmp 438 474 ENDIF 439 475 440 476 IF (PRESENT(field_ref_)) THEN 441 CALL cxios_get_field_field_ref(field_hdl%daddr, field_ref_, len(field_ref_)) 477 CALL cxios_get_field_field_ref & 478 (field_hdl%daddr, field_ref_, len(field_ref_)) 442 479 ENDIF 443 480 444 481 IF (PRESENT(freq_offset_)) THEN 445 CALL cxios_get_field_freq_offset(field_hdl%daddr, freq_offset_) 482 CALL cxios_get_field_freq_offset & 483 (field_hdl%daddr, freq_offset_) 446 484 ENDIF 447 485 448 486 IF (PRESENT(freq_op_)) THEN 449 CALL cxios_get_field_freq_op(field_hdl%daddr, freq_op_) 487 CALL cxios_get_field_freq_op & 488 (field_hdl%daddr, freq_op_) 450 489 ENDIF 451 490 452 491 IF (PRESENT(grid_path_)) THEN 453 CALL cxios_get_field_grid_path(field_hdl%daddr, grid_path_, len(grid_path_)) 492 CALL cxios_get_field_grid_path & 493 (field_hdl%daddr, grid_path_, len(grid_path_)) 454 494 ENDIF 455 495 456 496 IF (PRESENT(grid_ref_)) THEN 457 CALL cxios_get_field_grid_ref(field_hdl%daddr, grid_ref_, len(grid_ref_)) 497 CALL cxios_get_field_grid_ref & 498 (field_hdl%daddr, grid_ref_, len(grid_ref_)) 458 499 ENDIF 459 500 460 501 IF (PRESENT(indexed_output_)) THEN 461 CALL cxios_get_field_indexed_output(field_hdl%daddr, indexed_output__tmp) 502 CALL cxios_get_field_indexed_output & 503 (field_hdl%daddr, indexed_output__tmp) 462 504 indexed_output_ = indexed_output__tmp 463 505 ENDIF 464 506 465 507 IF (PRESENT(level_)) THEN 466 CALL cxios_get_field_level(field_hdl%daddr, level_) 508 CALL cxios_get_field_level & 509 (field_hdl%daddr, level_) 467 510 ENDIF 468 511 469 512 IF (PRESENT(long_name_)) THEN 470 CALL cxios_get_field_long_name(field_hdl%daddr, long_name_, len(long_name_)) 513 CALL cxios_get_field_long_name & 514 (field_hdl%daddr, long_name_, len(long_name_)) 471 515 ENDIF 472 516 473 517 IF (PRESENT(name_)) THEN 474 CALL cxios_get_field_name(field_hdl%daddr, name_, len(name_)) 518 CALL cxios_get_field_name & 519 (field_hdl%daddr, name_, len(name_)) 475 520 ENDIF 476 521 477 522 IF (PRESENT(operation_)) THEN 478 CALL cxios_get_field_operation(field_hdl%daddr, operation_, len(operation_)) 523 CALL cxios_get_field_operation & 524 (field_hdl%daddr, operation_, len(operation_)) 479 525 ENDIF 480 526 481 527 IF (PRESENT(prec_)) THEN 482 CALL cxios_get_field_prec(field_hdl%daddr, prec_) 528 CALL cxios_get_field_prec & 529 (field_hdl%daddr, prec_) 483 530 ENDIF 484 531 485 532 IF (PRESENT(read_access_)) THEN 486 CALL cxios_get_field_read_access(field_hdl%daddr, read_access__tmp) 533 CALL cxios_get_field_read_access & 534 (field_hdl%daddr, read_access__tmp) 487 535 read_access_ = read_access__tmp 488 536 ENDIF 489 537 490 538 IF (PRESENT(scalar_ref_)) THEN 491 CALL cxios_get_field_scalar_ref(field_hdl%daddr, scalar_ref_, len(scalar_ref_)) 539 CALL cxios_get_field_scalar_ref & 540 (field_hdl%daddr, scalar_ref_, len(scalar_ref_)) 492 541 ENDIF 493 542 494 543 IF (PRESENT(scale_factor_)) THEN 495 CALL cxios_get_field_scale_factor(field_hdl%daddr, scale_factor_) 544 CALL cxios_get_field_scale_factor & 545 (field_hdl%daddr, scale_factor_) 496 546 ENDIF 497 547 498 548 IF (PRESENT(standard_name_)) THEN 499 CALL cxios_get_field_standard_name(field_hdl%daddr, standard_name_, len(standard_name_)) 549 CALL cxios_get_field_standard_name & 550 (field_hdl%daddr, standard_name_, len(standard_name_)) 500 551 ENDIF 501 552 502 553 IF (PRESENT(ts_enabled_)) THEN 503 CALL cxios_get_field_ts_enabled(field_hdl%daddr, ts_enabled__tmp) 554 CALL cxios_get_field_ts_enabled & 555 (field_hdl%daddr, ts_enabled__tmp) 504 556 ts_enabled_ = ts_enabled__tmp 505 557 ENDIF 506 558 507 559 IF (PRESENT(ts_split_freq_)) THEN 508 CALL cxios_get_field_ts_split_freq(field_hdl%daddr, ts_split_freq_) 560 CALL cxios_get_field_ts_split_freq & 561 (field_hdl%daddr, ts_split_freq_) 509 562 ENDIF 510 563 511 564 IF (PRESENT(unit_)) THEN 512 CALL cxios_get_field_unit(field_hdl%daddr, unit_, len(unit_)) 565 CALL cxios_get_field_unit & 566 (field_hdl%daddr, unit_, len(unit_)) 513 567 ENDIF 514 568 515 569 IF (PRESENT(valid_max_)) THEN 516 CALL cxios_get_field_valid_max(field_hdl%daddr, valid_max_) 570 CALL cxios_get_field_valid_max & 571 (field_hdl%daddr, valid_max_) 517 572 ENDIF 518 573 519 574 IF (PRESENT(valid_min_)) THEN 520 CALL cxios_get_field_valid_min(field_hdl%daddr, valid_min_) 575 CALL cxios_get_field_valid_min & 576 (field_hdl%daddr, valid_min_) 521 577 ENDIF 522 578 … … 587 643 LOGICAL(KIND=C_BOOL) :: valid_min_tmp 588 644 589 CALL xios(get_field_handle)(field_id,field_hdl) 645 CALL xios(get_field_handle) & 646 (field_id,field_hdl) 590 647 CALL xios(is_defined_field_attr_hdl_) & 591 648 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & … … 731 788 732 789 IF (PRESENT(add_offset_)) THEN 733 add_offset__tmp = cxios_is_defined_field_add_offset(field_hdl%daddr) 790 add_offset__tmp = cxios_is_defined_field_add_offset & 791 (field_hdl%daddr) 734 792 add_offset_ = add_offset__tmp 735 793 ENDIF 736 794 737 795 IF (PRESENT(axis_ref_)) THEN 738 axis_ref__tmp = cxios_is_defined_field_axis_ref(field_hdl%daddr) 796 axis_ref__tmp = cxios_is_defined_field_axis_ref & 797 (field_hdl%daddr) 739 798 axis_ref_ = axis_ref__tmp 740 799 ENDIF 741 800 742 801 IF (PRESENT(compression_level_)) THEN 743 compression_level__tmp = cxios_is_defined_field_compression_level(field_hdl%daddr) 802 compression_level__tmp = cxios_is_defined_field_compression_level & 803 (field_hdl%daddr) 744 804 compression_level_ = compression_level__tmp 745 805 ENDIF 746 806 747 807 IF (PRESENT(default_value_)) THEN 748 default_value__tmp = cxios_is_defined_field_default_value(field_hdl%daddr) 808 default_value__tmp = cxios_is_defined_field_default_value & 809 (field_hdl%daddr) 749 810 default_value_ = default_value__tmp 750 811 ENDIF 751 812 752 813 IF (PRESENT(detect_missing_value_)) THEN 753 detect_missing_value__tmp = cxios_is_defined_field_detect_missing_value(field_hdl%daddr) 814 detect_missing_value__tmp = cxios_is_defined_field_detect_missing_value & 815 (field_hdl%daddr) 754 816 detect_missing_value_ = detect_missing_value__tmp 755 817 ENDIF 756 818 757 819 IF (PRESENT(domain_ref_)) THEN 758 domain_ref__tmp = cxios_is_defined_field_domain_ref(field_hdl%daddr) 820 domain_ref__tmp = cxios_is_defined_field_domain_ref & 821 (field_hdl%daddr) 759 822 domain_ref_ = domain_ref__tmp 760 823 ENDIF 761 824 762 825 IF (PRESENT(enabled_)) THEN 763 enabled__tmp = cxios_is_defined_field_enabled(field_hdl%daddr) 826 enabled__tmp = cxios_is_defined_field_enabled & 827 (field_hdl%daddr) 764 828 enabled_ = enabled__tmp 765 829 ENDIF 766 830 767 831 IF (PRESENT(field_ref_)) THEN 768 field_ref__tmp = cxios_is_defined_field_field_ref(field_hdl%daddr) 832 field_ref__tmp = cxios_is_defined_field_field_ref & 833 (field_hdl%daddr) 769 834 field_ref_ = field_ref__tmp 770 835 ENDIF 771 836 772 837 IF (PRESENT(freq_offset_)) THEN 773 freq_offset__tmp = cxios_is_defined_field_freq_offset(field_hdl%daddr) 838 freq_offset__tmp = cxios_is_defined_field_freq_offset & 839 (field_hdl%daddr) 774 840 freq_offset_ = freq_offset__tmp 775 841 ENDIF 776 842 777 843 IF (PRESENT(freq_op_)) THEN 778 freq_op__tmp = cxios_is_defined_field_freq_op(field_hdl%daddr) 844 freq_op__tmp = cxios_is_defined_field_freq_op & 845 (field_hdl%daddr) 779 846 freq_op_ = freq_op__tmp 780 847 ENDIF 781 848 782 849 IF (PRESENT(grid_path_)) THEN 783 grid_path__tmp = cxios_is_defined_field_grid_path(field_hdl%daddr) 850 grid_path__tmp = cxios_is_defined_field_grid_path & 851 (field_hdl%daddr) 784 852 grid_path_ = grid_path__tmp 785 853 ENDIF 786 854 787 855 IF (PRESENT(grid_ref_)) THEN 788 grid_ref__tmp = cxios_is_defined_field_grid_ref(field_hdl%daddr) 856 grid_ref__tmp = cxios_is_defined_field_grid_ref & 857 (field_hdl%daddr) 789 858 grid_ref_ = grid_ref__tmp 790 859 ENDIF 791 860 792 861 IF (PRESENT(indexed_output_)) THEN 793 indexed_output__tmp = cxios_is_defined_field_indexed_output(field_hdl%daddr) 862 indexed_output__tmp = cxios_is_defined_field_indexed_output & 863 (field_hdl%daddr) 794 864 indexed_output_ = indexed_output__tmp 795 865 ENDIF 796 866 797 867 IF (PRESENT(level_)) THEN 798 level__tmp = cxios_is_defined_field_level(field_hdl%daddr) 868 level__tmp = cxios_is_defined_field_level & 869 (field_hdl%daddr) 799 870 level_ = level__tmp 800 871 ENDIF 801 872 802 873 IF (PRESENT(long_name_)) THEN 803 long_name__tmp = cxios_is_defined_field_long_name(field_hdl%daddr) 874 long_name__tmp = cxios_is_defined_field_long_name & 875 (field_hdl%daddr) 804 876 long_name_ = long_name__tmp 805 877 ENDIF 806 878 807 879 IF (PRESENT(name_)) THEN 808 name__tmp = cxios_is_defined_field_name(field_hdl%daddr) 880 name__tmp = cxios_is_defined_field_name & 881 (field_hdl%daddr) 809 882 name_ = name__tmp 810 883 ENDIF 811 884 812 885 IF (PRESENT(operation_)) THEN 813 operation__tmp = cxios_is_defined_field_operation(field_hdl%daddr) 886 operation__tmp = cxios_is_defined_field_operation & 887 (field_hdl%daddr) 814 888 operation_ = operation__tmp 815 889 ENDIF 816 890 817 891 IF (PRESENT(prec_)) THEN 818 prec__tmp = cxios_is_defined_field_prec(field_hdl%daddr) 892 prec__tmp = cxios_is_defined_field_prec & 893 (field_hdl%daddr) 819 894 prec_ = prec__tmp 820 895 ENDIF 821 896 822 897 IF (PRESENT(read_access_)) THEN 823 read_access__tmp = cxios_is_defined_field_read_access(field_hdl%daddr) 898 read_access__tmp = cxios_is_defined_field_read_access & 899 (field_hdl%daddr) 824 900 read_access_ = read_access__tmp 825 901 ENDIF 826 902 827 903 IF (PRESENT(scalar_ref_)) THEN 828 scalar_ref__tmp = cxios_is_defined_field_scalar_ref(field_hdl%daddr) 904 scalar_ref__tmp = cxios_is_defined_field_scalar_ref & 905 (field_hdl%daddr) 829 906 scalar_ref_ = scalar_ref__tmp 830 907 ENDIF 831 908 832 909 IF (PRESENT(scale_factor_)) THEN 833 scale_factor__tmp = cxios_is_defined_field_scale_factor(field_hdl%daddr) 910 scale_factor__tmp = cxios_is_defined_field_scale_factor & 911 (field_hdl%daddr) 834 912 scale_factor_ = scale_factor__tmp 835 913 ENDIF 836 914 837 915 IF (PRESENT(standard_name_)) THEN 838 standard_name__tmp = cxios_is_defined_field_standard_name(field_hdl%daddr) 916 standard_name__tmp = cxios_is_defined_field_standard_name & 917 (field_hdl%daddr) 839 918 standard_name_ = standard_name__tmp 840 919 ENDIF 841 920 842 921 IF (PRESENT(ts_enabled_)) THEN 843 ts_enabled__tmp = cxios_is_defined_field_ts_enabled(field_hdl%daddr) 922 ts_enabled__tmp = cxios_is_defined_field_ts_enabled & 923 (field_hdl%daddr) 844 924 ts_enabled_ = ts_enabled__tmp 845 925 ENDIF 846 926 847 927 IF (PRESENT(ts_split_freq_)) THEN 848 ts_split_freq__tmp = cxios_is_defined_field_ts_split_freq(field_hdl%daddr) 928 ts_split_freq__tmp = cxios_is_defined_field_ts_split_freq & 929 (field_hdl%daddr) 849 930 ts_split_freq_ = ts_split_freq__tmp 850 931 ENDIF 851 932 852 933 IF (PRESENT(unit_)) THEN 853 unit__tmp = cxios_is_defined_field_unit(field_hdl%daddr) 934 unit__tmp = cxios_is_defined_field_unit & 935 (field_hdl%daddr) 854 936 unit_ = unit__tmp 855 937 ENDIF 856 938 857 939 IF (PRESENT(valid_max_)) THEN 858 valid_max__tmp = cxios_is_defined_field_valid_max(field_hdl%daddr) 940 valid_max__tmp = cxios_is_defined_field_valid_max & 941 (field_hdl%daddr) 859 942 valid_max_ = valid_max__tmp 860 943 ENDIF 861 944 862 945 IF (PRESENT(valid_min_)) THEN 863 valid_min__tmp = cxios_is_defined_field_valid_min(field_hdl%daddr) 946 valid_min__tmp = cxios_is_defined_field_valid_min & 947 (field_hdl%daddr) 864 948 valid_min_ = valid_min__tmp 865 949 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ifieldgroup_attr.F90
r891 r966 54 54 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_min 55 55 56 CALL xios(get_fieldgroup_handle)(fieldgroup_id,fieldgroup_hdl) 56 CALL xios(get_fieldgroup_handle) & 57 (fieldgroup_id,fieldgroup_hdl) 57 58 CALL xios(set_fieldgroup_attr_hdl_) & 58 59 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & … … 156 157 157 158 IF (PRESENT(add_offset_)) THEN 158 CALL cxios_set_fieldgroup_add_offset(fieldgroup_hdl%daddr, add_offset_) 159 CALL cxios_set_fieldgroup_add_offset & 160 (fieldgroup_hdl%daddr, add_offset_) 159 161 ENDIF 160 162 161 163 IF (PRESENT(axis_ref_)) THEN 162 CALL cxios_set_fieldgroup_axis_ref(fieldgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 164 CALL cxios_set_fieldgroup_axis_ref & 165 (fieldgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 163 166 ENDIF 164 167 165 168 IF (PRESENT(compression_level_)) THEN 166 CALL cxios_set_fieldgroup_compression_level(fieldgroup_hdl%daddr, compression_level_) 169 CALL cxios_set_fieldgroup_compression_level & 170 (fieldgroup_hdl%daddr, compression_level_) 167 171 ENDIF 168 172 169 173 IF (PRESENT(default_value_)) THEN 170 CALL cxios_set_fieldgroup_default_value(fieldgroup_hdl%daddr, default_value_) 174 CALL cxios_set_fieldgroup_default_value & 175 (fieldgroup_hdl%daddr, default_value_) 171 176 ENDIF 172 177 173 178 IF (PRESENT(detect_missing_value_)) THEN 174 179 detect_missing_value__tmp = detect_missing_value_ 175 CALL cxios_set_fieldgroup_detect_missing_value(fieldgroup_hdl%daddr, detect_missing_value__tmp) 180 CALL cxios_set_fieldgroup_detect_missing_value & 181 (fieldgroup_hdl%daddr, detect_missing_value__tmp) 176 182 ENDIF 177 183 178 184 IF (PRESENT(domain_ref_)) THEN 179 CALL cxios_set_fieldgroup_domain_ref(fieldgroup_hdl%daddr, domain_ref_, len(domain_ref_)) 185 CALL cxios_set_fieldgroup_domain_ref & 186 (fieldgroup_hdl%daddr, domain_ref_, len(domain_ref_)) 180 187 ENDIF 181 188 182 189 IF (PRESENT(enabled_)) THEN 183 190 enabled__tmp = enabled_ 184 CALL cxios_set_fieldgroup_enabled(fieldgroup_hdl%daddr, enabled__tmp) 191 CALL cxios_set_fieldgroup_enabled & 192 (fieldgroup_hdl%daddr, enabled__tmp) 185 193 ENDIF 186 194 187 195 IF (PRESENT(field_ref_)) THEN 188 CALL cxios_set_fieldgroup_field_ref(fieldgroup_hdl%daddr, field_ref_, len(field_ref_)) 196 CALL cxios_set_fieldgroup_field_ref & 197 (fieldgroup_hdl%daddr, field_ref_, len(field_ref_)) 189 198 ENDIF 190 199 191 200 IF (PRESENT(freq_offset_)) THEN 192 CALL cxios_set_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_) 201 CALL cxios_set_fieldgroup_freq_offset & 202 (fieldgroup_hdl%daddr, freq_offset_) 193 203 ENDIF 194 204 195 205 IF (PRESENT(freq_op_)) THEN 196 CALL cxios_set_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_) 206 CALL cxios_set_fieldgroup_freq_op & 207 (fieldgroup_hdl%daddr, freq_op_) 197 208 ENDIF 198 209 199 210 IF (PRESENT(grid_path_)) THEN 200 CALL cxios_set_fieldgroup_grid_path(fieldgroup_hdl%daddr, grid_path_, len(grid_path_)) 211 CALL cxios_set_fieldgroup_grid_path & 212 (fieldgroup_hdl%daddr, grid_path_, len(grid_path_)) 201 213 ENDIF 202 214 203 215 IF (PRESENT(grid_ref_)) THEN 204 CALL cxios_set_fieldgroup_grid_ref(fieldgroup_hdl%daddr, grid_ref_, len(grid_ref_)) 216 CALL cxios_set_fieldgroup_grid_ref & 217 (fieldgroup_hdl%daddr, grid_ref_, len(grid_ref_)) 205 218 ENDIF 206 219 207 220 IF (PRESENT(group_ref_)) THEN 208 CALL cxios_set_fieldgroup_group_ref(fieldgroup_hdl%daddr, group_ref_, len(group_ref_)) 221 CALL cxios_set_fieldgroup_group_ref & 222 (fieldgroup_hdl%daddr, group_ref_, len(group_ref_)) 209 223 ENDIF 210 224 211 225 IF (PRESENT(indexed_output_)) THEN 212 226 indexed_output__tmp = indexed_output_ 213 CALL cxios_set_fieldgroup_indexed_output(fieldgroup_hdl%daddr, indexed_output__tmp) 227 CALL cxios_set_fieldgroup_indexed_output & 228 (fieldgroup_hdl%daddr, indexed_output__tmp) 214 229 ENDIF 215 230 216 231 IF (PRESENT(level_)) THEN 217 CALL cxios_set_fieldgroup_level(fieldgroup_hdl%daddr, level_) 232 CALL cxios_set_fieldgroup_level & 233 (fieldgroup_hdl%daddr, level_) 218 234 ENDIF 219 235 220 236 IF (PRESENT(long_name_)) THEN 221 CALL cxios_set_fieldgroup_long_name(fieldgroup_hdl%daddr, long_name_, len(long_name_)) 237 CALL cxios_set_fieldgroup_long_name & 238 (fieldgroup_hdl%daddr, long_name_, len(long_name_)) 222 239 ENDIF 223 240 224 241 IF (PRESENT(name_)) THEN 225 CALL cxios_set_fieldgroup_name(fieldgroup_hdl%daddr, name_, len(name_)) 242 CALL cxios_set_fieldgroup_name & 243 (fieldgroup_hdl%daddr, name_, len(name_)) 226 244 ENDIF 227 245 228 246 IF (PRESENT(operation_)) THEN 229 CALL cxios_set_fieldgroup_operation(fieldgroup_hdl%daddr, operation_, len(operation_)) 247 CALL cxios_set_fieldgroup_operation & 248 (fieldgroup_hdl%daddr, operation_, len(operation_)) 230 249 ENDIF 231 250 232 251 IF (PRESENT(prec_)) THEN 233 CALL cxios_set_fieldgroup_prec(fieldgroup_hdl%daddr, prec_) 252 CALL cxios_set_fieldgroup_prec & 253 (fieldgroup_hdl%daddr, prec_) 234 254 ENDIF 235 255 236 256 IF (PRESENT(read_access_)) THEN 237 257 read_access__tmp = read_access_ 238 CALL cxios_set_fieldgroup_read_access(fieldgroup_hdl%daddr, read_access__tmp) 258 CALL cxios_set_fieldgroup_read_access & 259 (fieldgroup_hdl%daddr, read_access__tmp) 239 260 ENDIF 240 261 241 262 IF (PRESENT(scalar_ref_)) THEN 242 CALL cxios_set_fieldgroup_scalar_ref(fieldgroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 263 CALL cxios_set_fieldgroup_scalar_ref & 264 (fieldgroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 243 265 ENDIF 244 266 245 267 IF (PRESENT(scale_factor_)) THEN 246 CALL cxios_set_fieldgroup_scale_factor(fieldgroup_hdl%daddr, scale_factor_) 268 CALL cxios_set_fieldgroup_scale_factor & 269 (fieldgroup_hdl%daddr, scale_factor_) 247 270 ENDIF 248 271 249 272 IF (PRESENT(standard_name_)) THEN 250 CALL cxios_set_fieldgroup_standard_name(fieldgroup_hdl%daddr, standard_name_, len(standard_name_)) 273 CALL cxios_set_fieldgroup_standard_name & 274 (fieldgroup_hdl%daddr, standard_name_, len(standard_name_)) 251 275 ENDIF 252 276 253 277 IF (PRESENT(ts_enabled_)) THEN 254 278 ts_enabled__tmp = ts_enabled_ 255 CALL cxios_set_fieldgroup_ts_enabled(fieldgroup_hdl%daddr, ts_enabled__tmp) 279 CALL cxios_set_fieldgroup_ts_enabled & 280 (fieldgroup_hdl%daddr, ts_enabled__tmp) 256 281 ENDIF 257 282 258 283 IF (PRESENT(ts_split_freq_)) THEN 259 CALL cxios_set_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr, ts_split_freq_) 284 CALL cxios_set_fieldgroup_ts_split_freq & 285 (fieldgroup_hdl%daddr, ts_split_freq_) 260 286 ENDIF 261 287 262 288 IF (PRESENT(unit_)) THEN 263 CALL cxios_set_fieldgroup_unit(fieldgroup_hdl%daddr, unit_, len(unit_)) 289 CALL cxios_set_fieldgroup_unit & 290 (fieldgroup_hdl%daddr, unit_, len(unit_)) 264 291 ENDIF 265 292 266 293 IF (PRESENT(valid_max_)) THEN 267 CALL cxios_set_fieldgroup_valid_max(fieldgroup_hdl%daddr, valid_max_) 294 CALL cxios_set_fieldgroup_valid_max & 295 (fieldgroup_hdl%daddr, valid_max_) 268 296 ENDIF 269 297 270 298 IF (PRESENT(valid_min_)) THEN 271 CALL cxios_set_fieldgroup_valid_min(fieldgroup_hdl%daddr, valid_min_) 299 CALL cxios_set_fieldgroup_valid_min & 300 (fieldgroup_hdl%daddr, valid_min_) 272 301 ENDIF 273 302 … … 317 346 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_min 318 347 319 CALL xios(get_fieldgroup_handle)(fieldgroup_id,fieldgroup_hdl) 348 CALL xios(get_fieldgroup_handle) & 349 (fieldgroup_id,fieldgroup_hdl) 320 350 CALL xios(get_fieldgroup_attr_hdl_) & 321 351 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & … … 419 449 420 450 IF (PRESENT(add_offset_)) THEN 421 CALL cxios_get_fieldgroup_add_offset(fieldgroup_hdl%daddr, add_offset_) 451 CALL cxios_get_fieldgroup_add_offset & 452 (fieldgroup_hdl%daddr, add_offset_) 422 453 ENDIF 423 454 424 455 IF (PRESENT(axis_ref_)) THEN 425 CALL cxios_get_fieldgroup_axis_ref(fieldgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 456 CALL cxios_get_fieldgroup_axis_ref & 457 (fieldgroup_hdl%daddr, axis_ref_, len(axis_ref_)) 426 458 ENDIF 427 459 428 460 IF (PRESENT(compression_level_)) THEN 429 CALL cxios_get_fieldgroup_compression_level(fieldgroup_hdl%daddr, compression_level_) 461 CALL cxios_get_fieldgroup_compression_level & 462 (fieldgroup_hdl%daddr, compression_level_) 430 463 ENDIF 431 464 432 465 IF (PRESENT(default_value_)) THEN 433 CALL cxios_get_fieldgroup_default_value(fieldgroup_hdl%daddr, default_value_) 466 CALL cxios_get_fieldgroup_default_value & 467 (fieldgroup_hdl%daddr, default_value_) 434 468 ENDIF 435 469 436 470 IF (PRESENT(detect_missing_value_)) THEN 437 CALL cxios_get_fieldgroup_detect_missing_value(fieldgroup_hdl%daddr, detect_missing_value__tmp) 471 CALL cxios_get_fieldgroup_detect_missing_value & 472 (fieldgroup_hdl%daddr, detect_missing_value__tmp) 438 473 detect_missing_value_ = detect_missing_value__tmp 439 474 ENDIF 440 475 441 476 IF (PRESENT(domain_ref_)) THEN 442 CALL cxios_get_fieldgroup_domain_ref(fieldgroup_hdl%daddr, domain_ref_, len(domain_ref_)) 477 CALL cxios_get_fieldgroup_domain_ref & 478 (fieldgroup_hdl%daddr, domain_ref_, len(domain_ref_)) 443 479 ENDIF 444 480 445 481 IF (PRESENT(enabled_)) THEN 446 CALL cxios_get_fieldgroup_enabled(fieldgroup_hdl%daddr, enabled__tmp) 482 CALL cxios_get_fieldgroup_enabled & 483 (fieldgroup_hdl%daddr, enabled__tmp) 447 484 enabled_ = enabled__tmp 448 485 ENDIF 449 486 450 487 IF (PRESENT(field_ref_)) THEN 451 CALL cxios_get_fieldgroup_field_ref(fieldgroup_hdl%daddr, field_ref_, len(field_ref_)) 488 CALL cxios_get_fieldgroup_field_ref & 489 (fieldgroup_hdl%daddr, field_ref_, len(field_ref_)) 452 490 ENDIF 453 491 454 492 IF (PRESENT(freq_offset_)) THEN 455 CALL cxios_get_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_) 493 CALL cxios_get_fieldgroup_freq_offset & 494 (fieldgroup_hdl%daddr, freq_offset_) 456 495 ENDIF 457 496 458 497 IF (PRESENT(freq_op_)) THEN 459 CALL cxios_get_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_) 498 CALL cxios_get_fieldgroup_freq_op & 499 (fieldgroup_hdl%daddr, freq_op_) 460 500 ENDIF 461 501 462 502 IF (PRESENT(grid_path_)) THEN 463 CALL cxios_get_fieldgroup_grid_path(fieldgroup_hdl%daddr, grid_path_, len(grid_path_)) 503 CALL cxios_get_fieldgroup_grid_path & 504 (fieldgroup_hdl%daddr, grid_path_, len(grid_path_)) 464 505 ENDIF 465 506 466 507 IF (PRESENT(grid_ref_)) THEN 467 CALL cxios_get_fieldgroup_grid_ref(fieldgroup_hdl%daddr, grid_ref_, len(grid_ref_)) 508 CALL cxios_get_fieldgroup_grid_ref & 509 (fieldgroup_hdl%daddr, grid_ref_, len(grid_ref_)) 468 510 ENDIF 469 511 470 512 IF (PRESENT(group_ref_)) THEN 471 CALL cxios_get_fieldgroup_group_ref(fieldgroup_hdl%daddr, group_ref_, len(group_ref_)) 513 CALL cxios_get_fieldgroup_group_ref & 514 (fieldgroup_hdl%daddr, group_ref_, len(group_ref_)) 472 515 ENDIF 473 516 474 517 IF (PRESENT(indexed_output_)) THEN 475 CALL cxios_get_fieldgroup_indexed_output(fieldgroup_hdl%daddr, indexed_output__tmp) 518 CALL cxios_get_fieldgroup_indexed_output & 519 (fieldgroup_hdl%daddr, indexed_output__tmp) 476 520 indexed_output_ = indexed_output__tmp 477 521 ENDIF 478 522 479 523 IF (PRESENT(level_)) THEN 480 CALL cxios_get_fieldgroup_level(fieldgroup_hdl%daddr, level_) 524 CALL cxios_get_fieldgroup_level & 525 (fieldgroup_hdl%daddr, level_) 481 526 ENDIF 482 527 483 528 IF (PRESENT(long_name_)) THEN 484 CALL cxios_get_fieldgroup_long_name(fieldgroup_hdl%daddr, long_name_, len(long_name_)) 529 CALL cxios_get_fieldgroup_long_name & 530 (fieldgroup_hdl%daddr, long_name_, len(long_name_)) 485 531 ENDIF 486 532 487 533 IF (PRESENT(name_)) THEN 488 CALL cxios_get_fieldgroup_name(fieldgroup_hdl%daddr, name_, len(name_)) 534 CALL cxios_get_fieldgroup_name & 535 (fieldgroup_hdl%daddr, name_, len(name_)) 489 536 ENDIF 490 537 491 538 IF (PRESENT(operation_)) THEN 492 CALL cxios_get_fieldgroup_operation(fieldgroup_hdl%daddr, operation_, len(operation_)) 539 CALL cxios_get_fieldgroup_operation & 540 (fieldgroup_hdl%daddr, operation_, len(operation_)) 493 541 ENDIF 494 542 495 543 IF (PRESENT(prec_)) THEN 496 CALL cxios_get_fieldgroup_prec(fieldgroup_hdl%daddr, prec_) 544 CALL cxios_get_fieldgroup_prec & 545 (fieldgroup_hdl%daddr, prec_) 497 546 ENDIF 498 547 499 548 IF (PRESENT(read_access_)) THEN 500 CALL cxios_get_fieldgroup_read_access(fieldgroup_hdl%daddr, read_access__tmp) 549 CALL cxios_get_fieldgroup_read_access & 550 (fieldgroup_hdl%daddr, read_access__tmp) 501 551 read_access_ = read_access__tmp 502 552 ENDIF 503 553 504 554 IF (PRESENT(scalar_ref_)) THEN 505 CALL cxios_get_fieldgroup_scalar_ref(fieldgroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 555 CALL cxios_get_fieldgroup_scalar_ref & 556 (fieldgroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 506 557 ENDIF 507 558 508 559 IF (PRESENT(scale_factor_)) THEN 509 CALL cxios_get_fieldgroup_scale_factor(fieldgroup_hdl%daddr, scale_factor_) 560 CALL cxios_get_fieldgroup_scale_factor & 561 (fieldgroup_hdl%daddr, scale_factor_) 510 562 ENDIF 511 563 512 564 IF (PRESENT(standard_name_)) THEN 513 CALL cxios_get_fieldgroup_standard_name(fieldgroup_hdl%daddr, standard_name_, len(standard_name_)) 565 CALL cxios_get_fieldgroup_standard_name & 566 (fieldgroup_hdl%daddr, standard_name_, len(standard_name_)) 514 567 ENDIF 515 568 516 569 IF (PRESENT(ts_enabled_)) THEN 517 CALL cxios_get_fieldgroup_ts_enabled(fieldgroup_hdl%daddr, ts_enabled__tmp) 570 CALL cxios_get_fieldgroup_ts_enabled & 571 (fieldgroup_hdl%daddr, ts_enabled__tmp) 518 572 ts_enabled_ = ts_enabled__tmp 519 573 ENDIF 520 574 521 575 IF (PRESENT(ts_split_freq_)) THEN 522 CALL cxios_get_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr, ts_split_freq_) 576 CALL cxios_get_fieldgroup_ts_split_freq & 577 (fieldgroup_hdl%daddr, ts_split_freq_) 523 578 ENDIF 524 579 525 580 IF (PRESENT(unit_)) THEN 526 CALL cxios_get_fieldgroup_unit(fieldgroup_hdl%daddr, unit_, len(unit_)) 581 CALL cxios_get_fieldgroup_unit & 582 (fieldgroup_hdl%daddr, unit_, len(unit_)) 527 583 ENDIF 528 584 529 585 IF (PRESENT(valid_max_)) THEN 530 CALL cxios_get_fieldgroup_valid_max(fieldgroup_hdl%daddr, valid_max_) 586 CALL cxios_get_fieldgroup_valid_max & 587 (fieldgroup_hdl%daddr, valid_max_) 531 588 ENDIF 532 589 533 590 IF (PRESENT(valid_min_)) THEN 534 CALL cxios_get_fieldgroup_valid_min(fieldgroup_hdl%daddr, valid_min_) 591 CALL cxios_get_fieldgroup_valid_min & 592 (fieldgroup_hdl%daddr, valid_min_) 535 593 ENDIF 536 594 … … 603 661 LOGICAL(KIND=C_BOOL) :: valid_min_tmp 604 662 605 CALL xios(get_fieldgroup_handle)(fieldgroup_id,fieldgroup_hdl) 663 CALL xios(get_fieldgroup_handle) & 664 (fieldgroup_id,fieldgroup_hdl) 606 665 CALL xios(is_defined_fieldgroup_attr_hdl_) & 607 666 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & … … 751 810 752 811 IF (PRESENT(add_offset_)) THEN 753 add_offset__tmp = cxios_is_defined_fieldgroup_add_offset(fieldgroup_hdl%daddr) 812 add_offset__tmp = cxios_is_defined_fieldgroup_add_offset & 813 (fieldgroup_hdl%daddr) 754 814 add_offset_ = add_offset__tmp 755 815 ENDIF 756 816 757 817 IF (PRESENT(axis_ref_)) THEN 758 axis_ref__tmp = cxios_is_defined_fieldgroup_axis_ref(fieldgroup_hdl%daddr) 818 axis_ref__tmp = cxios_is_defined_fieldgroup_axis_ref & 819 (fieldgroup_hdl%daddr) 759 820 axis_ref_ = axis_ref__tmp 760 821 ENDIF 761 822 762 823 IF (PRESENT(compression_level_)) THEN 763 compression_level__tmp = cxios_is_defined_fieldgroup_compression_level(fieldgroup_hdl%daddr) 824 compression_level__tmp = cxios_is_defined_fieldgroup_compression_level & 825 (fieldgroup_hdl%daddr) 764 826 compression_level_ = compression_level__tmp 765 827 ENDIF 766 828 767 829 IF (PRESENT(default_value_)) THEN 768 default_value__tmp = cxios_is_defined_fieldgroup_default_value(fieldgroup_hdl%daddr) 830 default_value__tmp = cxios_is_defined_fieldgroup_default_value & 831 (fieldgroup_hdl%daddr) 769 832 default_value_ = default_value__tmp 770 833 ENDIF 771 834 772 835 IF (PRESENT(detect_missing_value_)) THEN 773 detect_missing_value__tmp = cxios_is_defined_fieldgroup_detect_missing_value(fieldgroup_hdl%daddr) 836 detect_missing_value__tmp = cxios_is_defined_fieldgroup_detect_missing_value & 837 (fieldgroup_hdl%daddr) 774 838 detect_missing_value_ = detect_missing_value__tmp 775 839 ENDIF 776 840 777 841 IF (PRESENT(domain_ref_)) THEN 778 domain_ref__tmp = cxios_is_defined_fieldgroup_domain_ref(fieldgroup_hdl%daddr) 842 domain_ref__tmp = cxios_is_defined_fieldgroup_domain_ref & 843 (fieldgroup_hdl%daddr) 779 844 domain_ref_ = domain_ref__tmp 780 845 ENDIF 781 846 782 847 IF (PRESENT(enabled_)) THEN 783 enabled__tmp = cxios_is_defined_fieldgroup_enabled(fieldgroup_hdl%daddr) 848 enabled__tmp = cxios_is_defined_fieldgroup_enabled & 849 (fieldgroup_hdl%daddr) 784 850 enabled_ = enabled__tmp 785 851 ENDIF 786 852 787 853 IF (PRESENT(field_ref_)) THEN 788 field_ref__tmp = cxios_is_defined_fieldgroup_field_ref(fieldgroup_hdl%daddr) 854 field_ref__tmp = cxios_is_defined_fieldgroup_field_ref & 855 (fieldgroup_hdl%daddr) 789 856 field_ref_ = field_ref__tmp 790 857 ENDIF 791 858 792 859 IF (PRESENT(freq_offset_)) THEN 793 freq_offset__tmp = cxios_is_defined_fieldgroup_freq_offset(fieldgroup_hdl%daddr) 860 freq_offset__tmp = cxios_is_defined_fieldgroup_freq_offset & 861 (fieldgroup_hdl%daddr) 794 862 freq_offset_ = freq_offset__tmp 795 863 ENDIF 796 864 797 865 IF (PRESENT(freq_op_)) THEN 798 freq_op__tmp = cxios_is_defined_fieldgroup_freq_op(fieldgroup_hdl%daddr) 866 freq_op__tmp = cxios_is_defined_fieldgroup_freq_op & 867 (fieldgroup_hdl%daddr) 799 868 freq_op_ = freq_op__tmp 800 869 ENDIF 801 870 802 871 IF (PRESENT(grid_path_)) THEN 803 grid_path__tmp = cxios_is_defined_fieldgroup_grid_path(fieldgroup_hdl%daddr) 872 grid_path__tmp = cxios_is_defined_fieldgroup_grid_path & 873 (fieldgroup_hdl%daddr) 804 874 grid_path_ = grid_path__tmp 805 875 ENDIF 806 876 807 877 IF (PRESENT(grid_ref_)) THEN 808 grid_ref__tmp = cxios_is_defined_fieldgroup_grid_ref(fieldgroup_hdl%daddr) 878 grid_ref__tmp = cxios_is_defined_fieldgroup_grid_ref & 879 (fieldgroup_hdl%daddr) 809 880 grid_ref_ = grid_ref__tmp 810 881 ENDIF 811 882 812 883 IF (PRESENT(group_ref_)) THEN 813 group_ref__tmp = cxios_is_defined_fieldgroup_group_ref(fieldgroup_hdl%daddr) 884 group_ref__tmp = cxios_is_defined_fieldgroup_group_ref & 885 (fieldgroup_hdl%daddr) 814 886 group_ref_ = group_ref__tmp 815 887 ENDIF 816 888 817 889 IF (PRESENT(indexed_output_)) THEN 818 indexed_output__tmp = cxios_is_defined_fieldgroup_indexed_output(fieldgroup_hdl%daddr) 890 indexed_output__tmp = cxios_is_defined_fieldgroup_indexed_output & 891 (fieldgroup_hdl%daddr) 819 892 indexed_output_ = indexed_output__tmp 820 893 ENDIF 821 894 822 895 IF (PRESENT(level_)) THEN 823 level__tmp = cxios_is_defined_fieldgroup_level(fieldgroup_hdl%daddr) 896 level__tmp = cxios_is_defined_fieldgroup_level & 897 (fieldgroup_hdl%daddr) 824 898 level_ = level__tmp 825 899 ENDIF 826 900 827 901 IF (PRESENT(long_name_)) THEN 828 long_name__tmp = cxios_is_defined_fieldgroup_long_name(fieldgroup_hdl%daddr) 902 long_name__tmp = cxios_is_defined_fieldgroup_long_name & 903 (fieldgroup_hdl%daddr) 829 904 long_name_ = long_name__tmp 830 905 ENDIF 831 906 832 907 IF (PRESENT(name_)) THEN 833 name__tmp = cxios_is_defined_fieldgroup_name(fieldgroup_hdl%daddr) 908 name__tmp = cxios_is_defined_fieldgroup_name & 909 (fieldgroup_hdl%daddr) 834 910 name_ = name__tmp 835 911 ENDIF 836 912 837 913 IF (PRESENT(operation_)) THEN 838 operation__tmp = cxios_is_defined_fieldgroup_operation(fieldgroup_hdl%daddr) 914 operation__tmp = cxios_is_defined_fieldgroup_operation & 915 (fieldgroup_hdl%daddr) 839 916 operation_ = operation__tmp 840 917 ENDIF 841 918 842 919 IF (PRESENT(prec_)) THEN 843 prec__tmp = cxios_is_defined_fieldgroup_prec(fieldgroup_hdl%daddr) 920 prec__tmp = cxios_is_defined_fieldgroup_prec & 921 (fieldgroup_hdl%daddr) 844 922 prec_ = prec__tmp 845 923 ENDIF 846 924 847 925 IF (PRESENT(read_access_)) THEN 848 read_access__tmp = cxios_is_defined_fieldgroup_read_access(fieldgroup_hdl%daddr) 926 read_access__tmp = cxios_is_defined_fieldgroup_read_access & 927 (fieldgroup_hdl%daddr) 849 928 read_access_ = read_access__tmp 850 929 ENDIF 851 930 852 931 IF (PRESENT(scalar_ref_)) THEN 853 scalar_ref__tmp = cxios_is_defined_fieldgroup_scalar_ref(fieldgroup_hdl%daddr) 932 scalar_ref__tmp = cxios_is_defined_fieldgroup_scalar_ref & 933 (fieldgroup_hdl%daddr) 854 934 scalar_ref_ = scalar_ref__tmp 855 935 ENDIF 856 936 857 937 IF (PRESENT(scale_factor_)) THEN 858 scale_factor__tmp = cxios_is_defined_fieldgroup_scale_factor(fieldgroup_hdl%daddr) 938 scale_factor__tmp = cxios_is_defined_fieldgroup_scale_factor & 939 (fieldgroup_hdl%daddr) 859 940 scale_factor_ = scale_factor__tmp 860 941 ENDIF 861 942 862 943 IF (PRESENT(standard_name_)) THEN 863 standard_name__tmp = cxios_is_defined_fieldgroup_standard_name(fieldgroup_hdl%daddr) 944 standard_name__tmp = cxios_is_defined_fieldgroup_standard_name & 945 (fieldgroup_hdl%daddr) 864 946 standard_name_ = standard_name__tmp 865 947 ENDIF 866 948 867 949 IF (PRESENT(ts_enabled_)) THEN 868 ts_enabled__tmp = cxios_is_defined_fieldgroup_ts_enabled(fieldgroup_hdl%daddr) 950 ts_enabled__tmp = cxios_is_defined_fieldgroup_ts_enabled & 951 (fieldgroup_hdl%daddr) 869 952 ts_enabled_ = ts_enabled__tmp 870 953 ENDIF 871 954 872 955 IF (PRESENT(ts_split_freq_)) THEN 873 ts_split_freq__tmp = cxios_is_defined_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr) 956 ts_split_freq__tmp = cxios_is_defined_fieldgroup_ts_split_freq & 957 (fieldgroup_hdl%daddr) 874 958 ts_split_freq_ = ts_split_freq__tmp 875 959 ENDIF 876 960 877 961 IF (PRESENT(unit_)) THEN 878 unit__tmp = cxios_is_defined_fieldgroup_unit(fieldgroup_hdl%daddr) 962 unit__tmp = cxios_is_defined_fieldgroup_unit & 963 (fieldgroup_hdl%daddr) 879 964 unit_ = unit__tmp 880 965 ENDIF 881 966 882 967 IF (PRESENT(valid_max_)) THEN 883 valid_max__tmp = cxios_is_defined_fieldgroup_valid_max(fieldgroup_hdl%daddr) 968 valid_max__tmp = cxios_is_defined_fieldgroup_valid_max & 969 (fieldgroup_hdl%daddr) 884 970 valid_max_ = valid_max__tmp 885 971 ENDIF 886 972 887 973 IF (PRESENT(valid_min_)) THEN 888 valid_min__tmp = cxios_is_defined_fieldgroup_valid_min(fieldgroup_hdl%daddr) 974 valid_min__tmp = cxios_is_defined_fieldgroup_valid_min & 975 (fieldgroup_hdl%daddr) 889 976 valid_min_ = valid_min__tmp 890 977 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r932 r966 47 47 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 48 48 49 CALL xios(get_file_handle)(file_id,file_hdl) 49 CALL xios(get_file_handle) & 50 (file_id,file_hdl) 50 51 CALL xios(set_file_attr_hdl_) & 51 52 ( file_hdl, append, compression_level, convention, cyclic, description, enabled, format, min_digits & … … 136 137 IF (PRESENT(append_)) THEN 137 138 append__tmp = append_ 138 CALL cxios_set_file_append(file_hdl%daddr, append__tmp) 139 CALL cxios_set_file_append & 140 (file_hdl%daddr, append__tmp) 139 141 ENDIF 140 142 141 143 IF (PRESENT(compression_level_)) THEN 142 CALL cxios_set_file_compression_level(file_hdl%daddr, compression_level_) 144 CALL cxios_set_file_compression_level & 145 (file_hdl%daddr, compression_level_) 143 146 ENDIF 144 147 145 148 IF (PRESENT(convention_)) THEN 146 CALL cxios_set_file_convention(file_hdl%daddr, convention_, len(convention_)) 149 CALL cxios_set_file_convention & 150 (file_hdl%daddr, convention_, len(convention_)) 147 151 ENDIF 148 152 149 153 IF (PRESENT(cyclic_)) THEN 150 154 cyclic__tmp = cyclic_ 151 CALL cxios_set_file_cyclic(file_hdl%daddr, cyclic__tmp) 155 CALL cxios_set_file_cyclic & 156 (file_hdl%daddr, cyclic__tmp) 152 157 ENDIF 153 158 154 159 IF (PRESENT(description_)) THEN 155 CALL cxios_set_file_description(file_hdl%daddr, description_, len(description_)) 160 CALL cxios_set_file_description & 161 (file_hdl%daddr, description_, len(description_)) 156 162 ENDIF 157 163 158 164 IF (PRESENT(enabled_)) THEN 159 165 enabled__tmp = enabled_ 160 CALL cxios_set_file_enabled(file_hdl%daddr, enabled__tmp) 166 CALL cxios_set_file_enabled & 167 (file_hdl%daddr, enabled__tmp) 161 168 ENDIF 162 169 163 170 IF (PRESENT(format_)) THEN 164 CALL cxios_set_file_format(file_hdl%daddr, format_, len(format_)) 171 CALL cxios_set_file_format & 172 (file_hdl%daddr, format_, len(format_)) 165 173 ENDIF 166 174 167 175 IF (PRESENT(min_digits_)) THEN 168 CALL cxios_set_file_min_digits(file_hdl%daddr, min_digits_) 176 CALL cxios_set_file_min_digits & 177 (file_hdl%daddr, min_digits_) 169 178 ENDIF 170 179 171 180 IF (PRESENT(mode_)) THEN 172 CALL cxios_set_file_mode(file_hdl%daddr, mode_, len(mode_)) 181 CALL cxios_set_file_mode & 182 (file_hdl%daddr, mode_, len(mode_)) 173 183 ENDIF 174 184 175 185 IF (PRESENT(name_)) THEN 176 CALL cxios_set_file_name(file_hdl%daddr, name_, len(name_)) 186 CALL cxios_set_file_name & 187 (file_hdl%daddr, name_, len(name_)) 177 188 ENDIF 178 189 179 190 IF (PRESENT(name_suffix_)) THEN 180 CALL cxios_set_file_name_suffix(file_hdl%daddr, name_suffix_, len(name_suffix_)) 191 CALL cxios_set_file_name_suffix & 192 (file_hdl%daddr, name_suffix_, len(name_suffix_)) 181 193 ENDIF 182 194 183 195 IF (PRESENT(output_freq_)) THEN 184 CALL cxios_set_file_output_freq(file_hdl%daddr, output_freq_) 196 CALL cxios_set_file_output_freq & 197 (file_hdl%daddr, output_freq_) 185 198 ENDIF 186 199 187 200 IF (PRESENT(output_level_)) THEN 188 CALL cxios_set_file_output_level(file_hdl%daddr, output_level_) 201 CALL cxios_set_file_output_level & 202 (file_hdl%daddr, output_level_) 189 203 ENDIF 190 204 191 205 IF (PRESENT(par_access_)) THEN 192 CALL cxios_set_file_par_access(file_hdl%daddr, par_access_, len(par_access_)) 206 CALL cxios_set_file_par_access & 207 (file_hdl%daddr, par_access_, len(par_access_)) 193 208 ENDIF 194 209 195 210 IF (PRESENT(record_offset_)) THEN 196 CALL cxios_set_file_record_offset(file_hdl%daddr, record_offset_) 211 CALL cxios_set_file_record_offset & 212 (file_hdl%daddr, record_offset_) 197 213 ENDIF 198 214 199 215 IF (PRESENT(split_freq_)) THEN 200 CALL cxios_set_file_split_freq(file_hdl%daddr, split_freq_) 216 CALL cxios_set_file_split_freq & 217 (file_hdl%daddr, split_freq_) 201 218 ENDIF 202 219 203 220 IF (PRESENT(split_freq_format_)) THEN 204 CALL cxios_set_file_split_freq_format(file_hdl%daddr, split_freq_format_, len(split_freq_format_)) 221 CALL cxios_set_file_split_freq_format & 222 (file_hdl%daddr, split_freq_format_, len(split_freq_format_)) 205 223 ENDIF 206 224 207 225 IF (PRESENT(sync_freq_)) THEN 208 CALL cxios_set_file_sync_freq(file_hdl%daddr, sync_freq_) 226 CALL cxios_set_file_sync_freq & 227 (file_hdl%daddr, sync_freq_) 209 228 ENDIF 210 229 211 230 IF (PRESENT(time_counter_)) THEN 212 CALL cxios_set_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 231 CALL cxios_set_file_time_counter & 232 (file_hdl%daddr, time_counter_, len(time_counter_)) 213 233 ENDIF 214 234 215 235 IF (PRESENT(time_counter_name_)) THEN 216 CALL cxios_set_file_time_counter_name(file_hdl%daddr, time_counter_name_, len(time_counter_name_)) 236 CALL cxios_set_file_time_counter_name & 237 (file_hdl%daddr, time_counter_name_, len(time_counter_name_)) 217 238 ENDIF 218 239 219 240 IF (PRESENT(timeseries_)) THEN 220 CALL cxios_set_file_timeseries(file_hdl%daddr, timeseries_, len(timeseries_)) 241 CALL cxios_set_file_timeseries & 242 (file_hdl%daddr, timeseries_, len(timeseries_)) 221 243 ENDIF 222 244 223 245 IF (PRESENT(ts_prefix_)) THEN 224 CALL cxios_set_file_ts_prefix(file_hdl%daddr, ts_prefix_, len(ts_prefix_)) 246 CALL cxios_set_file_ts_prefix & 247 (file_hdl%daddr, ts_prefix_, len(ts_prefix_)) 225 248 ENDIF 226 249 227 250 IF (PRESENT(type_)) THEN 228 CALL cxios_set_file_type(file_hdl%daddr, type_, len(type_)) 251 CALL cxios_set_file_type & 252 (file_hdl%daddr, type_, len(type_)) 229 253 ENDIF 230 254 … … 267 291 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 268 292 269 CALL xios(get_file_handle)(file_id,file_hdl) 293 CALL xios(get_file_handle) & 294 (file_id,file_hdl) 270 295 CALL xios(get_file_attr_hdl_) & 271 296 ( file_hdl, append, compression_level, convention, cyclic, description, enabled, format, min_digits & … … 355 380 356 381 IF (PRESENT(append_)) THEN 357 CALL cxios_get_file_append(file_hdl%daddr, append__tmp) 382 CALL cxios_get_file_append & 383 (file_hdl%daddr, append__tmp) 358 384 append_ = append__tmp 359 385 ENDIF 360 386 361 387 IF (PRESENT(compression_level_)) THEN 362 CALL cxios_get_file_compression_level(file_hdl%daddr, compression_level_) 388 CALL cxios_get_file_compression_level & 389 (file_hdl%daddr, compression_level_) 363 390 ENDIF 364 391 365 392 IF (PRESENT(convention_)) THEN 366 CALL cxios_get_file_convention(file_hdl%daddr, convention_, len(convention_)) 393 CALL cxios_get_file_convention & 394 (file_hdl%daddr, convention_, len(convention_)) 367 395 ENDIF 368 396 369 397 IF (PRESENT(cyclic_)) THEN 370 CALL cxios_get_file_cyclic(file_hdl%daddr, cyclic__tmp) 398 CALL cxios_get_file_cyclic & 399 (file_hdl%daddr, cyclic__tmp) 371 400 cyclic_ = cyclic__tmp 372 401 ENDIF 373 402 374 403 IF (PRESENT(description_)) THEN 375 CALL cxios_get_file_description(file_hdl%daddr, description_, len(description_)) 404 CALL cxios_get_file_description & 405 (file_hdl%daddr, description_, len(description_)) 376 406 ENDIF 377 407 378 408 IF (PRESENT(enabled_)) THEN 379 CALL cxios_get_file_enabled(file_hdl%daddr, enabled__tmp) 409 CALL cxios_get_file_enabled & 410 (file_hdl%daddr, enabled__tmp) 380 411 enabled_ = enabled__tmp 381 412 ENDIF 382 413 383 414 IF (PRESENT(format_)) THEN 384 CALL cxios_get_file_format(file_hdl%daddr, format_, len(format_)) 415 CALL cxios_get_file_format & 416 (file_hdl%daddr, format_, len(format_)) 385 417 ENDIF 386 418 387 419 IF (PRESENT(min_digits_)) THEN 388 CALL cxios_get_file_min_digits(file_hdl%daddr, min_digits_) 420 CALL cxios_get_file_min_digits & 421 (file_hdl%daddr, min_digits_) 389 422 ENDIF 390 423 391 424 IF (PRESENT(mode_)) THEN 392 CALL cxios_get_file_mode(file_hdl%daddr, mode_, len(mode_)) 425 CALL cxios_get_file_mode & 426 (file_hdl%daddr, mode_, len(mode_)) 393 427 ENDIF 394 428 395 429 IF (PRESENT(name_)) THEN 396 CALL cxios_get_file_name(file_hdl%daddr, name_, len(name_)) 430 CALL cxios_get_file_name & 431 (file_hdl%daddr, name_, len(name_)) 397 432 ENDIF 398 433 399 434 IF (PRESENT(name_suffix_)) THEN 400 CALL cxios_get_file_name_suffix(file_hdl%daddr, name_suffix_, len(name_suffix_)) 435 CALL cxios_get_file_name_suffix & 436 (file_hdl%daddr, name_suffix_, len(name_suffix_)) 401 437 ENDIF 402 438 403 439 IF (PRESENT(output_freq_)) THEN 404 CALL cxios_get_file_output_freq(file_hdl%daddr, output_freq_) 440 CALL cxios_get_file_output_freq & 441 (file_hdl%daddr, output_freq_) 405 442 ENDIF 406 443 407 444 IF (PRESENT(output_level_)) THEN 408 CALL cxios_get_file_output_level(file_hdl%daddr, output_level_) 445 CALL cxios_get_file_output_level & 446 (file_hdl%daddr, output_level_) 409 447 ENDIF 410 448 411 449 IF (PRESENT(par_access_)) THEN 412 CALL cxios_get_file_par_access(file_hdl%daddr, par_access_, len(par_access_)) 450 CALL cxios_get_file_par_access & 451 (file_hdl%daddr, par_access_, len(par_access_)) 413 452 ENDIF 414 453 415 454 IF (PRESENT(record_offset_)) THEN 416 CALL cxios_get_file_record_offset(file_hdl%daddr, record_offset_) 455 CALL cxios_get_file_record_offset & 456 (file_hdl%daddr, record_offset_) 417 457 ENDIF 418 458 419 459 IF (PRESENT(split_freq_)) THEN 420 CALL cxios_get_file_split_freq(file_hdl%daddr, split_freq_) 460 CALL cxios_get_file_split_freq & 461 (file_hdl%daddr, split_freq_) 421 462 ENDIF 422 463 423 464 IF (PRESENT(split_freq_format_)) THEN 424 CALL cxios_get_file_split_freq_format(file_hdl%daddr, split_freq_format_, len(split_freq_format_)) 465 CALL cxios_get_file_split_freq_format & 466 (file_hdl%daddr, split_freq_format_, len(split_freq_format_)) 425 467 ENDIF 426 468 427 469 IF (PRESENT(sync_freq_)) THEN 428 CALL cxios_get_file_sync_freq(file_hdl%daddr, sync_freq_) 470 CALL cxios_get_file_sync_freq & 471 (file_hdl%daddr, sync_freq_) 429 472 ENDIF 430 473 431 474 IF (PRESENT(time_counter_)) THEN 432 CALL cxios_get_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 475 CALL cxios_get_file_time_counter & 476 (file_hdl%daddr, time_counter_, len(time_counter_)) 433 477 ENDIF 434 478 435 479 IF (PRESENT(time_counter_name_)) THEN 436 CALL cxios_get_file_time_counter_name(file_hdl%daddr, time_counter_name_, len(time_counter_name_)) 480 CALL cxios_get_file_time_counter_name & 481 (file_hdl%daddr, time_counter_name_, len(time_counter_name_)) 437 482 ENDIF 438 483 439 484 IF (PRESENT(timeseries_)) THEN 440 CALL cxios_get_file_timeseries(file_hdl%daddr, timeseries_, len(timeseries_)) 485 CALL cxios_get_file_timeseries & 486 (file_hdl%daddr, timeseries_, len(timeseries_)) 441 487 ENDIF 442 488 443 489 IF (PRESENT(ts_prefix_)) THEN 444 CALL cxios_get_file_ts_prefix(file_hdl%daddr, ts_prefix_, len(ts_prefix_)) 490 CALL cxios_get_file_ts_prefix & 491 (file_hdl%daddr, ts_prefix_, len(ts_prefix_)) 445 492 ENDIF 446 493 447 494 IF (PRESENT(type_)) THEN 448 CALL cxios_get_file_type(file_hdl%daddr, type_, len(type_)) 495 CALL cxios_get_file_type & 496 (file_hdl%daddr, type_, len(type_)) 449 497 ENDIF 450 498 … … 507 555 LOGICAL(KIND=C_BOOL) :: type_tmp 508 556 509 CALL xios(get_file_handle)(file_id,file_hdl) 557 CALL xios(get_file_handle) & 558 (file_id,file_hdl) 510 559 CALL xios(is_defined_file_attr_hdl_) & 511 560 ( file_hdl, append, compression_level, convention, cyclic, description, enabled, format, min_digits & … … 635 684 636 685 IF (PRESENT(append_)) THEN 637 append__tmp = cxios_is_defined_file_append(file_hdl%daddr) 686 append__tmp = cxios_is_defined_file_append & 687 (file_hdl%daddr) 638 688 append_ = append__tmp 639 689 ENDIF 640 690 641 691 IF (PRESENT(compression_level_)) THEN 642 compression_level__tmp = cxios_is_defined_file_compression_level(file_hdl%daddr) 692 compression_level__tmp = cxios_is_defined_file_compression_level & 693 (file_hdl%daddr) 643 694 compression_level_ = compression_level__tmp 644 695 ENDIF 645 696 646 697 IF (PRESENT(convention_)) THEN 647 convention__tmp = cxios_is_defined_file_convention(file_hdl%daddr) 698 convention__tmp = cxios_is_defined_file_convention & 699 (file_hdl%daddr) 648 700 convention_ = convention__tmp 649 701 ENDIF 650 702 651 703 IF (PRESENT(cyclic_)) THEN 652 cyclic__tmp = cxios_is_defined_file_cyclic(file_hdl%daddr) 704 cyclic__tmp = cxios_is_defined_file_cyclic & 705 (file_hdl%daddr) 653 706 cyclic_ = cyclic__tmp 654 707 ENDIF 655 708 656 709 IF (PRESENT(description_)) THEN 657 description__tmp = cxios_is_defined_file_description(file_hdl%daddr) 710 description__tmp = cxios_is_defined_file_description & 711 (file_hdl%daddr) 658 712 description_ = description__tmp 659 713 ENDIF 660 714 661 715 IF (PRESENT(enabled_)) THEN 662 enabled__tmp = cxios_is_defined_file_enabled(file_hdl%daddr) 716 enabled__tmp = cxios_is_defined_file_enabled & 717 (file_hdl%daddr) 663 718 enabled_ = enabled__tmp 664 719 ENDIF 665 720 666 721 IF (PRESENT(format_)) THEN 667 format__tmp = cxios_is_defined_file_format(file_hdl%daddr) 722 format__tmp = cxios_is_defined_file_format & 723 (file_hdl%daddr) 668 724 format_ = format__tmp 669 725 ENDIF 670 726 671 727 IF (PRESENT(min_digits_)) THEN 672 min_digits__tmp = cxios_is_defined_file_min_digits(file_hdl%daddr) 728 min_digits__tmp = cxios_is_defined_file_min_digits & 729 (file_hdl%daddr) 673 730 min_digits_ = min_digits__tmp 674 731 ENDIF 675 732 676 733 IF (PRESENT(mode_)) THEN 677 mode__tmp = cxios_is_defined_file_mode(file_hdl%daddr) 734 mode__tmp = cxios_is_defined_file_mode & 735 (file_hdl%daddr) 678 736 mode_ = mode__tmp 679 737 ENDIF 680 738 681 739 IF (PRESENT(name_)) THEN 682 name__tmp = cxios_is_defined_file_name(file_hdl%daddr) 740 name__tmp = cxios_is_defined_file_name & 741 (file_hdl%daddr) 683 742 name_ = name__tmp 684 743 ENDIF 685 744 686 745 IF (PRESENT(name_suffix_)) THEN 687 name_suffix__tmp = cxios_is_defined_file_name_suffix(file_hdl%daddr) 746 name_suffix__tmp = cxios_is_defined_file_name_suffix & 747 (file_hdl%daddr) 688 748 name_suffix_ = name_suffix__tmp 689 749 ENDIF 690 750 691 751 IF (PRESENT(output_freq_)) THEN 692 output_freq__tmp = cxios_is_defined_file_output_freq(file_hdl%daddr) 752 output_freq__tmp = cxios_is_defined_file_output_freq & 753 (file_hdl%daddr) 693 754 output_freq_ = output_freq__tmp 694 755 ENDIF 695 756 696 757 IF (PRESENT(output_level_)) THEN 697 output_level__tmp = cxios_is_defined_file_output_level(file_hdl%daddr) 758 output_level__tmp = cxios_is_defined_file_output_level & 759 (file_hdl%daddr) 698 760 output_level_ = output_level__tmp 699 761 ENDIF 700 762 701 763 IF (PRESENT(par_access_)) THEN 702 par_access__tmp = cxios_is_defined_file_par_access(file_hdl%daddr) 764 par_access__tmp = cxios_is_defined_file_par_access & 765 (file_hdl%daddr) 703 766 par_access_ = par_access__tmp 704 767 ENDIF 705 768 706 769 IF (PRESENT(record_offset_)) THEN 707 record_offset__tmp = cxios_is_defined_file_record_offset(file_hdl%daddr) 770 record_offset__tmp = cxios_is_defined_file_record_offset & 771 (file_hdl%daddr) 708 772 record_offset_ = record_offset__tmp 709 773 ENDIF 710 774 711 775 IF (PRESENT(split_freq_)) THEN 712 split_freq__tmp = cxios_is_defined_file_split_freq(file_hdl%daddr) 776 split_freq__tmp = cxios_is_defined_file_split_freq & 777 (file_hdl%daddr) 713 778 split_freq_ = split_freq__tmp 714 779 ENDIF 715 780 716 781 IF (PRESENT(split_freq_format_)) THEN 717 split_freq_format__tmp = cxios_is_defined_file_split_freq_format(file_hdl%daddr) 782 split_freq_format__tmp = cxios_is_defined_file_split_freq_format & 783 (file_hdl%daddr) 718 784 split_freq_format_ = split_freq_format__tmp 719 785 ENDIF 720 786 721 787 IF (PRESENT(sync_freq_)) THEN 722 sync_freq__tmp = cxios_is_defined_file_sync_freq(file_hdl%daddr) 788 sync_freq__tmp = cxios_is_defined_file_sync_freq & 789 (file_hdl%daddr) 723 790 sync_freq_ = sync_freq__tmp 724 791 ENDIF 725 792 726 793 IF (PRESENT(time_counter_)) THEN 727 time_counter__tmp = cxios_is_defined_file_time_counter(file_hdl%daddr) 794 time_counter__tmp = cxios_is_defined_file_time_counter & 795 (file_hdl%daddr) 728 796 time_counter_ = time_counter__tmp 729 797 ENDIF 730 798 731 799 IF (PRESENT(time_counter_name_)) THEN 732 time_counter_name__tmp = cxios_is_defined_file_time_counter_name(file_hdl%daddr) 800 time_counter_name__tmp = cxios_is_defined_file_time_counter_name & 801 (file_hdl%daddr) 733 802 time_counter_name_ = time_counter_name__tmp 734 803 ENDIF 735 804 736 805 IF (PRESENT(timeseries_)) THEN 737 timeseries__tmp = cxios_is_defined_file_timeseries(file_hdl%daddr) 806 timeseries__tmp = cxios_is_defined_file_timeseries & 807 (file_hdl%daddr) 738 808 timeseries_ = timeseries__tmp 739 809 ENDIF 740 810 741 811 IF (PRESENT(ts_prefix_)) THEN 742 ts_prefix__tmp = cxios_is_defined_file_ts_prefix(file_hdl%daddr) 812 ts_prefix__tmp = cxios_is_defined_file_ts_prefix & 813 (file_hdl%daddr) 743 814 ts_prefix_ = ts_prefix__tmp 744 815 ENDIF 745 816 746 817 IF (PRESENT(type_)) THEN 747 type__tmp = cxios_is_defined_file_type(file_hdl%daddr) 818 type__tmp = cxios_is_defined_file_type & 819 (file_hdl%daddr) 748 820 type_ = type__tmp 749 821 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
r932 r966 48 48 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 49 49 50 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 50 CALL xios(get_filegroup_handle) & 51 (filegroup_id,filegroup_hdl) 51 52 CALL xios(set_filegroup_attr_hdl_) & 52 53 ( filegroup_hdl, append, compression_level, convention, cyclic, description, enabled, format & … … 139 140 IF (PRESENT(append_)) THEN 140 141 append__tmp = append_ 141 CALL cxios_set_filegroup_append(filegroup_hdl%daddr, append__tmp) 142 CALL cxios_set_filegroup_append & 143 (filegroup_hdl%daddr, append__tmp) 142 144 ENDIF 143 145 144 146 IF (PRESENT(compression_level_)) THEN 145 CALL cxios_set_filegroup_compression_level(filegroup_hdl%daddr, compression_level_) 147 CALL cxios_set_filegroup_compression_level & 148 (filegroup_hdl%daddr, compression_level_) 146 149 ENDIF 147 150 148 151 IF (PRESENT(convention_)) THEN 149 CALL cxios_set_filegroup_convention(filegroup_hdl%daddr, convention_, len(convention_)) 152 CALL cxios_set_filegroup_convention & 153 (filegroup_hdl%daddr, convention_, len(convention_)) 150 154 ENDIF 151 155 152 156 IF (PRESENT(cyclic_)) THEN 153 157 cyclic__tmp = cyclic_ 154 CALL cxios_set_filegroup_cyclic(filegroup_hdl%daddr, cyclic__tmp) 158 CALL cxios_set_filegroup_cyclic & 159 (filegroup_hdl%daddr, cyclic__tmp) 155 160 ENDIF 156 161 157 162 IF (PRESENT(description_)) THEN 158 CALL cxios_set_filegroup_description(filegroup_hdl%daddr, description_, len(description_)) 163 CALL cxios_set_filegroup_description & 164 (filegroup_hdl%daddr, description_, len(description_)) 159 165 ENDIF 160 166 161 167 IF (PRESENT(enabled_)) THEN 162 168 enabled__tmp = enabled_ 163 CALL cxios_set_filegroup_enabled(filegroup_hdl%daddr, enabled__tmp) 169 CALL cxios_set_filegroup_enabled & 170 (filegroup_hdl%daddr, enabled__tmp) 164 171 ENDIF 165 172 166 173 IF (PRESENT(format_)) THEN 167 CALL cxios_set_filegroup_format(filegroup_hdl%daddr, format_, len(format_)) 174 CALL cxios_set_filegroup_format & 175 (filegroup_hdl%daddr, format_, len(format_)) 168 176 ENDIF 169 177 170 178 IF (PRESENT(group_ref_)) THEN 171 CALL cxios_set_filegroup_group_ref(filegroup_hdl%daddr, group_ref_, len(group_ref_)) 179 CALL cxios_set_filegroup_group_ref & 180 (filegroup_hdl%daddr, group_ref_, len(group_ref_)) 172 181 ENDIF 173 182 174 183 IF (PRESENT(min_digits_)) THEN 175 CALL cxios_set_filegroup_min_digits(filegroup_hdl%daddr, min_digits_) 184 CALL cxios_set_filegroup_min_digits & 185 (filegroup_hdl%daddr, min_digits_) 176 186 ENDIF 177 187 178 188 IF (PRESENT(mode_)) THEN 179 CALL cxios_set_filegroup_mode(filegroup_hdl%daddr, mode_, len(mode_)) 189 CALL cxios_set_filegroup_mode & 190 (filegroup_hdl%daddr, mode_, len(mode_)) 180 191 ENDIF 181 192 182 193 IF (PRESENT(name_)) THEN 183 CALL cxios_set_filegroup_name(filegroup_hdl%daddr, name_, len(name_)) 194 CALL cxios_set_filegroup_name & 195 (filegroup_hdl%daddr, name_, len(name_)) 184 196 ENDIF 185 197 186 198 IF (PRESENT(name_suffix_)) THEN 187 CALL cxios_set_filegroup_name_suffix(filegroup_hdl%daddr, name_suffix_, len(name_suffix_)) 199 CALL cxios_set_filegroup_name_suffix & 200 (filegroup_hdl%daddr, name_suffix_, len(name_suffix_)) 188 201 ENDIF 189 202 190 203 IF (PRESENT(output_freq_)) THEN 191 CALL cxios_set_filegroup_output_freq(filegroup_hdl%daddr, output_freq_) 204 CALL cxios_set_filegroup_output_freq & 205 (filegroup_hdl%daddr, output_freq_) 192 206 ENDIF 193 207 194 208 IF (PRESENT(output_level_)) THEN 195 CALL cxios_set_filegroup_output_level(filegroup_hdl%daddr, output_level_) 209 CALL cxios_set_filegroup_output_level & 210 (filegroup_hdl%daddr, output_level_) 196 211 ENDIF 197 212 198 213 IF (PRESENT(par_access_)) THEN 199 CALL cxios_set_filegroup_par_access(filegroup_hdl%daddr, par_access_, len(par_access_)) 214 CALL cxios_set_filegroup_par_access & 215 (filegroup_hdl%daddr, par_access_, len(par_access_)) 200 216 ENDIF 201 217 202 218 IF (PRESENT(record_offset_)) THEN 203 CALL cxios_set_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 219 CALL cxios_set_filegroup_record_offset & 220 (filegroup_hdl%daddr, record_offset_) 204 221 ENDIF 205 222 206 223 IF (PRESENT(split_freq_)) THEN 207 CALL cxios_set_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 224 CALL cxios_set_filegroup_split_freq & 225 (filegroup_hdl%daddr, split_freq_) 208 226 ENDIF 209 227 210 228 IF (PRESENT(split_freq_format_)) THEN 211 CALL cxios_set_filegroup_split_freq_format(filegroup_hdl%daddr, split_freq_format_, len(split_freq_format_)) 229 CALL cxios_set_filegroup_split_freq_format & 230 (filegroup_hdl%daddr, split_freq_format_, len(split_freq_format_)) 212 231 ENDIF 213 232 214 233 IF (PRESENT(sync_freq_)) THEN 215 CALL cxios_set_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_) 234 CALL cxios_set_filegroup_sync_freq & 235 (filegroup_hdl%daddr, sync_freq_) 216 236 ENDIF 217 237 218 238 IF (PRESENT(time_counter_)) THEN 219 CALL cxios_set_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 239 CALL cxios_set_filegroup_time_counter & 240 (filegroup_hdl%daddr, time_counter_, len(time_counter_)) 220 241 ENDIF 221 242 222 243 IF (PRESENT(time_counter_name_)) THEN 223 CALL cxios_set_filegroup_time_counter_name(filegroup_hdl%daddr, time_counter_name_, len(time_counter_name_)) 244 CALL cxios_set_filegroup_time_counter_name & 245 (filegroup_hdl%daddr, time_counter_name_, len(time_counter_name_)) 224 246 ENDIF 225 247 226 248 IF (PRESENT(timeseries_)) THEN 227 CALL cxios_set_filegroup_timeseries(filegroup_hdl%daddr, timeseries_, len(timeseries_)) 249 CALL cxios_set_filegroup_timeseries & 250 (filegroup_hdl%daddr, timeseries_, len(timeseries_)) 228 251 ENDIF 229 252 230 253 IF (PRESENT(ts_prefix_)) THEN 231 CALL cxios_set_filegroup_ts_prefix(filegroup_hdl%daddr, ts_prefix_, len(ts_prefix_)) 254 CALL cxios_set_filegroup_ts_prefix & 255 (filegroup_hdl%daddr, ts_prefix_, len(ts_prefix_)) 232 256 ENDIF 233 257 234 258 IF (PRESENT(type_)) THEN 235 CALL cxios_set_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) 259 CALL cxios_set_filegroup_type & 260 (filegroup_hdl%daddr, type_, len(type_)) 236 261 ENDIF 237 262 … … 275 300 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 276 301 277 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 302 CALL xios(get_filegroup_handle) & 303 (filegroup_id,filegroup_hdl) 278 304 CALL xios(get_filegroup_attr_hdl_) & 279 305 ( filegroup_hdl, append, compression_level, convention, cyclic, description, enabled, format & … … 365 391 366 392 IF (PRESENT(append_)) THEN 367 CALL cxios_get_filegroup_append(filegroup_hdl%daddr, append__tmp) 393 CALL cxios_get_filegroup_append & 394 (filegroup_hdl%daddr, append__tmp) 368 395 append_ = append__tmp 369 396 ENDIF 370 397 371 398 IF (PRESENT(compression_level_)) THEN 372 CALL cxios_get_filegroup_compression_level(filegroup_hdl%daddr, compression_level_) 399 CALL cxios_get_filegroup_compression_level & 400 (filegroup_hdl%daddr, compression_level_) 373 401 ENDIF 374 402 375 403 IF (PRESENT(convention_)) THEN 376 CALL cxios_get_filegroup_convention(filegroup_hdl%daddr, convention_, len(convention_)) 404 CALL cxios_get_filegroup_convention & 405 (filegroup_hdl%daddr, convention_, len(convention_)) 377 406 ENDIF 378 407 379 408 IF (PRESENT(cyclic_)) THEN 380 CALL cxios_get_filegroup_cyclic(filegroup_hdl%daddr, cyclic__tmp) 409 CALL cxios_get_filegroup_cyclic & 410 (filegroup_hdl%daddr, cyclic__tmp) 381 411 cyclic_ = cyclic__tmp 382 412 ENDIF 383 413 384 414 IF (PRESENT(description_)) THEN 385 CALL cxios_get_filegroup_description(filegroup_hdl%daddr, description_, len(description_)) 415 CALL cxios_get_filegroup_description & 416 (filegroup_hdl%daddr, description_, len(description_)) 386 417 ENDIF 387 418 388 419 IF (PRESENT(enabled_)) THEN 389 CALL cxios_get_filegroup_enabled(filegroup_hdl%daddr, enabled__tmp) 420 CALL cxios_get_filegroup_enabled & 421 (filegroup_hdl%daddr, enabled__tmp) 390 422 enabled_ = enabled__tmp 391 423 ENDIF 392 424 393 425 IF (PRESENT(format_)) THEN 394 CALL cxios_get_filegroup_format(filegroup_hdl%daddr, format_, len(format_)) 426 CALL cxios_get_filegroup_format & 427 (filegroup_hdl%daddr, format_, len(format_)) 395 428 ENDIF 396 429 397 430 IF (PRESENT(group_ref_)) THEN 398 CALL cxios_get_filegroup_group_ref(filegroup_hdl%daddr, group_ref_, len(group_ref_)) 431 CALL cxios_get_filegroup_group_ref & 432 (filegroup_hdl%daddr, group_ref_, len(group_ref_)) 399 433 ENDIF 400 434 401 435 IF (PRESENT(min_digits_)) THEN 402 CALL cxios_get_filegroup_min_digits(filegroup_hdl%daddr, min_digits_) 436 CALL cxios_get_filegroup_min_digits & 437 (filegroup_hdl%daddr, min_digits_) 403 438 ENDIF 404 439 405 440 IF (PRESENT(mode_)) THEN 406 CALL cxios_get_filegroup_mode(filegroup_hdl%daddr, mode_, len(mode_)) 441 CALL cxios_get_filegroup_mode & 442 (filegroup_hdl%daddr, mode_, len(mode_)) 407 443 ENDIF 408 444 409 445 IF (PRESENT(name_)) THEN 410 CALL cxios_get_filegroup_name(filegroup_hdl%daddr, name_, len(name_)) 446 CALL cxios_get_filegroup_name & 447 (filegroup_hdl%daddr, name_, len(name_)) 411 448 ENDIF 412 449 413 450 IF (PRESENT(name_suffix_)) THEN 414 CALL cxios_get_filegroup_name_suffix(filegroup_hdl%daddr, name_suffix_, len(name_suffix_)) 451 CALL cxios_get_filegroup_name_suffix & 452 (filegroup_hdl%daddr, name_suffix_, len(name_suffix_)) 415 453 ENDIF 416 454 417 455 IF (PRESENT(output_freq_)) THEN 418 CALL cxios_get_filegroup_output_freq(filegroup_hdl%daddr, output_freq_) 456 CALL cxios_get_filegroup_output_freq & 457 (filegroup_hdl%daddr, output_freq_) 419 458 ENDIF 420 459 421 460 IF (PRESENT(output_level_)) THEN 422 CALL cxios_get_filegroup_output_level(filegroup_hdl%daddr, output_level_) 461 CALL cxios_get_filegroup_output_level & 462 (filegroup_hdl%daddr, output_level_) 423 463 ENDIF 424 464 425 465 IF (PRESENT(par_access_)) THEN 426 CALL cxios_get_filegroup_par_access(filegroup_hdl%daddr, par_access_, len(par_access_)) 466 CALL cxios_get_filegroup_par_access & 467 (filegroup_hdl%daddr, par_access_, len(par_access_)) 427 468 ENDIF 428 469 429 470 IF (PRESENT(record_offset_)) THEN 430 CALL cxios_get_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 471 CALL cxios_get_filegroup_record_offset & 472 (filegroup_hdl%daddr, record_offset_) 431 473 ENDIF 432 474 433 475 IF (PRESENT(split_freq_)) THEN 434 CALL cxios_get_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 476 CALL cxios_get_filegroup_split_freq & 477 (filegroup_hdl%daddr, split_freq_) 435 478 ENDIF 436 479 437 480 IF (PRESENT(split_freq_format_)) THEN 438 CALL cxios_get_filegroup_split_freq_format(filegroup_hdl%daddr, split_freq_format_, len(split_freq_format_)) 481 CALL cxios_get_filegroup_split_freq_format & 482 (filegroup_hdl%daddr, split_freq_format_, len(split_freq_format_)) 439 483 ENDIF 440 484 441 485 IF (PRESENT(sync_freq_)) THEN 442 CALL cxios_get_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_) 486 CALL cxios_get_filegroup_sync_freq & 487 (filegroup_hdl%daddr, sync_freq_) 443 488 ENDIF 444 489 445 490 IF (PRESENT(time_counter_)) THEN 446 CALL cxios_get_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 491 CALL cxios_get_filegroup_time_counter & 492 (filegroup_hdl%daddr, time_counter_, len(time_counter_)) 447 493 ENDIF 448 494 449 495 IF (PRESENT(time_counter_name_)) THEN 450 CALL cxios_get_filegroup_time_counter_name(filegroup_hdl%daddr, time_counter_name_, len(time_counter_name_)) 496 CALL cxios_get_filegroup_time_counter_name & 497 (filegroup_hdl%daddr, time_counter_name_, len(time_counter_name_)) 451 498 ENDIF 452 499 453 500 IF (PRESENT(timeseries_)) THEN 454 CALL cxios_get_filegroup_timeseries(filegroup_hdl%daddr, timeseries_, len(timeseries_)) 501 CALL cxios_get_filegroup_timeseries & 502 (filegroup_hdl%daddr, timeseries_, len(timeseries_)) 455 503 ENDIF 456 504 457 505 IF (PRESENT(ts_prefix_)) THEN 458 CALL cxios_get_filegroup_ts_prefix(filegroup_hdl%daddr, ts_prefix_, len(ts_prefix_)) 506 CALL cxios_get_filegroup_ts_prefix & 507 (filegroup_hdl%daddr, ts_prefix_, len(ts_prefix_)) 459 508 ENDIF 460 509 461 510 IF (PRESENT(type_)) THEN 462 CALL cxios_get_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) 511 CALL cxios_get_filegroup_type & 512 (filegroup_hdl%daddr, type_, len(type_)) 463 513 ENDIF 464 514 … … 523 573 LOGICAL(KIND=C_BOOL) :: type_tmp 524 574 525 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 575 CALL xios(get_filegroup_handle) & 576 (filegroup_id,filegroup_hdl) 526 577 CALL xios(is_defined_filegroup_attr_hdl_) & 527 578 ( filegroup_hdl, append, compression_level, convention, cyclic, description, enabled, format & … … 655 706 656 707 IF (PRESENT(append_)) THEN 657 append__tmp = cxios_is_defined_filegroup_append(filegroup_hdl%daddr) 708 append__tmp = cxios_is_defined_filegroup_append & 709 (filegroup_hdl%daddr) 658 710 append_ = append__tmp 659 711 ENDIF 660 712 661 713 IF (PRESENT(compression_level_)) THEN 662 compression_level__tmp = cxios_is_defined_filegroup_compression_level(filegroup_hdl%daddr) 714 compression_level__tmp = cxios_is_defined_filegroup_compression_level & 715 (filegroup_hdl%daddr) 663 716 compression_level_ = compression_level__tmp 664 717 ENDIF 665 718 666 719 IF (PRESENT(convention_)) THEN 667 convention__tmp = cxios_is_defined_filegroup_convention(filegroup_hdl%daddr) 720 convention__tmp = cxios_is_defined_filegroup_convention & 721 (filegroup_hdl%daddr) 668 722 convention_ = convention__tmp 669 723 ENDIF 670 724 671 725 IF (PRESENT(cyclic_)) THEN 672 cyclic__tmp = cxios_is_defined_filegroup_cyclic(filegroup_hdl%daddr) 726 cyclic__tmp = cxios_is_defined_filegroup_cyclic & 727 (filegroup_hdl%daddr) 673 728 cyclic_ = cyclic__tmp 674 729 ENDIF 675 730 676 731 IF (PRESENT(description_)) THEN 677 description__tmp = cxios_is_defined_filegroup_description(filegroup_hdl%daddr) 732 description__tmp = cxios_is_defined_filegroup_description & 733 (filegroup_hdl%daddr) 678 734 description_ = description__tmp 679 735 ENDIF 680 736 681 737 IF (PRESENT(enabled_)) THEN 682 enabled__tmp = cxios_is_defined_filegroup_enabled(filegroup_hdl%daddr) 738 enabled__tmp = cxios_is_defined_filegroup_enabled & 739 (filegroup_hdl%daddr) 683 740 enabled_ = enabled__tmp 684 741 ENDIF 685 742 686 743 IF (PRESENT(format_)) THEN 687 format__tmp = cxios_is_defined_filegroup_format(filegroup_hdl%daddr) 744 format__tmp = cxios_is_defined_filegroup_format & 745 (filegroup_hdl%daddr) 688 746 format_ = format__tmp 689 747 ENDIF 690 748 691 749 IF (PRESENT(group_ref_)) THEN 692 group_ref__tmp = cxios_is_defined_filegroup_group_ref(filegroup_hdl%daddr) 750 group_ref__tmp = cxios_is_defined_filegroup_group_ref & 751 (filegroup_hdl%daddr) 693 752 group_ref_ = group_ref__tmp 694 753 ENDIF 695 754 696 755 IF (PRESENT(min_digits_)) THEN 697 min_digits__tmp = cxios_is_defined_filegroup_min_digits(filegroup_hdl%daddr) 756 min_digits__tmp = cxios_is_defined_filegroup_min_digits & 757 (filegroup_hdl%daddr) 698 758 min_digits_ = min_digits__tmp 699 759 ENDIF 700 760 701 761 IF (PRESENT(mode_)) THEN 702 mode__tmp = cxios_is_defined_filegroup_mode(filegroup_hdl%daddr) 762 mode__tmp = cxios_is_defined_filegroup_mode & 763 (filegroup_hdl%daddr) 703 764 mode_ = mode__tmp 704 765 ENDIF 705 766 706 767 IF (PRESENT(name_)) THEN 707 name__tmp = cxios_is_defined_filegroup_name(filegroup_hdl%daddr) 768 name__tmp = cxios_is_defined_filegroup_name & 769 (filegroup_hdl%daddr) 708 770 name_ = name__tmp 709 771 ENDIF 710 772 711 773 IF (PRESENT(name_suffix_)) THEN 712 name_suffix__tmp = cxios_is_defined_filegroup_name_suffix(filegroup_hdl%daddr) 774 name_suffix__tmp = cxios_is_defined_filegroup_name_suffix & 775 (filegroup_hdl%daddr) 713 776 name_suffix_ = name_suffix__tmp 714 777 ENDIF 715 778 716 779 IF (PRESENT(output_freq_)) THEN 717 output_freq__tmp = cxios_is_defined_filegroup_output_freq(filegroup_hdl%daddr) 780 output_freq__tmp = cxios_is_defined_filegroup_output_freq & 781 (filegroup_hdl%daddr) 718 782 output_freq_ = output_freq__tmp 719 783 ENDIF 720 784 721 785 IF (PRESENT(output_level_)) THEN 722 output_level__tmp = cxios_is_defined_filegroup_output_level(filegroup_hdl%daddr) 786 output_level__tmp = cxios_is_defined_filegroup_output_level & 787 (filegroup_hdl%daddr) 723 788 output_level_ = output_level__tmp 724 789 ENDIF 725 790 726 791 IF (PRESENT(par_access_)) THEN 727 par_access__tmp = cxios_is_defined_filegroup_par_access(filegroup_hdl%daddr) 792 par_access__tmp = cxios_is_defined_filegroup_par_access & 793 (filegroup_hdl%daddr) 728 794 par_access_ = par_access__tmp 729 795 ENDIF 730 796 731 797 IF (PRESENT(record_offset_)) THEN 732 record_offset__tmp = cxios_is_defined_filegroup_record_offset(filegroup_hdl%daddr) 798 record_offset__tmp = cxios_is_defined_filegroup_record_offset & 799 (filegroup_hdl%daddr) 733 800 record_offset_ = record_offset__tmp 734 801 ENDIF 735 802 736 803 IF (PRESENT(split_freq_)) THEN 737 split_freq__tmp = cxios_is_defined_filegroup_split_freq(filegroup_hdl%daddr) 804 split_freq__tmp = cxios_is_defined_filegroup_split_freq & 805 (filegroup_hdl%daddr) 738 806 split_freq_ = split_freq__tmp 739 807 ENDIF 740 808 741 809 IF (PRESENT(split_freq_format_)) THEN 742 split_freq_format__tmp = cxios_is_defined_filegroup_split_freq_format(filegroup_hdl%daddr) 810 split_freq_format__tmp = cxios_is_defined_filegroup_split_freq_format & 811 (filegroup_hdl%daddr) 743 812 split_freq_format_ = split_freq_format__tmp 744 813 ENDIF 745 814 746 815 IF (PRESENT(sync_freq_)) THEN 747 sync_freq__tmp = cxios_is_defined_filegroup_sync_freq(filegroup_hdl%daddr) 816 sync_freq__tmp = cxios_is_defined_filegroup_sync_freq & 817 (filegroup_hdl%daddr) 748 818 sync_freq_ = sync_freq__tmp 749 819 ENDIF 750 820 751 821 IF (PRESENT(time_counter_)) THEN 752 time_counter__tmp = cxios_is_defined_filegroup_time_counter(filegroup_hdl%daddr) 822 time_counter__tmp = cxios_is_defined_filegroup_time_counter & 823 (filegroup_hdl%daddr) 753 824 time_counter_ = time_counter__tmp 754 825 ENDIF 755 826 756 827 IF (PRESENT(time_counter_name_)) THEN 757 time_counter_name__tmp = cxios_is_defined_filegroup_time_counter_name(filegroup_hdl%daddr) 828 time_counter_name__tmp = cxios_is_defined_filegroup_time_counter_name & 829 (filegroup_hdl%daddr) 758 830 time_counter_name_ = time_counter_name__tmp 759 831 ENDIF 760 832 761 833 IF (PRESENT(timeseries_)) THEN 762 timeseries__tmp = cxios_is_defined_filegroup_timeseries(filegroup_hdl%daddr) 834 timeseries__tmp = cxios_is_defined_filegroup_timeseries & 835 (filegroup_hdl%daddr) 763 836 timeseries_ = timeseries__tmp 764 837 ENDIF 765 838 766 839 IF (PRESENT(ts_prefix_)) THEN 767 ts_prefix__tmp = cxios_is_defined_filegroup_ts_prefix(filegroup_hdl%daddr) 840 ts_prefix__tmp = cxios_is_defined_filegroup_ts_prefix & 841 (filegroup_hdl%daddr) 768 842 ts_prefix_ = ts_prefix__tmp 769 843 ENDIF 770 844 771 845 IF (PRESENT(type_)) THEN 772 type__tmp = cxios_is_defined_filegroup_type(filegroup_hdl%daddr) 846 type__tmp = cxios_is_defined_filegroup_type & 847 (filegroup_hdl%daddr) 773 848 type_ = type__tmp 774 849 ENDIF -
XIOS/trunk/src/interface/fortran_attr/igenerate_rectilinear_domain_attr.F90
r786 r966 27 27 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: lon_start 28 28 29 CALL xios(get_generate_rectilinear_domain_handle)(generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 29 CALL xios(get_generate_rectilinear_domain_handle) & 30 (generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 30 31 CALL xios(set_generate_rectilinear_domain_attr_hdl_) & 31 32 ( generate_rectilinear_domain_hdl, bounds_lat_end, bounds_lat_start, bounds_lon_end, bounds_lon_start & … … 71 72 72 73 IF (PRESENT(bounds_lat_end_)) THEN 73 CALL cxios_set_generate_rectilinear_domain_bounds_lat_end(generate_rectilinear_domain_hdl%daddr, bounds_lat_end_) 74 CALL cxios_set_generate_rectilinear_domain_bounds_lat_end & 75 (generate_rectilinear_domain_hdl%daddr, bounds_lat_end_) 74 76 ENDIF 75 77 76 78 IF (PRESENT(bounds_lat_start_)) THEN 77 CALL cxios_set_generate_rectilinear_domain_bounds_lat_start(generate_rectilinear_domain_hdl%daddr, bounds_lat_start_) 79 CALL cxios_set_generate_rectilinear_domain_bounds_lat_start & 80 (generate_rectilinear_domain_hdl%daddr, bounds_lat_start_) 78 81 ENDIF 79 82 80 83 IF (PRESENT(bounds_lon_end_)) THEN 81 CALL cxios_set_generate_rectilinear_domain_bounds_lon_end(generate_rectilinear_domain_hdl%daddr, bounds_lon_end_) 84 CALL cxios_set_generate_rectilinear_domain_bounds_lon_end & 85 (generate_rectilinear_domain_hdl%daddr, bounds_lon_end_) 82 86 ENDIF 83 87 84 88 IF (PRESENT(bounds_lon_start_)) THEN 85 CALL cxios_set_generate_rectilinear_domain_bounds_lon_start(generate_rectilinear_domain_hdl%daddr, bounds_lon_start_) 89 CALL cxios_set_generate_rectilinear_domain_bounds_lon_start & 90 (generate_rectilinear_domain_hdl%daddr, bounds_lon_start_) 86 91 ENDIF 87 92 88 93 IF (PRESENT(lat_end_)) THEN 89 CALL cxios_set_generate_rectilinear_domain_lat_end(generate_rectilinear_domain_hdl%daddr, lat_end_) 94 CALL cxios_set_generate_rectilinear_domain_lat_end & 95 (generate_rectilinear_domain_hdl%daddr, lat_end_) 90 96 ENDIF 91 97 92 98 IF (PRESENT(lat_start_)) THEN 93 CALL cxios_set_generate_rectilinear_domain_lat_start(generate_rectilinear_domain_hdl%daddr, lat_start_) 99 CALL cxios_set_generate_rectilinear_domain_lat_start & 100 (generate_rectilinear_domain_hdl%daddr, lat_start_) 94 101 ENDIF 95 102 96 103 IF (PRESENT(lon_end_)) THEN 97 CALL cxios_set_generate_rectilinear_domain_lon_end(generate_rectilinear_domain_hdl%daddr, lon_end_) 104 CALL cxios_set_generate_rectilinear_domain_lon_end & 105 (generate_rectilinear_domain_hdl%daddr, lon_end_) 98 106 ENDIF 99 107 100 108 IF (PRESENT(lon_start_)) THEN 101 CALL cxios_set_generate_rectilinear_domain_lon_start(generate_rectilinear_domain_hdl%daddr, lon_start_) 109 CALL cxios_set_generate_rectilinear_domain_lon_start & 110 (generate_rectilinear_domain_hdl%daddr, lon_start_) 102 111 ENDIF 103 112 … … 120 129 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: lon_start 121 130 122 CALL xios(get_generate_rectilinear_domain_handle)(generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 131 CALL xios(get_generate_rectilinear_domain_handle) & 132 (generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 123 133 CALL xios(get_generate_rectilinear_domain_attr_hdl_) & 124 134 ( generate_rectilinear_domain_hdl, bounds_lat_end, bounds_lat_start, bounds_lon_end, bounds_lon_start & … … 164 174 165 175 IF (PRESENT(bounds_lat_end_)) THEN 166 CALL cxios_get_generate_rectilinear_domain_bounds_lat_end(generate_rectilinear_domain_hdl%daddr, bounds_lat_end_) 176 CALL cxios_get_generate_rectilinear_domain_bounds_lat_end & 177 (generate_rectilinear_domain_hdl%daddr, bounds_lat_end_) 167 178 ENDIF 168 179 169 180 IF (PRESENT(bounds_lat_start_)) THEN 170 CALL cxios_get_generate_rectilinear_domain_bounds_lat_start(generate_rectilinear_domain_hdl%daddr, bounds_lat_start_) 181 CALL cxios_get_generate_rectilinear_domain_bounds_lat_start & 182 (generate_rectilinear_domain_hdl%daddr, bounds_lat_start_) 171 183 ENDIF 172 184 173 185 IF (PRESENT(bounds_lon_end_)) THEN 174 CALL cxios_get_generate_rectilinear_domain_bounds_lon_end(generate_rectilinear_domain_hdl%daddr, bounds_lon_end_) 186 CALL cxios_get_generate_rectilinear_domain_bounds_lon_end & 187 (generate_rectilinear_domain_hdl%daddr, bounds_lon_end_) 175 188 ENDIF 176 189 177 190 IF (PRESENT(bounds_lon_start_)) THEN 178 CALL cxios_get_generate_rectilinear_domain_bounds_lon_start(generate_rectilinear_domain_hdl%daddr, bounds_lon_start_) 191 CALL cxios_get_generate_rectilinear_domain_bounds_lon_start & 192 (generate_rectilinear_domain_hdl%daddr, bounds_lon_start_) 179 193 ENDIF 180 194 181 195 IF (PRESENT(lat_end_)) THEN 182 CALL cxios_get_generate_rectilinear_domain_lat_end(generate_rectilinear_domain_hdl%daddr, lat_end_) 196 CALL cxios_get_generate_rectilinear_domain_lat_end & 197 (generate_rectilinear_domain_hdl%daddr, lat_end_) 183 198 ENDIF 184 199 185 200 IF (PRESENT(lat_start_)) THEN 186 CALL cxios_get_generate_rectilinear_domain_lat_start(generate_rectilinear_domain_hdl%daddr, lat_start_) 201 CALL cxios_get_generate_rectilinear_domain_lat_start & 202 (generate_rectilinear_domain_hdl%daddr, lat_start_) 187 203 ENDIF 188 204 189 205 IF (PRESENT(lon_end_)) THEN 190 CALL cxios_get_generate_rectilinear_domain_lon_end(generate_rectilinear_domain_hdl%daddr, lon_end_) 206 CALL cxios_get_generate_rectilinear_domain_lon_end & 207 (generate_rectilinear_domain_hdl%daddr, lon_end_) 191 208 ENDIF 192 209 193 210 IF (PRESENT(lon_start_)) THEN 194 CALL cxios_get_generate_rectilinear_domain_lon_start(generate_rectilinear_domain_hdl%daddr, lon_start_) 211 CALL cxios_get_generate_rectilinear_domain_lon_start & 212 (generate_rectilinear_domain_hdl%daddr, lon_start_) 195 213 ENDIF 196 214 … … 221 239 LOGICAL(KIND=C_BOOL) :: lon_start_tmp 222 240 223 CALL xios(get_generate_rectilinear_domain_handle)(generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 241 CALL xios(get_generate_rectilinear_domain_handle) & 242 (generate_rectilinear_domain_id,generate_rectilinear_domain_hdl) 224 243 CALL xios(is_defined_generate_rectilinear_domain_attr_hdl_) & 225 244 ( generate_rectilinear_domain_hdl, bounds_lat_end, bounds_lat_start, bounds_lon_end, bounds_lon_start & … … 281 300 282 301 IF (PRESENT(bounds_lat_end_)) THEN 283 bounds_lat_end__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lat_end(generate_rectilinear_domain_hdl%daddr) 302 bounds_lat_end__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lat_end & 303 (generate_rectilinear_domain_hdl%daddr) 284 304 bounds_lat_end_ = bounds_lat_end__tmp 285 305 ENDIF 286 306 287 307 IF (PRESENT(bounds_lat_start_)) THEN 288 bounds_lat_start__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lat_start(generate_rectilinear_domain_hdl%daddr) 308 bounds_lat_start__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lat_start & 309 (generate_rectilinear_domain_hdl%daddr) 289 310 bounds_lat_start_ = bounds_lat_start__tmp 290 311 ENDIF 291 312 292 313 IF (PRESENT(bounds_lon_end_)) THEN 293 bounds_lon_end__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lon_end(generate_rectilinear_domain_hdl%daddr) 314 bounds_lon_end__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lon_end & 315 (generate_rectilinear_domain_hdl%daddr) 294 316 bounds_lon_end_ = bounds_lon_end__tmp 295 317 ENDIF 296 318 297 319 IF (PRESENT(bounds_lon_start_)) THEN 298 bounds_lon_start__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lon_start(generate_rectilinear_domain_hdl%daddr) 320 bounds_lon_start__tmp = cxios_is_defined_generate_rectilinear_domain_bounds_lon_start & 321 (generate_rectilinear_domain_hdl%daddr) 299 322 bounds_lon_start_ = bounds_lon_start__tmp 300 323 ENDIF 301 324 302 325 IF (PRESENT(lat_end_)) THEN 303 lat_end__tmp = cxios_is_defined_generate_rectilinear_domain_lat_end(generate_rectilinear_domain_hdl%daddr) 326 lat_end__tmp = cxios_is_defined_generate_rectilinear_domain_lat_end & 327 (generate_rectilinear_domain_hdl%daddr) 304 328 lat_end_ = lat_end__tmp 305 329 ENDIF 306 330 307 331 IF (PRESENT(lat_start_)) THEN 308 lat_start__tmp = cxios_is_defined_generate_rectilinear_domain_lat_start(generate_rectilinear_domain_hdl%daddr) 332 lat_start__tmp = cxios_is_defined_generate_rectilinear_domain_lat_start & 333 (generate_rectilinear_domain_hdl%daddr) 309 334 lat_start_ = lat_start__tmp 310 335 ENDIF 311 336 312 337 IF (PRESENT(lon_end_)) THEN 313 lon_end__tmp = cxios_is_defined_generate_rectilinear_domain_lon_end(generate_rectilinear_domain_hdl%daddr) 338 lon_end__tmp = cxios_is_defined_generate_rectilinear_domain_lon_end & 339 (generate_rectilinear_domain_hdl%daddr) 314 340 lon_end_ = lon_end__tmp 315 341 ENDIF 316 342 317 343 IF (PRESENT(lon_start_)) THEN 318 lon_start__tmp = cxios_is_defined_generate_rectilinear_domain_lon_start(generate_rectilinear_domain_hdl%daddr) 344 lon_start__tmp = cxios_is_defined_generate_rectilinear_domain_lon_start & 345 (generate_rectilinear_domain_hdl%daddr) 319 346 lon_start_ = lon_start__tmp 320 347 ENDIF -
XIOS/trunk/src/interface/fortran_attr/igrid_attr.F90
r932 r966 35 35 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 36 36 37 CALL xios(get_grid_handle)(grid_id,grid_hdl) 37 CALL xios(get_grid_handle) & 38 (grid_id,grid_hdl) 38 39 CALL xios(set_grid_attr_hdl_) & 39 40 ( grid_hdl, description, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d, mask_7d, name & … … 95 96 96 97 IF (PRESENT(description_)) THEN 97 CALL cxios_set_grid_description(grid_hdl%daddr, description_, len(description_)) 98 CALL cxios_set_grid_description & 99 (grid_hdl%daddr, description_, len(description_)) 98 100 ENDIF 99 101 … … 101 103 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 102 104 mask_1d__tmp = mask_1d_ 103 CALL cxios_set_grid_mask_1d(grid_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 105 CALL cxios_set_grid_mask_1d & 106 (grid_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 104 107 ENDIF 105 108 … … 107 110 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 108 111 mask_2d__tmp = mask_2d_ 109 CALL cxios_set_grid_mask_2d(grid_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 112 CALL cxios_set_grid_mask_2d & 113 (grid_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 110 114 ENDIF 111 115 … … 113 117 ALLOCATE(mask_3d__tmp(SIZE(mask_3d_,1), SIZE(mask_3d_,2), SIZE(mask_3d_,3))) 114 118 mask_3d__tmp = mask_3d_ 115 CALL cxios_set_grid_mask_3d(grid_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 119 CALL cxios_set_grid_mask_3d & 120 (grid_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 116 121 ENDIF 117 122 118 123 IF (PRESENT(mask_4d_)) THEN 119 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), SIZE(mask_4d_,4))) 124 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), & 125 SIZE(mask_4d_,4))) 120 126 mask_4d__tmp = mask_4d_ 121 CALL cxios_set_grid_mask_4d(grid_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 127 CALL cxios_set_grid_mask_4d & 128 (grid_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 122 129 ENDIF 123 130 124 131 IF (PRESENT(mask_5d_)) THEN 125 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 132 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), & 133 SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 126 134 mask_5d__tmp = mask_5d_ 127 CALL cxios_set_grid_mask_5d(grid_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 135 CALL cxios_set_grid_mask_5d & 136 (grid_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 128 137 ENDIF 129 138 130 139 IF (PRESENT(mask_6d_)) THEN 131 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 140 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), & 141 SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 132 142 mask_6d__tmp = mask_6d_ 133 CALL cxios_set_grid_mask_6d(grid_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 143 CALL cxios_set_grid_mask_6d & 144 (grid_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 134 145 ENDIF 135 146 136 147 IF (PRESENT(mask_7d_)) THEN 137 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), SIZE(mask_7d_,7))) 148 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), & 149 SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), & 150 SIZE(mask_7d_,7))) 138 151 mask_7d__tmp = mask_7d_ 139 CALL cxios_set_grid_mask_7d(grid_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 152 CALL cxios_set_grid_mask_7d & 153 (grid_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 140 154 ENDIF 141 155 142 156 IF (PRESENT(name_)) THEN 143 CALL cxios_set_grid_name(grid_hdl%daddr, name_, len(name_)) 157 CALL cxios_set_grid_name & 158 (grid_hdl%daddr, name_, len(name_)) 144 159 ENDIF 145 160 … … 170 185 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 171 186 172 CALL xios(get_grid_handle)(grid_id,grid_hdl) 187 CALL xios(get_grid_handle) & 188 (grid_id,grid_hdl) 173 189 CALL xios(get_grid_attr_hdl_) & 174 190 ( grid_hdl, description, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d, mask_7d, name & … … 230 246 231 247 IF (PRESENT(description_)) THEN 232 CALL cxios_get_grid_description(grid_hdl%daddr, description_, len(description_)) 248 CALL cxios_get_grid_description & 249 (grid_hdl%daddr, description_, len(description_)) 233 250 ENDIF 234 251 235 252 IF (PRESENT(mask_1d_)) THEN 236 253 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 237 CALL cxios_get_grid_mask_1d(grid_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 254 CALL cxios_get_grid_mask_1d & 255 (grid_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 238 256 mask_1d_ = mask_1d__tmp 239 257 ENDIF … … 241 259 IF (PRESENT(mask_2d_)) THEN 242 260 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 243 CALL cxios_get_grid_mask_2d(grid_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 261 CALL cxios_get_grid_mask_2d & 262 (grid_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 244 263 mask_2d_ = mask_2d__tmp 245 264 ENDIF … … 247 266 IF (PRESENT(mask_3d_)) THEN 248 267 ALLOCATE(mask_3d__tmp(SIZE(mask_3d_,1), SIZE(mask_3d_,2), SIZE(mask_3d_,3))) 249 CALL cxios_get_grid_mask_3d(grid_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 268 CALL cxios_get_grid_mask_3d & 269 (grid_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 250 270 mask_3d_ = mask_3d__tmp 251 271 ENDIF 252 272 253 273 IF (PRESENT(mask_4d_)) THEN 254 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), SIZE(mask_4d_,4))) 255 CALL cxios_get_grid_mask_4d(grid_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 274 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), & 275 SIZE(mask_4d_,4))) 276 CALL cxios_get_grid_mask_4d & 277 (grid_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 256 278 mask_4d_ = mask_4d__tmp 257 279 ENDIF 258 280 259 281 IF (PRESENT(mask_5d_)) THEN 260 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 261 CALL cxios_get_grid_mask_5d(grid_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 282 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), & 283 SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 284 CALL cxios_get_grid_mask_5d & 285 (grid_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 262 286 mask_5d_ = mask_5d__tmp 263 287 ENDIF 264 288 265 289 IF (PRESENT(mask_6d_)) THEN 266 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 267 CALL cxios_get_grid_mask_6d(grid_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 290 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), & 291 SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 292 CALL cxios_get_grid_mask_6d & 293 (grid_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 268 294 mask_6d_ = mask_6d__tmp 269 295 ENDIF 270 296 271 297 IF (PRESENT(mask_7d_)) THEN 272 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), SIZE(mask_7d_,7))) 273 CALL cxios_get_grid_mask_7d(grid_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 298 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), & 299 SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), & 300 SIZE(mask_7d_,7))) 301 CALL cxios_get_grid_mask_7d & 302 (grid_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 274 303 mask_7d_ = mask_7d__tmp 275 304 ENDIF 276 305 277 306 IF (PRESENT(name_)) THEN 278 CALL cxios_get_grid_name(grid_hdl%daddr, name_, len(name_)) 307 CALL cxios_get_grid_name & 308 (grid_hdl%daddr, name_, len(name_)) 279 309 ENDIF 280 310 … … 307 337 LOGICAL(KIND=C_BOOL) :: name_tmp 308 338 309 CALL xios(get_grid_handle)(grid_id,grid_hdl) 339 CALL xios(get_grid_handle) & 340 (grid_id,grid_hdl) 310 341 CALL xios(is_defined_grid_attr_hdl_) & 311 342 ( grid_hdl, description, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d, mask_7d, name & … … 371 402 372 403 IF (PRESENT(description_)) THEN 373 description__tmp = cxios_is_defined_grid_description(grid_hdl%daddr) 404 description__tmp = cxios_is_defined_grid_description & 405 (grid_hdl%daddr) 374 406 description_ = description__tmp 375 407 ENDIF 376 408 377 409 IF (PRESENT(mask_1d_)) THEN 378 mask_1d__tmp = cxios_is_defined_grid_mask_1d(grid_hdl%daddr) 410 mask_1d__tmp = cxios_is_defined_grid_mask_1d & 411 (grid_hdl%daddr) 379 412 mask_1d_ = mask_1d__tmp 380 413 ENDIF 381 414 382 415 IF (PRESENT(mask_2d_)) THEN 383 mask_2d__tmp = cxios_is_defined_grid_mask_2d(grid_hdl%daddr) 416 mask_2d__tmp = cxios_is_defined_grid_mask_2d & 417 (grid_hdl%daddr) 384 418 mask_2d_ = mask_2d__tmp 385 419 ENDIF 386 420 387 421 IF (PRESENT(mask_3d_)) THEN 388 mask_3d__tmp = cxios_is_defined_grid_mask_3d(grid_hdl%daddr) 422 mask_3d__tmp = cxios_is_defined_grid_mask_3d & 423 (grid_hdl%daddr) 389 424 mask_3d_ = mask_3d__tmp 390 425 ENDIF 391 426 392 427 IF (PRESENT(mask_4d_)) THEN 393 mask_4d__tmp = cxios_is_defined_grid_mask_4d(grid_hdl%daddr) 428 mask_4d__tmp = cxios_is_defined_grid_mask_4d & 429 (grid_hdl%daddr) 394 430 mask_4d_ = mask_4d__tmp 395 431 ENDIF 396 432 397 433 IF (PRESENT(mask_5d_)) THEN 398 mask_5d__tmp = cxios_is_defined_grid_mask_5d(grid_hdl%daddr) 434 mask_5d__tmp = cxios_is_defined_grid_mask_5d & 435 (grid_hdl%daddr) 399 436 mask_5d_ = mask_5d__tmp 400 437 ENDIF 401 438 402 439 IF (PRESENT(mask_6d_)) THEN 403 mask_6d__tmp = cxios_is_defined_grid_mask_6d(grid_hdl%daddr) 440 mask_6d__tmp = cxios_is_defined_grid_mask_6d & 441 (grid_hdl%daddr) 404 442 mask_6d_ = mask_6d__tmp 405 443 ENDIF 406 444 407 445 IF (PRESENT(mask_7d_)) THEN 408 mask_7d__tmp = cxios_is_defined_grid_mask_7d(grid_hdl%daddr) 446 mask_7d__tmp = cxios_is_defined_grid_mask_7d & 447 (grid_hdl%daddr) 409 448 mask_7d_ = mask_7d__tmp 410 449 ENDIF 411 450 412 451 IF (PRESENT(name_)) THEN 413 name__tmp = cxios_is_defined_grid_name(grid_hdl%daddr) 452 name__tmp = cxios_is_defined_grid_name & 453 (grid_hdl%daddr) 414 454 name_ = name__tmp 415 455 ENDIF -
XIOS/trunk/src/interface/fortran_attr/igridgroup_attr.F90
r932 r966 36 36 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 37 37 38 CALL xios(get_gridgroup_handle)(gridgroup_id,gridgroup_hdl) 38 CALL xios(get_gridgroup_handle) & 39 (gridgroup_id,gridgroup_hdl) 39 40 CALL xios(set_gridgroup_attr_hdl_) & 40 41 ( gridgroup_hdl, description, group_ref, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d & … … 98 99 99 100 IF (PRESENT(description_)) THEN 100 CALL cxios_set_gridgroup_description(gridgroup_hdl%daddr, description_, len(description_)) 101 CALL cxios_set_gridgroup_description & 102 (gridgroup_hdl%daddr, description_, len(description_)) 101 103 ENDIF 102 104 103 105 IF (PRESENT(group_ref_)) THEN 104 CALL cxios_set_gridgroup_group_ref(gridgroup_hdl%daddr, group_ref_, len(group_ref_)) 106 CALL cxios_set_gridgroup_group_ref & 107 (gridgroup_hdl%daddr, group_ref_, len(group_ref_)) 105 108 ENDIF 106 109 … … 108 111 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 109 112 mask_1d__tmp = mask_1d_ 110 CALL cxios_set_gridgroup_mask_1d(gridgroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 113 CALL cxios_set_gridgroup_mask_1d & 114 (gridgroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 111 115 ENDIF 112 116 … … 114 118 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 115 119 mask_2d__tmp = mask_2d_ 116 CALL cxios_set_gridgroup_mask_2d(gridgroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 120 CALL cxios_set_gridgroup_mask_2d & 121 (gridgroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 117 122 ENDIF 118 123 … … 120 125 ALLOCATE(mask_3d__tmp(SIZE(mask_3d_,1), SIZE(mask_3d_,2), SIZE(mask_3d_,3))) 121 126 mask_3d__tmp = mask_3d_ 122 CALL cxios_set_gridgroup_mask_3d(gridgroup_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 127 CALL cxios_set_gridgroup_mask_3d & 128 (gridgroup_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 123 129 ENDIF 124 130 125 131 IF (PRESENT(mask_4d_)) THEN 126 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), SIZE(mask_4d_,4))) 132 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), & 133 SIZE(mask_4d_,4))) 127 134 mask_4d__tmp = mask_4d_ 128 CALL cxios_set_gridgroup_mask_4d(gridgroup_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 135 CALL cxios_set_gridgroup_mask_4d & 136 (gridgroup_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 129 137 ENDIF 130 138 131 139 IF (PRESENT(mask_5d_)) THEN 132 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 140 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), & 141 SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 133 142 mask_5d__tmp = mask_5d_ 134 CALL cxios_set_gridgroup_mask_5d(gridgroup_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 143 CALL cxios_set_gridgroup_mask_5d & 144 (gridgroup_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 135 145 ENDIF 136 146 137 147 IF (PRESENT(mask_6d_)) THEN 138 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 148 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), & 149 SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 139 150 mask_6d__tmp = mask_6d_ 140 CALL cxios_set_gridgroup_mask_6d(gridgroup_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 151 CALL cxios_set_gridgroup_mask_6d & 152 (gridgroup_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 141 153 ENDIF 142 154 143 155 IF (PRESENT(mask_7d_)) THEN 144 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), SIZE(mask_7d_,7))) 156 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), & 157 SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), & 158 SIZE(mask_7d_,7))) 145 159 mask_7d__tmp = mask_7d_ 146 CALL cxios_set_gridgroup_mask_7d(gridgroup_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 160 CALL cxios_set_gridgroup_mask_7d & 161 (gridgroup_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 147 162 ENDIF 148 163 149 164 IF (PRESENT(name_)) THEN 150 CALL cxios_set_gridgroup_name(gridgroup_hdl%daddr, name_, len(name_)) 165 CALL cxios_set_gridgroup_name & 166 (gridgroup_hdl%daddr, name_, len(name_)) 151 167 ENDIF 152 168 … … 178 194 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 179 195 180 CALL xios(get_gridgroup_handle)(gridgroup_id,gridgroup_hdl) 196 CALL xios(get_gridgroup_handle) & 197 (gridgroup_id,gridgroup_hdl) 181 198 CALL xios(get_gridgroup_attr_hdl_) & 182 199 ( gridgroup_hdl, description, group_ref, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d & … … 240 257 241 258 IF (PRESENT(description_)) THEN 242 CALL cxios_get_gridgroup_description(gridgroup_hdl%daddr, description_, len(description_)) 259 CALL cxios_get_gridgroup_description & 260 (gridgroup_hdl%daddr, description_, len(description_)) 243 261 ENDIF 244 262 245 263 IF (PRESENT(group_ref_)) THEN 246 CALL cxios_get_gridgroup_group_ref(gridgroup_hdl%daddr, group_ref_, len(group_ref_)) 264 CALL cxios_get_gridgroup_group_ref & 265 (gridgroup_hdl%daddr, group_ref_, len(group_ref_)) 247 266 ENDIF 248 267 249 268 IF (PRESENT(mask_1d_)) THEN 250 269 ALLOCATE(mask_1d__tmp(SIZE(mask_1d_,1))) 251 CALL cxios_get_gridgroup_mask_1d(gridgroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 270 CALL cxios_get_gridgroup_mask_1d & 271 (gridgroup_hdl%daddr, mask_1d__tmp, SHAPE(mask_1d_)) 252 272 mask_1d_ = mask_1d__tmp 253 273 ENDIF … … 255 275 IF (PRESENT(mask_2d_)) THEN 256 276 ALLOCATE(mask_2d__tmp(SIZE(mask_2d_,1), SIZE(mask_2d_,2))) 257 CALL cxios_get_gridgroup_mask_2d(gridgroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 277 CALL cxios_get_gridgroup_mask_2d & 278 (gridgroup_hdl%daddr, mask_2d__tmp, SHAPE(mask_2d_)) 258 279 mask_2d_ = mask_2d__tmp 259 280 ENDIF … … 261 282 IF (PRESENT(mask_3d_)) THEN 262 283 ALLOCATE(mask_3d__tmp(SIZE(mask_3d_,1), SIZE(mask_3d_,2), SIZE(mask_3d_,3))) 263 CALL cxios_get_gridgroup_mask_3d(gridgroup_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 284 CALL cxios_get_gridgroup_mask_3d & 285 (gridgroup_hdl%daddr, mask_3d__tmp, SHAPE(mask_3d_)) 264 286 mask_3d_ = mask_3d__tmp 265 287 ENDIF 266 288 267 289 IF (PRESENT(mask_4d_)) THEN 268 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), SIZE(mask_4d_,4))) 269 CALL cxios_get_gridgroup_mask_4d(gridgroup_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 290 ALLOCATE(mask_4d__tmp(SIZE(mask_4d_,1), SIZE(mask_4d_,2), SIZE(mask_4d_,3), & 291 SIZE(mask_4d_,4))) 292 CALL cxios_get_gridgroup_mask_4d & 293 (gridgroup_hdl%daddr, mask_4d__tmp, SHAPE(mask_4d_)) 270 294 mask_4d_ = mask_4d__tmp 271 295 ENDIF 272 296 273 297 IF (PRESENT(mask_5d_)) THEN 274 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 275 CALL cxios_get_gridgroup_mask_5d(gridgroup_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 298 ALLOCATE(mask_5d__tmp(SIZE(mask_5d_,1), SIZE(mask_5d_,2), SIZE(mask_5d_,3), & 299 SIZE(mask_5d_,4), SIZE(mask_5d_,5))) 300 CALL cxios_get_gridgroup_mask_5d & 301 (gridgroup_hdl%daddr, mask_5d__tmp, SHAPE(mask_5d_)) 276 302 mask_5d_ = mask_5d__tmp 277 303 ENDIF 278 304 279 305 IF (PRESENT(mask_6d_)) THEN 280 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 281 CALL cxios_get_gridgroup_mask_6d(gridgroup_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 306 ALLOCATE(mask_6d__tmp(SIZE(mask_6d_,1), SIZE(mask_6d_,2), SIZE(mask_6d_,3), & 307 SIZE(mask_6d_,4), SIZE(mask_6d_,5), SIZE(mask_6d_,6))) 308 CALL cxios_get_gridgroup_mask_6d & 309 (gridgroup_hdl%daddr, mask_6d__tmp, SHAPE(mask_6d_)) 282 310 mask_6d_ = mask_6d__tmp 283 311 ENDIF 284 312 285 313 IF (PRESENT(mask_7d_)) THEN 286 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), SIZE(mask_7d_,7))) 287 CALL cxios_get_gridgroup_mask_7d(gridgroup_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 314 ALLOCATE(mask_7d__tmp(SIZE(mask_7d_,1), SIZE(mask_7d_,2), SIZE(mask_7d_,3), & 315 SIZE(mask_7d_,4), SIZE(mask_7d_,5), SIZE(mask_7d_,6), & 316 SIZE(mask_7d_,7))) 317 CALL cxios_get_gridgroup_mask_7d & 318 (gridgroup_hdl%daddr, mask_7d__tmp, SHAPE(mask_7d_)) 288 319 mask_7d_ = mask_7d__tmp 289 320 ENDIF 290 321 291 322 IF (PRESENT(name_)) THEN 292 CALL cxios_get_gridgroup_name(gridgroup_hdl%daddr, name_, len(name_)) 323 CALL cxios_get_gridgroup_name & 324 (gridgroup_hdl%daddr, name_, len(name_)) 293 325 ENDIF 294 326 … … 323 355 LOGICAL(KIND=C_BOOL) :: name_tmp 324 356 325 CALL xios(get_gridgroup_handle)(gridgroup_id,gridgroup_hdl) 357 CALL xios(get_gridgroup_handle) & 358 (gridgroup_id,gridgroup_hdl) 326 359 CALL xios(is_defined_gridgroup_attr_hdl_) & 327 360 ( gridgroup_hdl, description, group_ref, mask_1d, mask_2d, mask_3d, mask_4d, mask_5d, mask_6d & … … 391 424 392 425 IF (PRESENT(description_)) THEN 393 description__tmp = cxios_is_defined_gridgroup_description(gridgroup_hdl%daddr) 426 description__tmp = cxios_is_defined_gridgroup_description & 427 (gridgroup_hdl%daddr) 394 428 description_ = description__tmp 395 429 ENDIF 396 430 397 431 IF (PRESENT(group_ref_)) THEN 398 group_ref__tmp = cxios_is_defined_gridgroup_group_ref(gridgroup_hdl%daddr) 432 group_ref__tmp = cxios_is_defined_gridgroup_group_ref & 433 (gridgroup_hdl%daddr) 399 434 group_ref_ = group_ref__tmp 400 435 ENDIF 401 436 402 437 IF (PRESENT(mask_1d_)) THEN 403 mask_1d__tmp = cxios_is_defined_gridgroup_mask_1d(gridgroup_hdl%daddr) 438 mask_1d__tmp = cxios_is_defined_gridgroup_mask_1d & 439 (gridgroup_hdl%daddr) 404 440 mask_1d_ = mask_1d__tmp 405 441 ENDIF 406 442 407 443 IF (PRESENT(mask_2d_)) THEN 408 mask_2d__tmp = cxios_is_defined_gridgroup_mask_2d(gridgroup_hdl%daddr) 444 mask_2d__tmp = cxios_is_defined_gridgroup_mask_2d & 445 (gridgroup_hdl%daddr) 409 446 mask_2d_ = mask_2d__tmp 410 447 ENDIF 411 448 412 449 IF (PRESENT(mask_3d_)) THEN 413 mask_3d__tmp = cxios_is_defined_gridgroup_mask_3d(gridgroup_hdl%daddr) 450 mask_3d__tmp = cxios_is_defined_gridgroup_mask_3d & 451 (gridgroup_hdl%daddr) 414 452 mask_3d_ = mask_3d__tmp 415 453 ENDIF 416 454 417 455 IF (PRESENT(mask_4d_)) THEN 418 mask_4d__tmp = cxios_is_defined_gridgroup_mask_4d(gridgroup_hdl%daddr) 456 mask_4d__tmp = cxios_is_defined_gridgroup_mask_4d & 457 (gridgroup_hdl%daddr) 419 458 mask_4d_ = mask_4d__tmp 420 459 ENDIF 421 460 422 461 IF (PRESENT(mask_5d_)) THEN 423 mask_5d__tmp = cxios_is_defined_gridgroup_mask_5d(gridgroup_hdl%daddr) 462 mask_5d__tmp = cxios_is_defined_gridgroup_mask_5d & 463 (gridgroup_hdl%daddr) 424 464 mask_5d_ = mask_5d__tmp 425 465 ENDIF 426 466 427 467 IF (PRESENT(mask_6d_)) THEN 428 mask_6d__tmp = cxios_is_defined_gridgroup_mask_6d(gridgroup_hdl%daddr) 468 mask_6d__tmp = cxios_is_defined_gridgroup_mask_6d & 469 (gridgroup_hdl%daddr) 429 470 mask_6d_ = mask_6d__tmp 430 471 ENDIF 431 472 432 473 IF (PRESENT(mask_7d_)) THEN 433 mask_7d__tmp = cxios_is_defined_gridgroup_mask_7d(gridgroup_hdl%daddr) 474 mask_7d__tmp = cxios_is_defined_gridgroup_mask_7d & 475 (gridgroup_hdl%daddr) 434 476 mask_7d_ = mask_7d__tmp 435 477 ENDIF 436 478 437 479 IF (PRESENT(name_)) THEN 438 name__tmp = cxios_is_defined_gridgroup_name(gridgroup_hdl%daddr) 480 name__tmp = cxios_is_defined_gridgroup_name & 481 (gridgroup_hdl%daddr) 439 482 name_ = name__tmp 440 483 ENDIF -
XIOS/trunk/src/interface/fortran_attr/iinterpolate_axis_attr.F90
r891 r966 21 21 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 22 22 23 CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl) 23 CALL xios(get_interpolate_axis_handle) & 24 (interpolate_axis_id,interpolate_axis_hdl) 24 25 CALL xios(set_interpolate_axis_attr_hdl_) & 25 26 ( interpolate_axis_hdl, coordinate, order, type ) … … 51 52 52 53 IF (PRESENT(coordinate_)) THEN 53 CALL cxios_set_interpolate_axis_coordinate(interpolate_axis_hdl%daddr, coordinate_, len(coordinate_)) 54 CALL cxios_set_interpolate_axis_coordinate & 55 (interpolate_axis_hdl%daddr, coordinate_, len(coordinate_)) 54 56 ENDIF 55 57 56 58 IF (PRESENT(order_)) THEN 57 CALL cxios_set_interpolate_axis_order(interpolate_axis_hdl%daddr, order_) 59 CALL cxios_set_interpolate_axis_order & 60 (interpolate_axis_hdl%daddr, order_) 58 61 ENDIF 59 62 60 63 IF (PRESENT(type_)) THEN 61 CALL cxios_set_interpolate_axis_type(interpolate_axis_hdl%daddr, type_, len(type_)) 64 CALL cxios_set_interpolate_axis_type & 65 (interpolate_axis_hdl%daddr, type_, len(type_)) 62 66 ENDIF 63 67 … … 74 78 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 75 79 76 CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl) 80 CALL xios(get_interpolate_axis_handle) & 81 (interpolate_axis_id,interpolate_axis_hdl) 77 82 CALL xios(get_interpolate_axis_attr_hdl_) & 78 83 ( interpolate_axis_hdl, coordinate, order, type ) … … 104 109 105 110 IF (PRESENT(coordinate_)) THEN 106 CALL cxios_get_interpolate_axis_coordinate(interpolate_axis_hdl%daddr, coordinate_, len(coordinate_)) 111 CALL cxios_get_interpolate_axis_coordinate & 112 (interpolate_axis_hdl%daddr, coordinate_, len(coordinate_)) 107 113 ENDIF 108 114 109 115 IF (PRESENT(order_)) THEN 110 CALL cxios_get_interpolate_axis_order(interpolate_axis_hdl%daddr, order_) 116 CALL cxios_get_interpolate_axis_order & 117 (interpolate_axis_hdl%daddr, order_) 111 118 ENDIF 112 119 113 120 IF (PRESENT(type_)) THEN 114 CALL cxios_get_interpolate_axis_type(interpolate_axis_hdl%daddr, type_, len(type_)) 121 CALL cxios_get_interpolate_axis_type & 122 (interpolate_axis_hdl%daddr, type_, len(type_)) 115 123 ENDIF 116 124 … … 130 138 LOGICAL(KIND=C_BOOL) :: type_tmp 131 139 132 CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl) 140 CALL xios(get_interpolate_axis_handle) & 141 (interpolate_axis_id,interpolate_axis_hdl) 133 142 CALL xios(is_defined_interpolate_axis_attr_hdl_) & 134 143 ( interpolate_axis_hdl, coordinate, order, type ) … … 166 175 167 176 IF (PRESENT(coordinate_)) THEN 168 coordinate__tmp = cxios_is_defined_interpolate_axis_coordinate(interpolate_axis_hdl%daddr) 177 coordinate__tmp = cxios_is_defined_interpolate_axis_coordinate & 178 (interpolate_axis_hdl%daddr) 169 179 coordinate_ = coordinate__tmp 170 180 ENDIF 171 181 172 182 IF (PRESENT(order_)) THEN 173 order__tmp = cxios_is_defined_interpolate_axis_order(interpolate_axis_hdl%daddr) 183 order__tmp = cxios_is_defined_interpolate_axis_order & 184 (interpolate_axis_hdl%daddr) 174 185 order_ = order__tmp 175 186 ENDIF 176 187 177 188 IF (PRESENT(type_)) THEN 178 type__tmp = cxios_is_defined_interpolate_axis_type(interpolate_axis_hdl%daddr) 189 type__tmp = cxios_is_defined_interpolate_axis_type & 190 (interpolate_axis_hdl%daddr) 179 191 type_ = type__tmp 180 192 ENDIF -
XIOS/trunk/src/interface/fortran_attr/iinterpolate_domain_attr.F90
r891 r966 22 22 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 23 23 24 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 24 CALL xios(get_interpolate_domain_handle) & 25 (interpolate_domain_id,interpolate_domain_hdl) 25 26 CALL xios(set_interpolate_domain_attr_hdl_) & 26 27 ( interpolate_domain_hdl, file, order, renormalize ) … … 54 55 55 56 IF (PRESENT(file_)) THEN 56 CALL cxios_set_interpolate_domain_file(interpolate_domain_hdl%daddr, file_, len(file_)) 57 CALL cxios_set_interpolate_domain_file & 58 (interpolate_domain_hdl%daddr, file_, len(file_)) 57 59 ENDIF 58 60 59 61 IF (PRESENT(order_)) THEN 60 CALL cxios_set_interpolate_domain_order(interpolate_domain_hdl%daddr, order_) 62 CALL cxios_set_interpolate_domain_order & 63 (interpolate_domain_hdl%daddr, order_) 61 64 ENDIF 62 65 63 66 IF (PRESENT(renormalize_)) THEN 64 67 renormalize__tmp = renormalize_ 65 CALL cxios_set_interpolate_domain_renormalize(interpolate_domain_hdl%daddr, renormalize__tmp) 68 CALL cxios_set_interpolate_domain_renormalize & 69 (interpolate_domain_hdl%daddr, renormalize__tmp) 66 70 ENDIF 67 71 … … 79 83 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 80 84 81 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 85 CALL xios(get_interpolate_domain_handle) & 86 (interpolate_domain_id,interpolate_domain_hdl) 82 87 CALL xios(get_interpolate_domain_attr_hdl_) & 83 88 ( interpolate_domain_hdl, file, order, renormalize ) … … 111 116 112 117 IF (PRESENT(file_)) THEN 113 CALL cxios_get_interpolate_domain_file(interpolate_domain_hdl%daddr, file_, len(file_)) 118 CALL cxios_get_interpolate_domain_file & 119 (interpolate_domain_hdl%daddr, file_, len(file_)) 114 120 ENDIF 115 121 116 122 IF (PRESENT(order_)) THEN 117 CALL cxios_get_interpolate_domain_order(interpolate_domain_hdl%daddr, order_) 123 CALL cxios_get_interpolate_domain_order & 124 (interpolate_domain_hdl%daddr, order_) 118 125 ENDIF 119 126 120 127 IF (PRESENT(renormalize_)) THEN 121 CALL cxios_get_interpolate_domain_renormalize(interpolate_domain_hdl%daddr, renormalize__tmp) 128 CALL cxios_get_interpolate_domain_renormalize & 129 (interpolate_domain_hdl%daddr, renormalize__tmp) 122 130 renormalize_ = renormalize__tmp 123 131 ENDIF … … 138 146 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 139 147 140 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 148 CALL xios(get_interpolate_domain_handle) & 149 (interpolate_domain_id,interpolate_domain_hdl) 141 150 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 142 151 ( interpolate_domain_hdl, file, order, renormalize ) … … 174 183 175 184 IF (PRESENT(file_)) THEN 176 file__tmp = cxios_is_defined_interpolate_domain_file(interpolate_domain_hdl%daddr) 185 file__tmp = cxios_is_defined_interpolate_domain_file & 186 (interpolate_domain_hdl%daddr) 177 187 file_ = file__tmp 178 188 ENDIF 179 189 180 190 IF (PRESENT(order_)) THEN 181 order__tmp = cxios_is_defined_interpolate_domain_order(interpolate_domain_hdl%daddr) 191 order__tmp = cxios_is_defined_interpolate_domain_order & 192 (interpolate_domain_hdl%daddr) 182 193 order_ = order__tmp 183 194 ENDIF 184 195 185 196 IF (PRESENT(renormalize_)) THEN 186 renormalize__tmp = cxios_is_defined_interpolate_domain_renormalize(interpolate_domain_hdl%daddr) 197 renormalize__tmp = cxios_is_defined_interpolate_domain_renormalize & 198 (interpolate_domain_hdl%daddr) 187 199 renormalize_ = renormalize__tmp 188 200 ENDIF -
XIOS/trunk/src/interface/fortran_attr/iinverse_axis_attr.F90
r786 r966 18 18 CHARACTER(LEN=*), INTENT(IN) ::inverse_axis_id 19 19 20 CALL xios(get_inverse_axis_handle)(inverse_axis_id,inverse_axis_hdl) 20 CALL xios(get_inverse_axis_handle) & 21 (inverse_axis_id,inverse_axis_hdl) 21 22 CALL xios(set_inverse_axis_attr_hdl_) & 22 23 ( inverse_axis_hdl ) … … 50 51 CHARACTER(LEN=*), INTENT(IN) ::inverse_axis_id 51 52 52 CALL xios(get_inverse_axis_handle)(inverse_axis_id,inverse_axis_hdl) 53 CALL xios(get_inverse_axis_handle) & 54 (inverse_axis_id,inverse_axis_hdl) 53 55 CALL xios(get_inverse_axis_attr_hdl_) & 54 56 ( inverse_axis_hdl ) … … 82 84 CHARACTER(LEN=*), INTENT(IN) ::inverse_axis_id 83 85 84 CALL xios(get_inverse_axis_handle)(inverse_axis_id,inverse_axis_hdl) 86 CALL xios(get_inverse_axis_handle) & 87 (inverse_axis_id,inverse_axis_hdl) 85 88 CALL xios(is_defined_inverse_axis_attr_hdl_) & 86 89 ( inverse_axis_hdl ) -
XIOS/trunk/src/interface/fortran_attr/ireduce_axis_to_scalar_attr.F90
r891 r966 19 19 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: operation 20 20 21 CALL xios(get_reduce_axis_to_scalar_handle)(reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 21 CALL xios(get_reduce_axis_to_scalar_handle) & 22 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 22 23 CALL xios(set_reduce_axis_to_scalar_attr_hdl_) & 23 24 ( reduce_axis_to_scalar_hdl, operation ) … … 45 46 46 47 IF (PRESENT(operation_)) THEN 47 CALL cxios_set_reduce_axis_to_scalar_operation(reduce_axis_to_scalar_hdl%daddr, operation_, len(operation_)) 48 CALL cxios_set_reduce_axis_to_scalar_operation & 49 (reduce_axis_to_scalar_hdl%daddr, operation_, len(operation_)) 48 50 ENDIF 49 51 … … 58 60 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: operation 59 61 60 CALL xios(get_reduce_axis_to_scalar_handle)(reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 62 CALL xios(get_reduce_axis_to_scalar_handle) & 63 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 61 64 CALL xios(get_reduce_axis_to_scalar_attr_hdl_) & 62 65 ( reduce_axis_to_scalar_hdl, operation ) … … 84 87 85 88 IF (PRESENT(operation_)) THEN 86 CALL cxios_get_reduce_axis_to_scalar_operation(reduce_axis_to_scalar_hdl%daddr, operation_, len(operation_)) 89 CALL cxios_get_reduce_axis_to_scalar_operation & 90 (reduce_axis_to_scalar_hdl%daddr, operation_, len(operation_)) 87 91 ENDIF 88 92 … … 98 102 LOGICAL(KIND=C_BOOL) :: operation_tmp 99 103 100 CALL xios(get_reduce_axis_to_scalar_handle)(reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 104 CALL xios(get_reduce_axis_to_scalar_handle) & 105 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 101 106 CALL xios(is_defined_reduce_axis_to_scalar_attr_hdl_) & 102 107 ( reduce_axis_to_scalar_hdl, operation ) … … 126 131 127 132 IF (PRESENT(operation_)) THEN 128 operation__tmp = cxios_is_defined_reduce_axis_to_scalar_operation(reduce_axis_to_scalar_hdl%daddr) 133 operation__tmp = cxios_is_defined_reduce_axis_to_scalar_operation & 134 (reduce_axis_to_scalar_hdl%daddr) 129 135 operation_ = operation__tmp 130 136 ENDIF -
XIOS/trunk/src/interface/fortran_attr/iscalar_attr.F90
r891 r966 24 24 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: value 25 25 26 CALL xios(get_scalar_handle)(scalar_id,scalar_hdl) 26 CALL xios(get_scalar_handle) & 27 (scalar_id,scalar_hdl) 27 28 CALL xios(set_scalar_attr_hdl_) & 28 29 ( scalar_hdl, long_name, name, scalar_ref, standard_name, unit, value ) … … 60 61 61 62 IF (PRESENT(long_name_)) THEN 62 CALL cxios_set_scalar_long_name(scalar_hdl%daddr, long_name_, len(long_name_)) 63 CALL cxios_set_scalar_long_name & 64 (scalar_hdl%daddr, long_name_, len(long_name_)) 63 65 ENDIF 64 66 65 67 IF (PRESENT(name_)) THEN 66 CALL cxios_set_scalar_name(scalar_hdl%daddr, name_, len(name_)) 68 CALL cxios_set_scalar_name & 69 (scalar_hdl%daddr, name_, len(name_)) 67 70 ENDIF 68 71 69 72 IF (PRESENT(scalar_ref_)) THEN 70 CALL cxios_set_scalar_scalar_ref(scalar_hdl%daddr, scalar_ref_, len(scalar_ref_)) 73 CALL cxios_set_scalar_scalar_ref & 74 (scalar_hdl%daddr, scalar_ref_, len(scalar_ref_)) 71 75 ENDIF 72 76 73 77 IF (PRESENT(standard_name_)) THEN 74 CALL cxios_set_scalar_standard_name(scalar_hdl%daddr, standard_name_, len(standard_name_)) 78 CALL cxios_set_scalar_standard_name & 79 (scalar_hdl%daddr, standard_name_, len(standard_name_)) 75 80 ENDIF 76 81 77 82 IF (PRESENT(unit_)) THEN 78 CALL cxios_set_scalar_unit(scalar_hdl%daddr, unit_, len(unit_)) 83 CALL cxios_set_scalar_unit & 84 (scalar_hdl%daddr, unit_, len(unit_)) 79 85 ENDIF 80 86 81 87 IF (PRESENT(value_)) THEN 82 CALL cxios_set_scalar_value(scalar_hdl%daddr, value_) 88 CALL cxios_set_scalar_value & 89 (scalar_hdl%daddr, value_) 83 90 ENDIF 84 91 … … 98 105 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: value 99 106 100 CALL xios(get_scalar_handle)(scalar_id,scalar_hdl) 107 CALL xios(get_scalar_handle) & 108 (scalar_id,scalar_hdl) 101 109 CALL xios(get_scalar_attr_hdl_) & 102 110 ( scalar_hdl, long_name, name, scalar_ref, standard_name, unit, value ) … … 134 142 135 143 IF (PRESENT(long_name_)) THEN 136 CALL cxios_get_scalar_long_name(scalar_hdl%daddr, long_name_, len(long_name_)) 144 CALL cxios_get_scalar_long_name & 145 (scalar_hdl%daddr, long_name_, len(long_name_)) 137 146 ENDIF 138 147 139 148 IF (PRESENT(name_)) THEN 140 CALL cxios_get_scalar_name(scalar_hdl%daddr, name_, len(name_)) 149 CALL cxios_get_scalar_name & 150 (scalar_hdl%daddr, name_, len(name_)) 141 151 ENDIF 142 152 143 153 IF (PRESENT(scalar_ref_)) THEN 144 CALL cxios_get_scalar_scalar_ref(scalar_hdl%daddr, scalar_ref_, len(scalar_ref_)) 154 CALL cxios_get_scalar_scalar_ref & 155 (scalar_hdl%daddr, scalar_ref_, len(scalar_ref_)) 145 156 ENDIF 146 157 147 158 IF (PRESENT(standard_name_)) THEN 148 CALL cxios_get_scalar_standard_name(scalar_hdl%daddr, standard_name_, len(standard_name_)) 159 CALL cxios_get_scalar_standard_name & 160 (scalar_hdl%daddr, standard_name_, len(standard_name_)) 149 161 ENDIF 150 162 151 163 IF (PRESENT(unit_)) THEN 152 CALL cxios_get_scalar_unit(scalar_hdl%daddr, unit_, len(unit_)) 164 CALL cxios_get_scalar_unit & 165 (scalar_hdl%daddr, unit_, len(unit_)) 153 166 ENDIF 154 167 155 168 IF (PRESENT(value_)) THEN 156 CALL cxios_get_scalar_value(scalar_hdl%daddr, value_) 169 CALL cxios_get_scalar_value & 170 (scalar_hdl%daddr, value_) 157 171 ENDIF 158 172 … … 178 192 LOGICAL(KIND=C_BOOL) :: value_tmp 179 193 180 CALL xios(get_scalar_handle)(scalar_id,scalar_hdl) 194 CALL xios(get_scalar_handle) & 195 (scalar_id,scalar_hdl) 181 196 CALL xios(is_defined_scalar_attr_hdl_) & 182 197 ( scalar_hdl, long_name, name, scalar_ref, standard_name, unit, value ) … … 226 241 227 242 IF (PRESENT(long_name_)) THEN 228 long_name__tmp = cxios_is_defined_scalar_long_name(scalar_hdl%daddr) 243 long_name__tmp = cxios_is_defined_scalar_long_name & 244 (scalar_hdl%daddr) 229 245 long_name_ = long_name__tmp 230 246 ENDIF 231 247 232 248 IF (PRESENT(name_)) THEN 233 name__tmp = cxios_is_defined_scalar_name(scalar_hdl%daddr) 249 name__tmp = cxios_is_defined_scalar_name & 250 (scalar_hdl%daddr) 234 251 name_ = name__tmp 235 252 ENDIF 236 253 237 254 IF (PRESENT(scalar_ref_)) THEN 238 scalar_ref__tmp = cxios_is_defined_scalar_scalar_ref(scalar_hdl%daddr) 255 scalar_ref__tmp = cxios_is_defined_scalar_scalar_ref & 256 (scalar_hdl%daddr) 239 257 scalar_ref_ = scalar_ref__tmp 240 258 ENDIF 241 259 242 260 IF (PRESENT(standard_name_)) THEN 243 standard_name__tmp = cxios_is_defined_scalar_standard_name(scalar_hdl%daddr) 261 standard_name__tmp = cxios_is_defined_scalar_standard_name & 262 (scalar_hdl%daddr) 244 263 standard_name_ = standard_name__tmp 245 264 ENDIF 246 265 247 266 IF (PRESENT(unit_)) THEN 248 unit__tmp = cxios_is_defined_scalar_unit(scalar_hdl%daddr) 267 unit__tmp = cxios_is_defined_scalar_unit & 268 (scalar_hdl%daddr) 249 269 unit_ = unit__tmp 250 270 ENDIF 251 271 252 272 IF (PRESENT(value_)) THEN 253 value__tmp = cxios_is_defined_scalar_value(scalar_hdl%daddr) 273 value__tmp = cxios_is_defined_scalar_value & 274 (scalar_hdl%daddr) 254 275 value_ = value__tmp 255 276 ENDIF -
XIOS/trunk/src/interface/fortran_attr/iscalargroup_attr.F90
r891 r966 25 25 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: value 26 26 27 CALL xios(get_scalargroup_handle)(scalargroup_id,scalargroup_hdl) 27 CALL xios(get_scalargroup_handle) & 28 (scalargroup_id,scalargroup_hdl) 28 29 CALL xios(set_scalargroup_attr_hdl_) & 29 30 ( scalargroup_hdl, group_ref, long_name, name, scalar_ref, standard_name, unit, value ) … … 64 65 65 66 IF (PRESENT(group_ref_)) THEN 66 CALL cxios_set_scalargroup_group_ref(scalargroup_hdl%daddr, group_ref_, len(group_ref_)) 67 CALL cxios_set_scalargroup_group_ref & 68 (scalargroup_hdl%daddr, group_ref_, len(group_ref_)) 67 69 ENDIF 68 70 69 71 IF (PRESENT(long_name_)) THEN 70 CALL cxios_set_scalargroup_long_name(scalargroup_hdl%daddr, long_name_, len(long_name_)) 72 CALL cxios_set_scalargroup_long_name & 73 (scalargroup_hdl%daddr, long_name_, len(long_name_)) 71 74 ENDIF 72 75 73 76 IF (PRESENT(name_)) THEN 74 CALL cxios_set_scalargroup_name(scalargroup_hdl%daddr, name_, len(name_)) 77 CALL cxios_set_scalargroup_name & 78 (scalargroup_hdl%daddr, name_, len(name_)) 75 79 ENDIF 76 80 77 81 IF (PRESENT(scalar_ref_)) THEN 78 CALL cxios_set_scalargroup_scalar_ref(scalargroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 82 CALL cxios_set_scalargroup_scalar_ref & 83 (scalargroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 79 84 ENDIF 80 85 81 86 IF (PRESENT(standard_name_)) THEN 82 CALL cxios_set_scalargroup_standard_name(scalargroup_hdl%daddr, standard_name_, len(standard_name_)) 87 CALL cxios_set_scalargroup_standard_name & 88 (scalargroup_hdl%daddr, standard_name_, len(standard_name_)) 83 89 ENDIF 84 90 85 91 IF (PRESENT(unit_)) THEN 86 CALL cxios_set_scalargroup_unit(scalargroup_hdl%daddr, unit_, len(unit_)) 92 CALL cxios_set_scalargroup_unit & 93 (scalargroup_hdl%daddr, unit_, len(unit_)) 87 94 ENDIF 88 95 89 96 IF (PRESENT(value_)) THEN 90 CALL cxios_set_scalargroup_value(scalargroup_hdl%daddr, value_) 97 CALL cxios_set_scalargroup_value & 98 (scalargroup_hdl%daddr, value_) 91 99 ENDIF 92 100 … … 107 115 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: value 108 116 109 CALL xios(get_scalargroup_handle)(scalargroup_id,scalargroup_hdl) 117 CALL xios(get_scalargroup_handle) & 118 (scalargroup_id,scalargroup_hdl) 110 119 CALL xios(get_scalargroup_attr_hdl_) & 111 120 ( scalargroup_hdl, group_ref, long_name, name, scalar_ref, standard_name, unit, value ) … … 146 155 147 156 IF (PRESENT(group_ref_)) THEN 148 CALL cxios_get_scalargroup_group_ref(scalargroup_hdl%daddr, group_ref_, len(group_ref_)) 157 CALL cxios_get_scalargroup_group_ref & 158 (scalargroup_hdl%daddr, group_ref_, len(group_ref_)) 149 159 ENDIF 150 160 151 161 IF (PRESENT(long_name_)) THEN 152 CALL cxios_get_scalargroup_long_name(scalargroup_hdl%daddr, long_name_, len(long_name_)) 162 CALL cxios_get_scalargroup_long_name & 163 (scalargroup_hdl%daddr, long_name_, len(long_name_)) 153 164 ENDIF 154 165 155 166 IF (PRESENT(name_)) THEN 156 CALL cxios_get_scalargroup_name(scalargroup_hdl%daddr, name_, len(name_)) 167 CALL cxios_get_scalargroup_name & 168 (scalargroup_hdl%daddr, name_, len(name_)) 157 169 ENDIF 158 170 159 171 IF (PRESENT(scalar_ref_)) THEN 160 CALL cxios_get_scalargroup_scalar_ref(scalargroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 172 CALL cxios_get_scalargroup_scalar_ref & 173 (scalargroup_hdl%daddr, scalar_ref_, len(scalar_ref_)) 161 174 ENDIF 162 175 163 176 IF (PRESENT(standard_name_)) THEN 164 CALL cxios_get_scalargroup_standard_name(scalargroup_hdl%daddr, standard_name_, len(standard_name_)) 177 CALL cxios_get_scalargroup_standard_name & 178 (scalargroup_hdl%daddr, standard_name_, len(standard_name_)) 165 179 ENDIF 166 180 167 181 IF (PRESENT(unit_)) THEN 168 CALL cxios_get_scalargroup_unit(scalargroup_hdl%daddr, unit_, len(unit_)) 182 CALL cxios_get_scalargroup_unit & 183 (scalargroup_hdl%daddr, unit_, len(unit_)) 169 184 ENDIF 170 185 171 186 IF (PRESENT(value_)) THEN 172 CALL cxios_get_scalargroup_value(scalargroup_hdl%daddr, value_) 187 CALL cxios_get_scalargroup_value & 188 (scalargroup_hdl%daddr, value_) 173 189 ENDIF 174 190 … … 196 212 LOGICAL(KIND=C_BOOL) :: value_tmp 197 213 198 CALL xios(get_scalargroup_handle)(scalargroup_id,scalargroup_hdl) 214 CALL xios(get_scalargroup_handle) & 215 (scalargroup_id,scalargroup_hdl) 199 216 CALL xios(is_defined_scalargroup_attr_hdl_) & 200 217 ( scalargroup_hdl, group_ref, long_name, name, scalar_ref, standard_name, unit, value ) … … 249 266 250 267 IF (PRESENT(group_ref_)) THEN 251 group_ref__tmp = cxios_is_defined_scalargroup_group_ref(scalargroup_hdl%daddr) 268 group_ref__tmp = cxios_is_defined_scalargroup_group_ref & 269 (scalargroup_hdl%daddr) 252 270 group_ref_ = group_ref__tmp 253 271 ENDIF 254 272 255 273 IF (PRESENT(long_name_)) THEN 256 long_name__tmp = cxios_is_defined_scalargroup_long_name(scalargroup_hdl%daddr) 274 long_name__tmp = cxios_is_defined_scalargroup_long_name & 275 (scalargroup_hdl%daddr) 257 276 long_name_ = long_name__tmp 258 277 ENDIF 259 278 260 279 IF (PRESENT(name_)) THEN 261 name__tmp = cxios_is_defined_scalargroup_name(scalargroup_hdl%daddr) 280 name__tmp = cxios_is_defined_scalargroup_name & 281 (scalargroup_hdl%daddr) 262 282 name_ = name__tmp 263 283 ENDIF 264 284 265 285 IF (PRESENT(scalar_ref_)) THEN 266 scalar_ref__tmp = cxios_is_defined_scalargroup_scalar_ref(scalargroup_hdl%daddr) 286 scalar_ref__tmp = cxios_is_defined_scalargroup_scalar_ref & 287 (scalargroup_hdl%daddr) 267 288 scalar_ref_ = scalar_ref__tmp 268 289 ENDIF 269 290 270 291 IF (PRESENT(standard_name_)) THEN 271 standard_name__tmp = cxios_is_defined_scalargroup_standard_name(scalargroup_hdl%daddr) 292 standard_name__tmp = cxios_is_defined_scalargroup_standard_name & 293 (scalargroup_hdl%daddr) 272 294 standard_name_ = standard_name__tmp 273 295 ENDIF 274 296 275 297 IF (PRESENT(unit_)) THEN 276 unit__tmp = cxios_is_defined_scalargroup_unit(scalargroup_hdl%daddr) 298 unit__tmp = cxios_is_defined_scalargroup_unit & 299 (scalargroup_hdl%daddr) 277 300 unit_ = unit__tmp 278 301 ENDIF 279 302 280 303 IF (PRESENT(value_)) THEN 281 value__tmp = cxios_is_defined_scalargroup_value(scalargroup_hdl%daddr) 304 value__tmp = cxios_is_defined_scalargroup_value & 305 (scalargroup_hdl%daddr) 282 306 value_ = value__tmp 283 307 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ivariable_attr.F90
r581 r966 20 20 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 21 21 22 CALL xios(get_variable_handle)(variable_id,variable_hdl) 22 CALL xios(get_variable_handle) & 23 (variable_id,variable_hdl) 23 24 CALL xios(set_variable_attr_hdl_) & 24 25 ( variable_hdl, name, type ) … … 48 49 49 50 IF (PRESENT(name_)) THEN 50 CALL cxios_set_variable_name(variable_hdl%daddr, name_, len(name_)) 51 CALL cxios_set_variable_name & 52 (variable_hdl%daddr, name_, len(name_)) 51 53 ENDIF 52 54 53 55 IF (PRESENT(type_)) THEN 54 CALL cxios_set_variable_type(variable_hdl%daddr, type_, len(type_)) 56 CALL cxios_set_variable_type & 57 (variable_hdl%daddr, type_, len(type_)) 55 58 ENDIF 56 59 … … 66 69 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 67 70 68 CALL xios(get_variable_handle)(variable_id,variable_hdl) 71 CALL xios(get_variable_handle) & 72 (variable_id,variable_hdl) 69 73 CALL xios(get_variable_attr_hdl_) & 70 74 ( variable_hdl, name, type ) … … 94 98 95 99 IF (PRESENT(name_)) THEN 96 CALL cxios_get_variable_name(variable_hdl%daddr, name_, len(name_)) 100 CALL cxios_get_variable_name & 101 (variable_hdl%daddr, name_, len(name_)) 97 102 ENDIF 98 103 99 104 IF (PRESENT(type_)) THEN 100 CALL cxios_get_variable_type(variable_hdl%daddr, type_, len(type_)) 105 CALL cxios_get_variable_type & 106 (variable_hdl%daddr, type_, len(type_)) 101 107 ENDIF 102 108 … … 114 120 LOGICAL(KIND=C_BOOL) :: type_tmp 115 121 116 CALL xios(get_variable_handle)(variable_id,variable_hdl) 122 CALL xios(get_variable_handle) & 123 (variable_id,variable_hdl) 117 124 CALL xios(is_defined_variable_attr_hdl_) & 118 125 ( variable_hdl, name, type ) … … 146 153 147 154 IF (PRESENT(name_)) THEN 148 name__tmp = cxios_is_defined_variable_name(variable_hdl%daddr) 155 name__tmp = cxios_is_defined_variable_name & 156 (variable_hdl%daddr) 149 157 name_ = name__tmp 150 158 ENDIF 151 159 152 160 IF (PRESENT(type_)) THEN 153 type__tmp = cxios_is_defined_variable_type(variable_hdl%daddr) 161 type__tmp = cxios_is_defined_variable_type & 162 (variable_hdl%daddr) 154 163 type_ = type__tmp 155 164 ENDIF -
XIOS/trunk/src/interface/fortran_attr/ivariablegroup_attr.F90
r581 r966 21 21 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 22 22 23 CALL xios(get_variablegroup_handle)(variablegroup_id,variablegroup_hdl) 23 CALL xios(get_variablegroup_handle) & 24 (variablegroup_id,variablegroup_hdl) 24 25 CALL xios(set_variablegroup_attr_hdl_) & 25 26 ( variablegroup_hdl, group_ref, name, type ) … … 51 52 52 53 IF (PRESENT(group_ref_)) THEN 53 CALL cxios_set_variablegroup_group_ref(variablegroup_hdl%daddr, group_ref_, len(group_ref_)) 54 CALL cxios_set_variablegroup_group_ref & 55 (variablegroup_hdl%daddr, group_ref_, len(group_ref_)) 54 56 ENDIF 55 57 56 58 IF (PRESENT(name_)) THEN 57 CALL cxios_set_variablegroup_name(variablegroup_hdl%daddr, name_, len(name_)) 59 CALL cxios_set_variablegroup_name & 60 (variablegroup_hdl%daddr, name_, len(name_)) 58 61 ENDIF 59 62 60 63 IF (PRESENT(type_)) THEN 61 CALL cxios_set_variablegroup_type(variablegroup_hdl%daddr, type_, len(type_)) 64 CALL cxios_set_variablegroup_type & 65 (variablegroup_hdl%daddr, type_, len(type_)) 62 66 ENDIF 63 67 … … 74 78 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 75 79 76 CALL xios(get_variablegroup_handle)(variablegroup_id,variablegroup_hdl) 80 CALL xios(get_variablegroup_handle) & 81 (variablegroup_id,variablegroup_hdl) 77 82 CALL xios(get_variablegroup_attr_hdl_) & 78 83 ( variablegroup_hdl, group_ref, name, type ) … … 104 109 105 110 IF (PRESENT(group_ref_)) THEN 106 CALL cxios_get_variablegroup_group_ref(variablegroup_hdl%daddr, group_ref_, len(group_ref_)) 111 CALL cxios_get_variablegroup_group_ref & 112 (variablegroup_hdl%daddr, group_ref_, len(group_ref_)) 107 113 ENDIF 108 114 109 115 IF (PRESENT(name_)) THEN 110 CALL cxios_get_variablegroup_name(variablegroup_hdl%daddr, name_, len(name_)) 116 CALL cxios_get_variablegroup_name & 117 (variablegroup_hdl%daddr, name_, len(name_)) 111 118 ENDIF 112 119 113 120 IF (PRESENT(type_)) THEN 114 CALL cxios_get_variablegroup_type(variablegroup_hdl%daddr, type_, len(type_)) 121 CALL cxios_get_variablegroup_type & 122 (variablegroup_hdl%daddr, type_, len(type_)) 115 123 ENDIF 116 124 … … 130 138 LOGICAL(KIND=C_BOOL) :: type_tmp 131 139 132 CALL xios(get_variablegroup_handle)(variablegroup_id,variablegroup_hdl) 140 CALL xios(get_variablegroup_handle) & 141 (variablegroup_id,variablegroup_hdl) 133 142 CALL xios(is_defined_variablegroup_attr_hdl_) & 134 143 ( variablegroup_hdl, group_ref, name, type ) … … 166 175 167 176 IF (PRESENT(group_ref_)) THEN 168 group_ref__tmp = cxios_is_defined_variablegroup_group_ref(variablegroup_hdl%daddr) 177 group_ref__tmp = cxios_is_defined_variablegroup_group_ref & 178 (variablegroup_hdl%daddr) 169 179 group_ref_ = group_ref__tmp 170 180 ENDIF 171 181 172 182 IF (PRESENT(name_)) THEN 173 name__tmp = cxios_is_defined_variablegroup_name(variablegroup_hdl%daddr) 183 name__tmp = cxios_is_defined_variablegroup_name & 184 (variablegroup_hdl%daddr) 174 185 name_ = name__tmp 175 186 ENDIF 176 187 177 188 IF (PRESENT(type_)) THEN 178 type__tmp = cxios_is_defined_variablegroup_type(variablegroup_hdl%daddr) 189 type__tmp = cxios_is_defined_variablegroup_type & 190 (variablegroup_hdl%daddr) 179 191 type_ = type__tmp 180 192 ENDIF -
XIOS/trunk/src/interface/fortran_attr/izoom_axis_attr.F90
r787 r966 20 20 INTEGER , OPTIONAL, INTENT(IN) :: n 21 21 22 CALL xios(get_zoom_axis_handle)(zoom_axis_id,zoom_axis_hdl) 22 CALL xios(get_zoom_axis_handle) & 23 (zoom_axis_id,zoom_axis_hdl) 23 24 CALL xios(set_zoom_axis_attr_hdl_) & 24 25 ( zoom_axis_hdl, begin, n ) … … 48 49 49 50 IF (PRESENT(begin_)) THEN 50 CALL cxios_set_zoom_axis_begin(zoom_axis_hdl%daddr, begin_) 51 CALL cxios_set_zoom_axis_begin & 52 (zoom_axis_hdl%daddr, begin_) 51 53 ENDIF 52 54 53 55 IF (PRESENT(n_)) THEN 54 CALL cxios_set_zoom_axis_n(zoom_axis_hdl%daddr, n_) 56 CALL cxios_set_zoom_axis_n & 57 (zoom_axis_hdl%daddr, n_) 55 58 ENDIF 56 59 … … 66 69 INTEGER , OPTIONAL, INTENT(OUT) :: n 67 70 68 CALL xios(get_zoom_axis_handle)(zoom_axis_id,zoom_axis_hdl) 71 CALL xios(get_zoom_axis_handle) & 72 (zoom_axis_id,zoom_axis_hdl) 69 73 CALL xios(get_zoom_axis_attr_hdl_) & 70 74 ( zoom_axis_hdl, begin, n ) … … 94 98 95 99 IF (PRESENT(begin_)) THEN 96 CALL cxios_get_zoom_axis_begin(zoom_axis_hdl%daddr, begin_) 100 CALL cxios_get_zoom_axis_begin & 101 (zoom_axis_hdl%daddr, begin_) 97 102 ENDIF 98 103 99 104 IF (PRESENT(n_)) THEN 100 CALL cxios_get_zoom_axis_n(zoom_axis_hdl%daddr, n_) 105 CALL cxios_get_zoom_axis_n & 106 (zoom_axis_hdl%daddr, n_) 101 107 ENDIF 102 108 … … 114 120 LOGICAL(KIND=C_BOOL) :: n_tmp 115 121 116 CALL xios(get_zoom_axis_handle)(zoom_axis_id,zoom_axis_hdl) 122 CALL xios(get_zoom_axis_handle) & 123 (zoom_axis_id,zoom_axis_hdl) 117 124 CALL xios(is_defined_zoom_axis_attr_hdl_) & 118 125 ( zoom_axis_hdl, begin, n ) … … 146 153 147 154 IF (PRESENT(begin_)) THEN 148 begin__tmp = cxios_is_defined_zoom_axis_begin(zoom_axis_hdl%daddr) 155 begin__tmp = cxios_is_defined_zoom_axis_begin & 156 (zoom_axis_hdl%daddr) 149 157 begin_ = begin__tmp 150 158 ENDIF 151 159 152 160 IF (PRESENT(n_)) THEN 153 n__tmp = cxios_is_defined_zoom_axis_n(zoom_axis_hdl%daddr) 161 n__tmp = cxios_is_defined_zoom_axis_n & 162 (zoom_axis_hdl%daddr) 154 163 n_ = n__tmp 155 164 ENDIF -
XIOS/trunk/src/interface/fortran_attr/izoom_domain_attr.F90
r787 r966 22 22 INTEGER , OPTIONAL, INTENT(IN) :: nj 23 23 24 CALL xios(get_zoom_domain_handle)(zoom_domain_id,zoom_domain_hdl) 24 CALL xios(get_zoom_domain_handle) & 25 (zoom_domain_id,zoom_domain_hdl) 25 26 CALL xios(set_zoom_domain_attr_hdl_) & 26 27 ( zoom_domain_hdl, ibegin, jbegin, ni, nj ) … … 54 55 55 56 IF (PRESENT(ibegin_)) THEN 56 CALL cxios_set_zoom_domain_ibegin(zoom_domain_hdl%daddr, ibegin_) 57 CALL cxios_set_zoom_domain_ibegin & 58 (zoom_domain_hdl%daddr, ibegin_) 57 59 ENDIF 58 60 59 61 IF (PRESENT(jbegin_)) THEN 60 CALL cxios_set_zoom_domain_jbegin(zoom_domain_hdl%daddr, jbegin_) 62 CALL cxios_set_zoom_domain_jbegin & 63 (zoom_domain_hdl%daddr, jbegin_) 61 64 ENDIF 62 65 63 66 IF (PRESENT(ni_)) THEN 64 CALL cxios_set_zoom_domain_ni(zoom_domain_hdl%daddr, ni_) 67 CALL cxios_set_zoom_domain_ni & 68 (zoom_domain_hdl%daddr, ni_) 65 69 ENDIF 66 70 67 71 IF (PRESENT(nj_)) THEN 68 CALL cxios_set_zoom_domain_nj(zoom_domain_hdl%daddr, nj_) 72 CALL cxios_set_zoom_domain_nj & 73 (zoom_domain_hdl%daddr, nj_) 69 74 ENDIF 70 75 … … 82 87 INTEGER , OPTIONAL, INTENT(OUT) :: nj 83 88 84 CALL xios(get_zoom_domain_handle)(zoom_domain_id,zoom_domain_hdl) 89 CALL xios(get_zoom_domain_handle) & 90 (zoom_domain_id,zoom_domain_hdl) 85 91 CALL xios(get_zoom_domain_attr_hdl_) & 86 92 ( zoom_domain_hdl, ibegin, jbegin, ni, nj ) … … 114 120 115 121 IF (PRESENT(ibegin_)) THEN 116 CALL cxios_get_zoom_domain_ibegin(zoom_domain_hdl%daddr, ibegin_) 122 CALL cxios_get_zoom_domain_ibegin & 123 (zoom_domain_hdl%daddr, ibegin_) 117 124 ENDIF 118 125 119 126 IF (PRESENT(jbegin_)) THEN 120 CALL cxios_get_zoom_domain_jbegin(zoom_domain_hdl%daddr, jbegin_) 127 CALL cxios_get_zoom_domain_jbegin & 128 (zoom_domain_hdl%daddr, jbegin_) 121 129 ENDIF 122 130 123 131 IF (PRESENT(ni_)) THEN 124 CALL cxios_get_zoom_domain_ni(zoom_domain_hdl%daddr, ni_) 132 CALL cxios_get_zoom_domain_ni & 133 (zoom_domain_hdl%daddr, ni_) 125 134 ENDIF 126 135 127 136 IF (PRESENT(nj_)) THEN 128 CALL cxios_get_zoom_domain_nj(zoom_domain_hdl%daddr, nj_) 137 CALL cxios_get_zoom_domain_nj & 138 (zoom_domain_hdl%daddr, nj_) 129 139 ENDIF 130 140 … … 146 156 LOGICAL(KIND=C_BOOL) :: nj_tmp 147 157 148 CALL xios(get_zoom_domain_handle)(zoom_domain_id,zoom_domain_hdl) 158 CALL xios(get_zoom_domain_handle) & 159 (zoom_domain_id,zoom_domain_hdl) 149 160 CALL xios(is_defined_zoom_domain_attr_hdl_) & 150 161 ( zoom_domain_hdl, ibegin, jbegin, ni, nj ) … … 186 197 187 198 IF (PRESENT(ibegin_)) THEN 188 ibegin__tmp = cxios_is_defined_zoom_domain_ibegin(zoom_domain_hdl%daddr) 199 ibegin__tmp = cxios_is_defined_zoom_domain_ibegin & 200 (zoom_domain_hdl%daddr) 189 201 ibegin_ = ibegin__tmp 190 202 ENDIF 191 203 192 204 IF (PRESENT(jbegin_)) THEN 193 jbegin__tmp = cxios_is_defined_zoom_domain_jbegin(zoom_domain_hdl%daddr) 205 jbegin__tmp = cxios_is_defined_zoom_domain_jbegin & 206 (zoom_domain_hdl%daddr) 194 207 jbegin_ = jbegin__tmp 195 208 ENDIF 196 209 197 210 IF (PRESENT(ni_)) THEN 198 ni__tmp = cxios_is_defined_zoom_domain_ni(zoom_domain_hdl%daddr) 211 ni__tmp = cxios_is_defined_zoom_domain_ni & 212 (zoom_domain_hdl%daddr) 199 213 ni_ = ni__tmp 200 214 ENDIF 201 215 202 216 IF (PRESENT(nj_)) THEN 203 nj__tmp = cxios_is_defined_zoom_domain_nj(zoom_domain_hdl%daddr) 217 nj__tmp = cxios_is_defined_zoom_domain_nj & 218 (zoom_domain_hdl%daddr) 204 219 nj_ = nj__tmp 205 220 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.