dims_levels__ml137_tropo34.F90 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #include "tm5.inc"
  2. !
  3. ! Levels.
  4. !
  5. module dims_levels
  6. use const_ec_v, only : lme, a_ec, b_ec
  7. use dims_grid, only : nregions_all
  8. implicit none
  9. ! --- in/out ------------------------------
  10. public
  11. ! --- const -------------------------------
  12. integer, parameter :: lm(0:nregions_all) = 34
  13. ! Only lowest layers are used for convec calculations (sub files)
  14. ! to avoid memory problems.
  15. #ifdef without_lmax_conv
  16. ! don't bother about computation time and storage ...
  17. integer,parameter :: lmax_conv = 34
  18. #else
  19. ! Quote Michiel van Weele:
  20. ! "..., convectie kan wel tot ~70 hPa (19km) gaan in de tropen."
  21. integer,parameter :: lmax_conv = 23
  22. #endif
  23. ! select ECMWF half levels;
  24. ! TM levels are number bottom-up:
  25. ! These levels are the same as the "34 levels out of 91 levels". To get that, the correspondence between
  26. ! 91 and 137 comes from this web page:
  27. ! http://www.ecmwf.int/en/forecasts/documentation-and-suppor/correspondence-between-l91-and-l137-model-levels
  28. integer, parameter :: echlevs(0:34) = (/ &
  29. 137, 134, 129, 124, 119, 114, 110, 105, 101, 97,&
  30. 93, 88, 84, 81, 78, 76, 73, 70, 67, 65,&
  31. 62, 59, 57, 54, 51, 46, 42, 37, 32, 27,&
  32. 22, 17, 12, 7, 0 /)
  33. ! values filled in module geometry ...
  34. real :: at(1:34+1)
  35. real :: bt(1:34+1)
  36. end module dims_levels