Ignore:
Timestamp:
Dec 4, 2018 8:40:18 AM (5 years ago)
Author:
maronga
Message:

revised calculation of near surface air potential temperature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/average_3d_data.f90

    r3589 r3597  
    2525! -----------------
    2626! $Id$
     27! Added theta_2m
     28!
     29! 3589 2018-11-30 15:09:51Z suehring
    2730! Move the control parameter "salsa" from salsa_mod to control_parameters
    2831! (M. Kurppa)
     
    518521             ENDIF
    519522
     523          CASE ( 'theta_2m' )
     524             IF ( ALLOCATED( pt_2m_av ) ) THEN
     525                DO  i = nxlg, nxrg
     526                   DO  j = nysg, nyng
     527                      pt_2m_av(j,i) = pt_2m_av(j,i) / REAL( average_count_3d, KIND=wp )
     528                   ENDDO
     529                ENDDO
     530                CALL exchange_horiz_2d( pt_2m_av, nbgp )
     531             ENDIF
     532             
    520533          CASE ( 'w' )
    521534             IF ( ALLOCATED( w_av ) ) THEN
Note: See TracChangeset for help on using the changeset viewer.