- Timestamp:
- 09/29/15 14:17:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/ifieldgroup_attr.F90
r676 r711 14 14 ( fieldgroup_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 15 15 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 16 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&17 , valid_min )16 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 17 , ts_split_freq, unit, valid_max, valid_min ) 18 18 19 19 IMPLICIT NONE … … 45 45 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor 46 46 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name 47 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled 48 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 49 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq 47 50 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit 48 51 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max … … 53 56 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 54 57 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 55 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&56 , valid_min )58 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 59 , ts_split_freq, unit, valid_max, valid_min ) 57 60 58 61 END SUBROUTINE xios(set_fieldgroup_attr) … … 61 64 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 62 65 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 63 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&64 , valid_min )66 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 67 , ts_split_freq, unit, valid_max, valid_min ) 65 68 66 69 IMPLICIT NONE … … 91 94 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor 92 95 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name 96 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled 97 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 98 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq 93 99 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit 94 100 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max … … 98 104 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 99 105 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 100 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&101 , valid_min )106 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 107 , ts_split_freq, unit, valid_max, valid_min ) 102 108 103 109 END SUBROUTINE xios(set_fieldgroup_attr_hdl) … … 107 113 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, group_ref_, indexed_output_ & 108 114 , level_, long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_ & 109 , unit_, valid_max_, valid_min_ )115 , ts_enabled_, ts_split_freq_, unit_, valid_max_, valid_min_ ) 110 116 111 117 IMPLICIT NONE … … 136 142 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: scale_factor_ 137 143 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: standard_name_ 144 LOGICAL , OPTIONAL, INTENT(IN) :: ts_enabled_ 145 LOGICAL (KIND=C_BOOL) :: ts_enabled__tmp 146 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: ts_split_freq_ 138 147 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: unit_ 139 148 REAL (KIND=8) , OPTIONAL, INTENT(IN) :: valid_max_ … … 228 237 ENDIF 229 238 239 IF (PRESENT(ts_enabled_)) THEN 240 ts_enabled__tmp = ts_enabled_ 241 CALL cxios_set_fieldgroup_ts_enabled(fieldgroup_hdl%daddr, ts_enabled__tmp) 242 ENDIF 243 244 IF (PRESENT(ts_split_freq_)) THEN 245 CALL cxios_set_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr, ts_split_freq_) 246 ENDIF 247 230 248 IF (PRESENT(unit_)) THEN 231 249 CALL cxios_set_fieldgroup_unit(fieldgroup_hdl%daddr, unit_, len(unit_)) … … 245 263 ( fieldgroup_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 246 264 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 247 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&248 , valid_min )265 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 266 , ts_split_freq, unit, valid_max, valid_min ) 249 267 250 268 IMPLICIT NONE … … 276 294 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor 277 295 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name 296 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled 297 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 298 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq 278 299 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit 279 300 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max … … 284 305 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 285 306 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 286 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&287 , valid_min )307 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 308 , ts_split_freq, unit, valid_max, valid_min ) 288 309 289 310 END SUBROUTINE xios(get_fieldgroup_attr) … … 292 313 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 293 314 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 294 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&295 , valid_min )315 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 316 , ts_split_freq, unit, valid_max, valid_min ) 296 317 297 318 IMPLICIT NONE … … 322 343 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor 323 344 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name 345 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled 346 LOGICAL (KIND=C_BOOL) :: ts_enabled_tmp 347 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq 324 348 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit 325 349 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max … … 329 353 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 330 354 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 331 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&332 , valid_min )355 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 356 , ts_split_freq, unit, valid_max, valid_min ) 333 357 334 358 END SUBROUTINE xios(get_fieldgroup_attr_hdl) … … 338 362 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, group_ref_, indexed_output_ & 339 363 , level_, long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_ & 340 , unit_, valid_max_, valid_min_ )364 , ts_enabled_, ts_split_freq_, unit_, valid_max_, valid_min_ ) 341 365 342 366 IMPLICIT NONE … … 367 391 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: scale_factor_ 368 392 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: standard_name_ 393 LOGICAL , OPTIONAL, INTENT(OUT) :: ts_enabled_ 394 LOGICAL (KIND=C_BOOL) :: ts_enabled__tmp 395 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: ts_split_freq_ 369 396 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: unit_ 370 397 REAL (KIND=8) , OPTIONAL, INTENT(OUT) :: valid_max_ … … 459 486 ENDIF 460 487 488 IF (PRESENT(ts_enabled_)) THEN 489 CALL cxios_get_fieldgroup_ts_enabled(fieldgroup_hdl%daddr, ts_enabled__tmp) 490 ts_enabled_ = ts_enabled__tmp 491 ENDIF 492 493 IF (PRESENT(ts_split_freq_)) THEN 494 CALL cxios_get_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr, ts_split_freq_) 495 ENDIF 496 461 497 IF (PRESENT(unit_)) THEN 462 498 CALL cxios_get_fieldgroup_unit(fieldgroup_hdl%daddr, unit_, len(unit_)) … … 476 512 ( fieldgroup_id, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 477 513 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 478 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&479 , valid_min )514 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 515 , ts_split_freq, unit, valid_max, valid_min ) 480 516 481 517 IMPLICIT NONE … … 524 560 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name 525 561 LOGICAL(KIND=C_BOOL) :: standard_name_tmp 562 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled 563 LOGICAL(KIND=C_BOOL) :: ts_enabled_tmp 564 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq 565 LOGICAL(KIND=C_BOOL) :: ts_split_freq_tmp 526 566 LOGICAL, OPTIONAL, INTENT(OUT) :: unit 527 567 LOGICAL(KIND=C_BOOL) :: unit_tmp … … 535 575 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 536 576 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 537 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&538 , valid_min )577 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 578 , ts_split_freq, unit, valid_max, valid_min ) 539 579 540 580 END SUBROUTINE xios(is_defined_fieldgroup_attr) … … 543 583 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 544 584 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 545 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&546 , valid_min )585 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 586 , ts_split_freq, unit, valid_max, valid_min ) 547 587 548 588 IMPLICIT NONE … … 590 630 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name 591 631 LOGICAL(KIND=C_BOOL) :: standard_name_tmp 632 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled 633 LOGICAL(KIND=C_BOOL) :: ts_enabled_tmp 634 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq 635 LOGICAL(KIND=C_BOOL) :: ts_split_freq_tmp 592 636 LOGICAL, OPTIONAL, INTENT(OUT) :: unit 593 637 LOGICAL(KIND=C_BOOL) :: unit_tmp … … 600 644 ( fieldgroup_hdl, add_offset, axis_ref, compression_level, default_value, detect_missing_value & 601 645 , domain_ref, enabled, field_ref, freq_offset, freq_op, grid_ref, group_ref, indexed_output & 602 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, unit, valid_max&603 , valid_min )646 , level, long_name, name, operation, prec, read_access, scale_factor, standard_name, ts_enabled & 647 , ts_split_freq, unit, valid_max, valid_min ) 604 648 605 649 END SUBROUTINE xios(is_defined_fieldgroup_attr_hdl) … … 609 653 , domain_ref_, enabled_, field_ref_, freq_offset_, freq_op_, grid_ref_, group_ref_, indexed_output_ & 610 654 , level_, long_name_, name_, operation_, prec_, read_access_, scale_factor_, standard_name_ & 611 , unit_, valid_max_, valid_min_ )655 , ts_enabled_, ts_split_freq_, unit_, valid_max_, valid_min_ ) 612 656 613 657 IMPLICIT NONE … … 655 699 LOGICAL, OPTIONAL, INTENT(OUT) :: standard_name_ 656 700 LOGICAL(KIND=C_BOOL) :: standard_name__tmp 701 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_enabled_ 702 LOGICAL(KIND=C_BOOL) :: ts_enabled__tmp 703 LOGICAL, OPTIONAL, INTENT(OUT) :: ts_split_freq_ 704 LOGICAL(KIND=C_BOOL) :: ts_split_freq__tmp 657 705 LOGICAL, OPTIONAL, INTENT(OUT) :: unit_ 658 706 LOGICAL(KIND=C_BOOL) :: unit__tmp … … 767 815 ENDIF 768 816 817 IF (PRESENT(ts_enabled_)) THEN 818 ts_enabled__tmp = cxios_is_defined_fieldgroup_ts_enabled(fieldgroup_hdl%daddr) 819 ts_enabled_ = ts_enabled__tmp 820 ENDIF 821 822 IF (PRESENT(ts_split_freq_)) THEN 823 ts_split_freq__tmp = cxios_is_defined_fieldgroup_ts_split_freq(fieldgroup_hdl%daddr) 824 ts_split_freq_ = ts_split_freq__tmp 825 ENDIF 826 769 827 IF (PRESENT(unit_)) THEN 770 828 unit__tmp = cxios_is_defined_fieldgroup_unit(fieldgroup_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.