Changeset 1966 in lmdz_wrf for trunk


Ignore:
Timestamp:
Jul 24, 2018, 6:44:03 PM (7 years ago)
Author:
lfita
Message:

Adopting 'tdas' as surface dew-point temperature

Location:
trunk/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.inf

    r1962 r1966  
    3636slw, WRFslw,  SH2O@DZS
    3737ta, WRFt, T@P@PB
    38 td, WRFtd, WRFp@WRFt@QVAPOR
     38tdas, WRFtda, WRFp@WRFt@QVAPOR
    3939tda, WRFtda, WRFrh@WRFt
    40 tds, TStd, psfc@t@q
    41 tds, WRFtds, PSFC@T2@Q2
     40tdas, TStdas, psfc@t@q
     41tdas, WRFtdas, PSFC@T2@Q2
    4242ua, WRFua, U@V@SINALPHA@COSALPHA
    4343va, WRFva, U@V@SINALPHA@COSALPHA
  • trunk/tools/diagnostics.py

    r1962 r1966  
    9090  'WRFmrso', 'WRFpotevap_orPM', 'WRFp', 'WRFpsl_ecmwf',                              \
    9191  'WRFpsl_ptarget', 'WRFrvors', 'WRFslw', 'ws', 'wds', 'wss', 'WRFheight',           \
    92   'WRFheightrel', 'WRFtda', 'WRFtds', 'WRFua', 'WRFva', 'WRFzwind', 'WRFzwind_log', \
     92  'WRFheightrel', 'WRFtda', 'WRFtdas', 'WRFua', 'WRFva', 'WRFzwind', 'WRFzwind_log', \
    9393  'WRFzwindMO']
    9494
     
    815815        diagout, diagoutd, diagoutvd = diag.compute_td(var0,var1,var2,dnamesvar,dvnamesvar)
    816816
    817         ncvar.insert_variable(ncobj, 'tds', diagout, diagoutd, diagoutvd, newnc)
     817        ncvar.insert_variable(ncobj, 'tdas', diagout, diagoutd, diagoutvd, newnc)
    818818
    819819# td (psfc, t, q) from TimeSeries files
     
    830830        diagout, diagoutd, diagoutvd = diag.compute_td(var0,var1,var2,dnamesvar,dvnamesvar)
    831831
    832         ncvar.insert_variable(ncobj, 'tds', diagout, diagoutd, diagoutvd, newnc)
     832        ncvar.insert_variable(ncobj, 'tdas', diagout, diagoutd, diagoutvd, newnc)
    833833
    834834# wds (u, v)
     
    12281228        ncvar.insert_variable(ncobj, 'tda', td, dnames, diagoutvd, newnc)
    12291229
    1230 # WRFtds (PSFC, T2, Q2)
    1231     elif diagn == 'WRFtds':
     1230# WRFtdas (PSFC, T2, Q2)
     1231    elif diagn == 'WRFtdas':
    12321232        ARM2 = fdef.module_definitions.arm2
    12331233        ARM3 = fdef.module_definitions.arm3
     
    12431243
    12441244        gammatarhs = np.log(rhs) + ARM2*(var1-273.15)/((var1-273.15)+ARM3)
    1245         tds = ARM3*gammatarhs/(ARM2-gammatarhs)
    1246 
    1247         # Removing the nonChecking variable-dimensions from the initial list
    1248         varsadd = []
    1249         diagoutvd = list(dvnames)
    1250         for nonvd in NONchkvardims:
    1251             if gen.searchInlist(dvnames,nonvd): diagoutvd.remove(nonvd)
    1252             varsadd.append(nonvd)
    1253 
    1254         ncvar.insert_variable(ncobj, 'tds', tds, dnames, diagoutvd, newnc)
     1245        tdas = ARM3*gammatarhs/(ARM2-gammatarhs)
     1246
     1247        # Removing the nonChecking variable-dimensions from the initial list
     1248        varsadd = []
     1249        diagoutvd = list(dvnames)
     1250        for nonvd in NONchkvardims:
     1251            if gen.searchInlist(dvnames,nonvd): diagoutvd.remove(nonvd)
     1252            varsadd.append(nonvd)
     1253
     1254        ncvar.insert_variable(ncobj, 'tdas', tdas, dnames, diagoutvd, newnc)
    12551255
    12561256# WRFua (U, V, SINALPHA, COSALPHA) to be rotated !!
  • trunk/tools/variables_values.dat

    r1947 r1966  
    480480tda, tda, air_dew_point_temperature, 240., 310., air|dew|point|temperature, C, YlGnBu, $tda$, tda
    481481DWPT, tda, air_dew_point_temperature, 240., 310., air|dew|point|temperature, C, YlGnBu, $tda$, tda
    482 tds, tds, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
    483 TD, tds, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
    484 TDS, tds, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
    485 TStd, tds, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
    486 TStdC, tds, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
     482tdas, tdas, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
     483TD, tdas, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
     484TDS, tdas, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
     485TStd, tdas, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
     486TStdC, tdas, air_dew_point_temperature, 240., 310., air|dew|point|temperature|at|2m, C, YlGnBu, $tdas$, tdas
    487487th105, th105, thickness_1000_500, 0., 2500., atmosphere|thickness|1000|hPa|to|500|hPa, m, Reds, $m$, m
    4884881000 hPa to 500 hPa thickness, th105, thickness_1000_500, 0., 2500., atmosphere|thickness|1000|hPa|to|500|hPa, m, Reds, $m$, m
Note: See TracChangeset for help on using the changeset viewer.