Opened 9 years ago

Closed 9 years ago

#443 closed enhancement (fixed)

Introduce 2nd order Tdry integration into ropp_apps_utils.f90

Reported by: Ian Culverwell Owned by: Ian Culverwell
Priority: normal Milestone: 9.0
Component: ropp_apps Version: 8.0
Keywords: Tdry Cc:

Description

SUBROUTINE ropp_apps_calc_tdry in ropp_apps/common/ropp_apps_utils.f90 uses simple Euler forward method to calculate dry temperature. The attached contains a second order method (explicit midpoint), which is slightly more accurate (differences in Tdry <~ 0.5K) and slightly more expensive. Note that the resulting differences in PBLH are <~ 0.1m, ie negligible. Nonetheless, we may choose to implement this scheme at ROPP9.0.

Attachments (1)

ropp_apps_utils_ROPP90.f90 (30.8 KB ) - added by Ian Culverwell 9 years ago.
ropp_apps_utils.f90

Download all attachments as: .zip

Change history (4)

by Ian Culverwell, 9 years ago

Attachment: ropp_apps_utils_ROPP90.f90 added

ropp_apps_utils.f90

comment:1 by Ian Culverwell, 9 years ago

For the record, the 2nd order pblh_tdry - 1st order pblh_tdry for the 438 profiles on 20130401/00Z satisfies:

-1.20947 < pblh_tdry_diff (in m) (avg = -0.0312037) < 0.16626.

And the 2nd strongest says

-0.340088 < pblh_tdry2_diff (in m) (avg = -0.0101814 ) < 0.756348.  

So really very small impact overall.

comment:2 by Ian Culverwell, 9 years ago

Can generate suprisingly large (20 K) differences high up in Tdry in the test example, ropp_apps/data/ropp_apps_pblh_test.nc, but these are mostly due to the use of a more accurate estimate of dlogN/dz at the top. it makes a very small difference to the PBLH, and to the temperature at the PBLH, so accept the change.

Code changes implemented at r4747 (and r4750).

Supporting documentation changes made at r4749.

comment:3 by Ian Culverwell, 9 years ago

Component: ROPP (all)ropp_apps
Resolution: fixed
Status: newclosed

Closing ticket.

Note: See TracTickets for help on using tickets.