Changeset 390 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 7, 2015, 11:55:46 AM (10 years ago)
Author:
lfita
Message:

Adding 'WRFbils'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.py

    r365 r390  
    675675
    676676# Variables not to check
    677 NONcheckingvars = ['cllmh', 'deaccum', 'WRFdens', 'WRFgeop', 'WRFp',                 \
     677NONcheckingvars = ['cllmh', 'deaccum', 'WRFbils', 'WRFdens', 'WRFgeop', 'WRFp',      \
    678678  'WRFpos', 'WRFprc', 'WRFprls', 'WRFrh', 'LMDZrh', 'LMDZrhs', 'WRFrhs', 'WRFrvors', \
    679679  'WRFt']
     
    10041004          " Taylor decomposition turbulence term")
    10051005
    1006 # WRFp pressure frin WRF as P + PB
     1006# WRFbils fom WRF as HFX + LH
     1007    elif diag == 'WRFbils':
     1008           
     1009        var0 = ncobj.variables[depvars[0]][:]
     1010        var1 = ncobj.variables[depvars[1]][:]
     1011
     1012        diagout = var0 + var1
     1013
     1014        ncvar.insert_variable(ncobj, 'bils', diagout, dnames, dvnames, newnc)
     1015
     1016# WRFp pressure from WRF as P + PB
    10071017    elif diag == 'WRFp':
    10081018           
Note: See TracChangeset for help on using the changeset viewer.