MTM5Data.F90 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ! First include the set of model-wide compiler flags
  2. #include "tm5.inc"
  3. Module MTM5Data
  4. !
  5. ! This module defines the structure to store the instantaneous TM5 fields needed by DOMINO
  6. !
  7. implicit none
  8. private
  9. public :: TTM5Data
  10. ! ------------------------------------------------------------------
  11. ! structure containing TM5 fields at the time of the observations
  12. ! note: fields are 3D and not 4D like in the TM5 output files
  13. ! ------------------------------------------------------------------
  14. ! im,jm,lm : dimensions of the 3D TM5 fields (lon,lat,lev)
  15. ! lon : longitude, degree east, dimension "im"
  16. ! lat : latitude, degree north, dimension "jm"
  17. ! hyai : hybrid A coefficient at layer interfaces, unit Pa, dimension "lm+1"
  18. ! hybi : hybrid B coefficient at layer interfaces, unit 1, dimension "lm+1"
  19. ! hyam : hybrid A coefficient at layer midpoints, unit Pa, dimension "lm"
  20. ! hybm : hybrid B coefficient at layer midpoints, unit 1, dimension "lm"
  21. ! date : date-time of the fields: year, month, day, hour, minute, second
  22. ! ps : surface pressure, unit "Pa", dimension ("im","jm")
  23. ! oro : surface altitude of TM5 grid, unit "m", dimension ("im","jm")
  24. ! based on ECMWF interpolated orography field
  25. ! t : temperature, unit "K", dimension ("im","jm","lm")
  26. ! no2 : volume mixing ratio of NO2 in humid air, unit "1", dimension ("im","jm","lm")
  27. type TTM5Data
  28. integer :: im, jm, lm
  29. real,dimension(:),allocatable :: lon
  30. real,dimension(:),allocatable :: lat
  31. real,dimension(:),allocatable :: hyai
  32. real,dimension(:),allocatable :: hybi
  33. real,dimension(:),allocatable :: hyam
  34. real,dimension(:),allocatable :: hybm
  35. integer,dimension(6) :: date
  36. real,dimension(:,:),allocatable :: ps
  37. real,dimension(:,:),allocatable :: oro
  38. real,dimension(:,:,:),allocatable :: t
  39. integer,dimension(:,:),allocatable :: ltropo
  40. real,dimension(:,:,:),allocatable :: no2
  41. end type TTM5Data
  42. end Module MTM5Data