dims_levels__ml137_tropo34.F90 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. !
  26. ! Selection of 34 half levels that are most similar to:
  27. ! levels/ml60/tropo34/dims_levels__ml60_tropo34.F90
  28. !
  29. integer, parameter :: echlevs(0:34) = (/ &
  30. 137, 134, 131, 126, 122, 117, 113, 109, 105, 102, &
  31. 98, 96, 94, 92, 90, 88, 85, 83, 81, 78, &
  32. 75, 73, 70, 67, 64, 61, 57, 54, 51, 44, &
  33. 34, 26, 20, 14, 0 /)
  34. ! values filled in module geometry ...
  35. real :: at(1:34+1)
  36. real :: bt(1:34+1)
  37. end module dims_levels