- Timestamp:
- 10/10/16 16:01:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.