atmos_grid_mod Generate horizontal grid ( either bgrid or spectral grid ) for atmosphere and land model.
Ni,j
+----------+-----------+Ci,j
| |
| |
| |
+ +Ti,j +Ei,j
| |
| |
+----------+-----------+ The grid_spec file would contains all of the following information.
x_T, y_T = Geographic location of T-cell center x_vert_T, y_vert_T = Geographic location of T-cell vertices(each cell has 4 vertices) x_C, y_C = Geographic location of C-cell center
mpp_mod
mpp_io_mod
fms_mod
transforms_mod
constants_mod
call atmos_grid_init ( )
call generate_atmos_grid
| Hgrid | A derived-type variable that contains horizontal grid information. [atmos_grid_type] |
call write_atmos_grid_data (unit,Hgrid)
| unit | The unit corresponding the output netcdf file. Always is returned by mpp_open. [integer] |
| Hgrid | A derived-type variable that contains horizontal grid information. [atmos_grid_type] |
call write_atmos_grid_meta (unit, Hgrid)
| unit | The unit corresponding the output netcdf file. Always is returned by mpp_open. [integer] |
| Hgrid | A derived-type variable that contains horizontal grid information. [atmos_grid_type] |
call atmos_grid_end ( Hgrid )
| Hgrid | A derived-type variable that contains horizontal grid information. [atmos_grid_type] |
type atmos_grid_type
real, dimension(:,:), pointer :: x_T => NULL() ! geographical longitude of T-cell center
real, dimension(:,:), pointer :: y_T => NULL() ! geographical latitude of T-cell center
real, dimension(:,:), pointer :: x_C => NULL() ! geographical longitude of C-cell center
real, dimension(:,:), pointer :: y_C => NULL() ! geographical latitude of C-cell center
real, dimension(:,:,:), pointer :: x_vert_T => NULL() ! geographical longitude of T-cell vertices
real, dimension(:,:,:), pointer :: y_vert_T => NULL() ! geographical latitude of T-cell vertices
end type atmos_grid_type
|