Changeset 711 for XIOS/trunk/src/interface/fortran_attr/ifield_attr.F90
- Timestamp:
- 09/29/15 14:17:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/ifield_attr.F90
r676 r711 14 14 ( field_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 15 15 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 16 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 16 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 17 , valid_max, valid_min ) 17 18 18 19 IMPLICIT NONE … … 43 44 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor 44 45 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name 46 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled 47 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 48 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq 45 49 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit 46 50 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max … … 51 55 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 52 56 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 53 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 57 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 58 , valid_max, valid_min ) 54 59 55 60 END SUBROUTINE xios(set_field_attr) … … 58 63 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 59 64 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 60 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 65 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 66 , valid_max, valid_min ) 61 67 62 68 IMPLICIT NONE … … 86 92 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor 87 93 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name 94 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled 95 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 96 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq 88 97 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit 89 98 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max … … 93 102 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 94 103 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 95 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 104 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 105 , valid_max, valid_min ) 96 106 97 107 END SUBROUTINE xios(set_field_attr_hdl) … … 100 110 ( field_hdl, add_offset_, axis_ref_, compression_level_, default_value_, detect_missing_value_ & 101 111 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, indexed_output_, level_ & 102 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, unit_, valid_max_ &103 , valid_min_ )112 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, ts_enabled_ & 113 , ts_split_freq_, unit_, valid_max_, valid_min_ ) 104 114 105 115 IMPLICIT NONE … … 129 139 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor_ 130 140 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name_ 141 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled_ 142 LOGICAL (KIND=C_BOOL) :: ts_enabled__tmp 143 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq_ 131 144 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit_ 132 145 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max_ … … 217 230 ENDIF 218 231 232 IF (PRESENT(ts_enabled_)) THEN 233 ts_enabled__tmp = ts_enabled_ 234 CALL cxios_set_field_ts_enabled(field_hdl%daddr, ts_enabled__tmp) 235 ENDIF 236 237 IF (PRESENT(ts_split_freq_)) THEN 238 CALL cxios_set_field_ts_split_freq(field_hdl%daddr, ts_split_freq_) 239 ENDIF 240 219 241 IF (PRESENT(unit_)) THEN 220 242 CALL cxios_set_field_unit(field_hdl%daddr, unit_, len(unit_)) … … 234 256 ( field_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 235 257 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 236 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 258 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 259 , valid_max, valid_min ) 237 260 238 261 IMPLICIT NONE … … 263 286 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor 264 287 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name 288 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled 289 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 290 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq 265 291 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit 266 292 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max … … 271 297 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 272 298 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 273 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 299 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 300 , valid_max, valid_min ) 274 301 275 302 END SUBROUTINE xios(get_field_attr) … … 278 305 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 279 306 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 280 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 307 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 308 , valid_max, valid_min ) 281 309 282 310 IMPLICIT NONE … … 306 334 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor 307 335 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name 336 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled 337 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 338 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq 308 339 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit 309 340 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max … … 313 344 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 314 345 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 315 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 346 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 347 , valid_max, valid_min ) 316 348 317 349 END SUBROUTINE xios(get_field_attr_hdl) … … 320 352 ( field_hdl, add_offset_, axis_ref_, compression_level_, default_value_, detect_missing_value_ & 321 353 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, indexed_output_, level_ & 322 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, unit_, valid_max_ &323 , valid_min_ )354 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, ts_enabled_ & 355 , ts_split_freq_, unit_, valid_max_, valid_min_ ) 324 356 325 357 IMPLICIT NONE … … 349 381 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor_ 350 382 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name_ 383 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled_ 384 LOGICAL (KIND=C_BOOL) :: ts_enabled__tmp 385 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq_ 351 386 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit_ 352 387 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max_ … … 437 472 ENDIF 438 473 474 IF (PRESENT(ts_enabled_)) THEN 475 CALL cxios_get_field_ts_enabled(field_hdl%daddr, ts_enabled__tmp) 476 ts_enabled_ = ts_enabled__tmp 477 ENDIF 478 479 IF (PRESENT(ts_split_freq_)) THEN 480 CALL cxios_get_field_ts_split_freq(field_hdl%daddr, ts_split_freq_) 481 ENDIF 482 439 483 IF (PRESENT(unit_)) THEN 440 484 CALL cxios_get_field_unit(field_hdl%daddr, unit_, len(unit_)) … … 454 498 ( field_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 455 499 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 456 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 500 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 501 , valid_max, valid_min ) 457 502 458 503 IMPLICIT NONE … … 499 544 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name 500 545 LOGICAL(KIND=C_BOOL) :: standard_name_tmp 546 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled 547 LOGICAL(KIND=C_BOOL) :: ts_enabled_tmp 548 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq 549 LOGICAL(KIND=C_BOOL) :: ts_split_freq_tmp 501 550 LOGICAL, OPTIONAL, INTENT(OUT) :: unit 502 551 LOGICAL(KIND=C_BOOL) :: unit_tmp … … 510 559 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 511 560 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 512 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 561 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 562 , valid_max, valid_min ) 513 563 514 564 END SUBROUTINE xios(is_defined_field_attr) … … 517 567 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 518 568 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 519 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 569 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 570 , valid_max, valid_min ) 520 571 521 572 IMPLICIT NONE … … 561 612 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name 562 613 LOGICAL(KIND=C_BOOL) :: standard_name_tmp 614 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled 615 LOGICAL(KIND=C_BOOL) :: ts_enabled_tmp 616 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq 617 LOGICAL(KIND=C_BOOL) :: ts_split_freq_tmp 563 618 LOGICAL, OPTIONAL, INTENT(OUT) :: unit 564 619 LOGICAL(KIND=C_BOOL) :: unit_tmp … … 571 626 ( field_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value, domain_ref & 572 627 , enabled, field_ref, freq_offset, freq_op, grid_ref, indexed_output, level, long_name, name & 573 , operation, prec, read_access, scale_factor, standard_name, unit, valid_max, valid_min ) 628 , operation, prec, read_access, scale_factor, standard_name, ts_enabled, ts_split_freq, unit & 629 , valid_max, valid_min ) 574 630 575 631 END SUBROUTINE xios(is_defined_field_attr_hdl) … … 578 634 ( field_hdl, add_offset_, axis_ref_, compression_level_, default_value_, detect_missing_value_ & 579 635 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, indexed_output_, level_ & 580 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, unit_, valid_max_ &581 , valid_min_ )636 , long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_, ts_enabled_ & 637 , ts_split_freq_, unit_, valid_max_, valid_min_ ) 582 638 583 639 IMPLICIT NONE … … 623 679 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name_ 624 680 LOGICAL(KIND=C_BOOL) :: standard_name__tmp 681 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled_ 682 LOGICAL(KIND=C_BOOL) :: ts_enabled__tmp 683 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq_ 684 LOGICAL(KIND=C_BOOL) :: ts_split_freq__tmp 625 685 LOGICAL, OPTIONAL, INTENT(OUT) :: unit_ 626 686 LOGICAL(KIND=C_BOOL) :: unit__tmp … … 730 790 ENDIF 731 791 792 IF (PRESENT(ts_enabled_)) THEN 793 ts_enabled__tmp = cxios_is_defined_field_ts_enabled(field_hdl%daddr) 794 ts_enabled_ = ts_enabled__tmp 795 ENDIF 796 797 IF (PRESENT(ts_split_freq_)) THEN 798 ts_split_freq__tmp = cxios_is_defined_field_ts_split_freq(field_hdl%daddr) 799 ts_split_freq_ = ts_split_freq__tmp 800 ENDIF 801 732 802 IF (PRESENT(unit_)) THEN 733 803 unit__tmp = cxios_is_defined_field_unit(field_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.