orog_mask_tools 1.14.0
|
Program and associated routines for creating inland mask. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | free_mem () |
Deallocate module arrays. | |
program | inland_mask |
This program creates the inland mask and writes it to the orography data files. | |
subroutine | mark_global_inland (cs_res) |
Create inland mask for global grid. | |
recursive subroutine | mark_global_inland_rec_d (i, j, t, rd) |
Recursively walk through neighbors marking inland points for global grid. | |
subroutine | mark_inland_reg (cs_res) |
Create inland mask for regional grid. | |
recursive subroutine | mark_regional_inland_rec_d (i, j, t, rd) |
Recursively walk through neighbors marking inland points for regional grid. | |
subroutine | nc_opchk (stat, opname) |
Check NetCDF return code and print error message. | |
subroutine | read_orog (cs_res) |
Read in orography (land fraction) data. | |
subroutine | read_orog_reg (cs_res) |
Read in orography (land fraction) data for regional grid. | |
subroutine | write_inland (cs_res) |
Write inland back to the orography data files for global grid. | |
subroutine | write_inland_reg (cs_res) |
Write inland back to the orography data files for regional grid. | |
Program and associated routines for creating inland mask.
Definition in file inland.F90.
|
private |
program inland_mask |
This program creates the inland mask and writes it to the orography data files.
Definition at line 9 of file inland.F90.
References free_mem(), mark_global_inland(), mark_inland_reg(), read_orog(), read_orog_reg(), write_inland(), and write_inland_reg().
subroutine inland_mask::mark_global_inland | ( | integer, intent(in) | cs_res | ) |
Create inland mask for global grid.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 79 of file inland.F90.
References mark_global_inland_rec_d().
Referenced by inland_mask().
|
private |
Recursively walk through neighbors marking inland points for global grid.
[in] | i | cell index |
[in] | j | cell index |
[in] | t | tile number |
[in] | rd | current recursive depth (starts at 0) |
Definition at line 161 of file inland.F90.
References mark_global_inland_rec_d().
Referenced by mark_global_inland(), and mark_global_inland_rec_d().
|
private |
Create inland mask for regional grid.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 104 of file inland.F90.
References mark_regional_inland_rec_d().
Referenced by inland_mask().
|
private |
Recursively walk through neighbors marking inland points for regional grid.
[in] | i | cell index |
[in] | j | cell index |
[in] | t | tile face |
[in] | rd | current recursive depth (starts at 0) |
Definition at line 198 of file inland.F90.
References mark_regional_inland_rec_d().
Referenced by mark_inland_reg(), and mark_regional_inland_rec_d().
|
private |
Check NetCDF return code and print error message.
[in] | stat | status code returned from NetCDF |
[in] | opname | description of NetCDF operation called |
Definition at line 467 of file inland.F90.
Referenced by read_cubed_sphere_grid(), read_cubed_sphere_reg_grid(), read_orog(), read_orog_reg(), write_inland(), write_inland_reg(), write_lakedata_to_orodata(), and write_reg_lakedata_to_orodata().
|
private |
Read in orography (land fraction) data.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 232 of file inland.F90.
References nc_opchk().
Referenced by inland_mask().
|
private |
Read in orography (land fraction) data for regional grid.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 278 of file inland.F90.
References nc_opchk().
Referenced by inland_mask().
|
private |
Write inland back to the orography data files for global grid.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 330 of file inland.F90.
References nc_opchk().
Referenced by inland_mask().
|
private |
Write inland back to the orography data files for regional grid.
[in] | cs_res | cubed sphere resolution (48, 96...) |
Definition at line 392 of file inland.F90.
References nc_opchk().
Referenced by inland_mask().