Changeset 314 in lmdz_wrf
- Timestamp:
- Feb 26, 2015, 12:26:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r313 r314 553 553 # Water budget 554 554 # Water budget de-accumulated 555 elif varn == 'ccond' or varn == 'CCOND' :555 elif varn == 'ccond' or varn == 'CCOND' or varn == 'CCONDde': 556 556 varvals = ['ccond', 'cw_cond', 0., 30., \ 557 557 'accumulated|cloud|water|condensation', 'mm', 'Reds'] 558 elif varn == 'diabh' or varn == 'DIABH' :558 elif varn == 'diabh' or varn == 'DIABH' or varn == 'DIABHde': 559 559 varvals = ['diabh', 'diabh', 0., 30., 'diabatic|heating', 'K', 'Reds'] 560 elif varn == 'wbpw' or varn == 'WBPW' :560 elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBPWde': 561 561 varvals = ['wbpw', 'water_budget_pw', 0., 30., 'Water|Budget|water|content',\ 562 562 'mms-1', 'Reds'] 563 elif varn == 'wbf' or varn == 'WBACF' :563 elif varn == 'wbf' or varn == 'WBACF' or varn == 'WBACF': 564 564 varvals = ['wbf', 'water_budget_hfcqv', 0., 30., \ 565 565 'Water|Budget|horizontal|convergence|of|water|vapour|(+,|' + \ 566 566 'conv.;|-,|div.)', 'mms-1', 'Reds'] 567 elif varn == 'wbfc' or varn == 'WBFC' :567 elif varn == 'wbfc' or varn == 'WBFC' or varn == 'WBFCde': 568 568 varvals = ['wbfc', 'water_budget_fc', 0., 30., \ 569 569 'Water|Budget|horizontal|convergence|of|cloud|(+,|conv.;|-,|' +\ 570 570 'div.)', 'mms-1', 'Reds'] 571 elif varn == 'wbfp' or varn == 'WBFP' :571 elif varn == 'wbfp' or varn == 'WBFP' or varn == 'WBFPde': 572 572 varvals = ['wbfp', 'water_budget_cfp', 0., 30., \ 573 573 'Water|Budget|horizontal|convergence|of|precipitation|(+,|' + \ 574 574 'conv.;|-,|div.)', 'mms-1', 'Reds'] 575 elif varn == 'wbz' or varn == 'WBZ' :575 elif varn == 'wbz' or varn == 'WBZ' or varn == 'WBZde': 576 576 varvals = ['wbz', 'water_budget_z', 0., 30., \ 577 577 'Water|Budget|vertical|convergence|of|water|vapour|(+,|conv.' +\ 578 578 ';|-,|div.)', 'mms-1', 'Reds'] 579 elif varn == 'wbc' or varn == 'WBC' :579 elif varn == 'wbc' or varn == 'WBC' or varn == 'WBCde': 580 580 varvals = ['wbc', 'water_budget_c', 0., 30., \ 581 581 'Water|Budget|Cloud|water|species','mms-1', 'Reds'] 582 elif varn == 'wbqvd' or varn == 'WBQVD' :582 elif varn == 'wbqvd' or varn == 'WBQVD' or varn == 'WBQVDde': 583 583 varvals = ['wbqvd', 'water_budget_qvd', 0., 30., \ 584 584 'Water|Budget|water|vapour|divergence', 'mms-1', 'Reds'] 585 elif varn == 'wbqvblten' or varn == 'WBQVBLTEN' :585 elif varn == 'wbqvblten' or varn == 'WBQVBLTEN' or varn == 'WBQVBLTENde': 586 586 varvals = ['wbqvblten', 'water_budget_qv_blten', 0., 30., \ 587 587 'Water|Budget|QV|tendency|due|to|pbl|parameterization', \ 588 588 'kg kg-1 s-1', 'Reds'] 589 elif varn == 'wbqvcuten' or varn == 'WBQVCUTEN' :589 elif varn == 'wbqvcuten' or varn == 'WBQVCUTEN' or varn == 'WBQVCUTENde': 590 590 varvals = ['wbqvcuten', 'water_budget_qv_cuten', 0., 30., \ 591 591 'Water|Budget|QV|tendency|due|to|cu|parameterization', \ 592 592 'kg kg-1 s-1', 'Reds'] 593 elif varn == 'wbqvshten' or varn == 'WBQVSHTEN' :593 elif varn == 'wbqvshten' or varn == 'WBQVSHTEN' or varn == 'WBQVSHTENde': 594 594 varvals = ['wbqvshten', 'water_budget_qv_shten', 0., 30., \ 595 595 'Water|Budget|QV|tendency|due|to|shallow|cu|parameterization', \ 596 596 'kg kg-1 s-1', 'Reds'] 597 elif varn == 'wbpr' or varn == 'WBP' :597 elif varn == 'wbpr' or varn == 'WBP' or varn == 'WBPde': 598 598 varvals = ['wbpr', 'water_budget_pr', 0., 30., \ 599 599 'Water|Budget|recipitation', 'mms-1', 'Reds'] 600 elif varn == 'wbpw' or varn == 'WBPW' :600 elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBPWde': 601 601 varvals = ['wbpw', 'water_budget_pw', 0., 30., \ 602 602 'Water|Budget|water|content', 'mms-1', 'Reds'] 603 elif varn == 'wbcondt' or varn == 'WBCONDT' :603 elif varn == 'wbcondt' or varn == 'WBCONDT' or varn == 'WBCONDTde': 604 604 varvals = ['wbcondt', 'water_budget_condt', 0., 30., \ 605 605 'Water|Budget|condensation|and|deposition', 'mms-1', 'Reds'] 606 elif varn == 'wbqcm' or varn == 'WBQCM' :606 elif varn == 'wbqcm' or varn == 'WBQCM' or varn == 'WBQCMde': 607 607 varvals = ['wbqcm', 'water_budget_qcm', 0., 30., \ 608 608 'Water|Budget|hydrometeor|change|and|convergence', 'mms-1', 'Reds'] 609 elif varn == 'wbsi' or varn == 'WBSI' :609 elif varn == 'wbsi' or varn == 'WBSI' or varn == 'WBSIde': 610 610 varvals = ['wbsi', 'water_budget_si', 0., 30., \ 611 611 'Water|Budget|hydrometeor|sink', 'mms-1', 'Reds'] 612 elif varn == 'wbso' or varn == 'WBSO' :612 elif varn == 'wbso' or varn == 'WBSO' or varn == 'WBSOde': 613 613 varvals = ['wbso', 'water_budget_so', 0., 30., \ 614 614 'Water|Budget|hydrometeor|source', 'mms-1', 'Reds'] 615 615 # Water Budget accumulated 616 elif varn == ' acccond' or varn == 'ACCCOND':617 varvals = [' acccond', 'ac_cw_cond', 0., 30., \616 elif varn == 'ccondac' or varn == 'ACCCOND': 617 varvals = ['ccondac', 'cw_cond_ac', 0., 30., \ 618 618 'accumulated|cloud|water|condensation', 'mm', 'Reds'] 619 elif varn == ' acr' or varn == 'ACQVAPOR':620 varvals = [' acr', 'ac_r', 0., 30., 'accumualted|water|wapor', 'mm', 'Blues']621 elif varn == ' acdiabh' or varn == 'ACDIABH':622 varvals = [' acdiabh', 'ac_diabh', 0., 30., 'accumualted|diabatic|heating', \619 elif varn == 'rac' or varn == 'ACQVAPOR': 620 varvals = ['rac', 'ac_r', 0., 30., 'accumualted|water|wapor', 'mm', 'Blues'] 621 elif varn == 'diabhac' or varn == 'ACDIABH': 622 varvals = ['diabhac', 'diabh_ac', 0., 30., 'accumualted|diabatic|heating', \ 623 623 'K', 'Reds'] 624 elif varn == 'wb acpw' or varn == 'WBACPW':625 varvals = ['wb acpw', 'water_budget_ac_pw', 0., 30., \624 elif varn == 'wbpwac' or varn == 'WBACPW': 625 varvals = ['wbpwac', 'water_budget_pw_ac', 0., 30., \ 626 626 'Water|Budget|accumulated|water|content', 'mm', 'Reds'] 627 elif varn == 'wb acf' or varn == 'WBACF':628 varvals = ['wb acf', 'water_budget_ac_hfcqv', 0., 30., \627 elif varn == 'wbfac' or varn == 'WBACF': 628 varvals = ['wbfac', 'water_budget_hfcqv_ac', 0., 30., \ 629 629 'Water|Budget|accumulated|horizontal|convergence|of|water|vapour|(+,|' + \ 630 630 'conv.;|-,|div.)', 'mm', 'Reds'] 631 elif varn == 'wb acfc' or varn == 'WBACFC':632 varvals = ['wb acfc', 'water_budget_ac_fc', 0., 30., \631 elif varn == 'wbfcac' or varn == 'WBACFC': 632 varvals = ['wbfcac', 'water_budget_fc_ac', 0., 30., \ 633 633 'Water|Budget|accumulated|horizontal|convergence|of|cloud|(+,|conv.;|-,|' +\ 634 634 'div.)', 'mm', 'Reds'] 635 elif varn == 'wb acfp' or varn == 'WBACFP':636 varvals = ['wb acfp', 'water_budget_ac_cfp', 0., 30., \635 elif varn == 'wbfpac' or varn == 'WBACFP': 636 varvals = ['wbfpac', 'water_budget_cfp_ac', 0., 30., \ 637 637 'Water|Budget|accumulated|horizontal|convergence|of|precipitation|(+,|' + \ 638 638 'conv.;|-,|div.)', 'mm', 'Reds'] 639 elif varn == 'wb acz' or varn == 'WBACZ':640 varvals = ['wb acz', 'water_budget_ac_z', 0., 30., \639 elif varn == 'wbzac' or varn == 'WBACZ': 640 varvals = ['wbzac', 'water_budget_z_ac', 0., 30., \ 641 641 'Water|Budget|accumulated|vertical|convergence|of|water|vapour|(+,|conv.' +\ 642 642 ';|-,|div.)', 'mm', 'Reds'] 643 elif varn == 'wb acc' or varn == 'WBACC':644 varvals = ['wb acc', 'water_budget_ac_c', 0., 30., \643 elif varn == 'wbcac' or varn == 'WBACC': 644 varvals = ['wbcac', 'water_budget_c_ac', 0., 30., \ 645 645 'Water|Budget|accumulated|Cloud|water|species','mm', 'Reds'] 646 elif varn == 'wb acqvd' or varn == 'WBACQVD':647 varvals = ['wb acqvd', 'water_budget_ac_qvd', 0., 30., \646 elif varn == 'wbqvdac' or varn == 'WBACQVD': 647 varvals = ['wbqvdac', 'water_budget_qvd_ac', 0., 30., \ 648 648 'Water|Budget|accumulated|water|vapour|divergence', 'mm', 'Reds'] 649 elif varn == 'wb acqvblten' or varn == 'WBACQVBLTEN':650 varvals = ['wb acqvblten', 'water_budget_ac_qv_blten', 0., 30., \649 elif varn == 'wbqvbltenac' or varn == 'WBACQVBLTEN': 650 varvals = ['wbqvbltenac', 'water_budget_qv_blten_ac', 0., 30., \ 651 651 'Water|Budget|accumulated|QV|tendency|due|to|pbl|parameterization', \ 652 652 'kg kg-1 s-1', 'Reds'] 653 elif varn == 'wb acqvcuten' or varn == 'WBACQVCUTEN':654 varvals = ['wb acqvcuten', 'water_budget_ac_qv_cuten', 0., 30., \653 elif varn == 'wbqvcutenac' or varn == 'WBACQVCUTEN': 654 varvals = ['wbqvcutenac', 'water_budget_qv_cuten_ac', 0., 30., \ 655 655 'Water|Budget|accumulated|QV|tendency|due|to|cu|parameterization', \ 656 656 'kg kg-1 s-1', 'Reds'] 657 elif varn == 'wb acqvshten' or varn == 'WBACQVSHTEN':658 varvals = ['wb acqvshten', 'water_budget_ac_qv_shten', 0., 30., \657 elif varn == 'wbqvshtenac' or varn == 'WBACQVSHTEN': 658 varvals = ['wbqvshtenac', 'water_budget_qv_shten_ac', 0., 30., \ 659 659 'Water|Budget|accumulated|QV|tendency|due|to|shallow|cu|parameterization', \ 660 660 'kg kg-1 s-1', 'Reds'] 661 elif varn == 'wb acpr' or varn == 'WBACP':662 varvals = ['wb acpr', 'water_budget_ac_pr', 0., 30., \661 elif varn == 'wbprac' or varn == 'WBACP': 662 varvals = ['wbprac', 'water_budget_pr_ac', 0., 30., \ 663 663 'Water|Budget|accumulated|precipitation', 'mm', 'Reds'] 664 elif varn == 'wb acpw' or varn == 'WBACPW':665 varvals = ['wb acpw', 'water_budget_ac_pw', 0., 30., \664 elif varn == 'wbpwac' or varn == 'WBACPW': 665 varvals = ['wbpwac', 'water_budget_pw_ac', 0., 30., \ 666 666 'Water|Budget|accumulated|water|content', 'mm', 'Reds'] 667 elif varn == 'wb accondt' or varn == 'WBACCONDT':668 varvals = ['wb accondt', 'water_budget_ac_condt', 0., 30., \667 elif varn == 'wbcondtac' or varn == 'WBACCONDT': 668 varvals = ['wbcondtac', 'water_budget_condt_ac', 0., 30., \ 669 669 'Water|Budget|accumulated|condensation|and|deposition', 'mm', 'Reds'] 670 elif varn == 'wb acqcm' or varn == 'WBACQCM':671 varvals = ['wb acqcm', 'water_budget_ac_qcm', 0., 30., \670 elif varn == 'wbqcmac' or varn == 'WBACQCM': 671 varvals = ['wbqcmac', 'water_budget_qcm_ac', 0., 30., \ 672 672 'Water|Budget|accumulated|hydrometeor|change|and|convergence', 'mm', 'Reds'] 673 elif varn == 'wb acsi' or varn == 'WBACSI':674 varvals = ['wb acsi', 'water_budget_ac_si', 0., 30., \673 elif varn == 'wbsiac' or varn == 'WBACSI': 674 varvals = ['wbsiac', 'water_budget_si_ac', 0., 30., \ 675 675 'Water|Budget|accumulated|hydrometeor|sink', 'mm', 'Reds'] 676 elif varn == 'wb acso' or varn == 'WBACSO':677 varvals = ['wb acso', 'water_budget_ac_so', 0., 30., \676 elif varn == 'wbsoac' or varn == 'WBACSO': 677 varvals = ['wbsoac', 'water_budget_so_ac', 0., 30., \ 678 678 'Water|Budget|accumulated|hydrometeor|source', 'mm', 'Reds'] 679 679
Note: See TracChangeset
for help on using the changeset viewer.