regrid_sfc
1.13.0
|
ESMF grid-specific routines for GFS regridding program, including IO. More...
Go to the source code of this file.
Data Types | |
type | grids_io::grid_setup_type |
Functions/Subroutines | |
subroutine | grids_io::create_grid_fv3 (res_atm, dir_fix, npets, localpet, fv3_grid) |
subroutine to create grid object for fv3 grid also sets distribution across procs More... | |
subroutine | grids_io::create_grid_gauss (grid_setup, npets, localpet, gauss_grid) |
subroutine to create grid object for gaussian grids also sets distribution across procs More... | |
subroutine, public | grids_io::read_into_fields (localpet, i_dim, j_dim, fname_read, dir_read, grid_setup, n_vars, variable_list, fields) |
read variables from fv3 netcdf restart file into ESMF Fields More... | |
subroutine, public | grids_io::setup_grid (localpet, npets, grid_setup, mod_grid) |
Create ESMF grid objects, with mask if requested. More... | |
subroutine, public | grids_io::write_from_fields (localpet, i_dim, j_dim, fname_out, dir_out, n_vars, n_tims, variable_list, fields) |
write variables from ESMF Fields into netcdf restart-like file More... | |
Variables | |
integer, parameter, public | grids_io::mtype_snow =2 |
snow More... | |
integer, parameter, public | grids_io::mtype_water =0 |
water More... | |
integer, parameter, public | grids_io::n_tiles =6 |
number tiles in fv3 grid More... | |
integer, parameter, public | grids_io::vtype_landice =15 |
land ice More... | |
integer, parameter, public | grids_io::vtype_water =0 |
non-land More... | |
ESMF grid-specific routines for GFS regridding program, including IO.
Definition in file grids_IO.F90.
|
private |
subroutine to create grid object for fv3 grid also sets distribution across procs
[in] | res_atm | resolution of grid |
[in] | dir_fix | orog fix directory |
[in] | localpet | local pet |
[in] | npets | total number of pets |
[out] | fv3_grid | output ESMF grid |
Definition at line 359 of file grids_IO.F90.
|
private |
subroutine to create grid object for gaussian grids also sets distribution across procs
[in] | grid_setup | data structure with grid details |
[in] | npets | total number of pets |
[in] | localpet | local pet |
[out] | gauss_grid | output ESMF grid |
Definition at line 407 of file grids_IO.F90.
subroutine, public grids_io::read_into_fields | ( | integer, intent(in) | localpet, |
integer, intent(in) | i_dim, | ||
integer, intent(in) | j_dim, | ||
character(*), intent(in) | fname_read, | ||
character(*), intent(in) | dir_read, | ||
type(grid_setup_type), intent(in) | grid_setup, | ||
integer, intent(in) | n_vars, | ||
character(len=15), dimension(n_vars), intent(in) | variable_list, | ||
type(esmf_field), dimension(1,n_vars), intent(inout) | fields | ||
) |
read variables from fv3 netcdf restart file into ESMF Fields
[in] | localpet | local pet |
[in] | i_dim | longitudinal dimension |
[in] | j_dim | latitudinal dimension |
[in] | fname_read | file name to read in |
[in] | dir_read | directory of file name to read |
[in] | grid_setup | grid details |
[in] | n_vars | number of variables to read in |
[in] | variable_list | variables to read in |
[in,out] | fields | fields to read variables into |
Definition at line 147 of file grids_IO.F90.
subroutine, public grids_io::setup_grid | ( | integer, intent(in) | localpet, |
integer, intent(in) | npets, | ||
type(grid_setup_type), intent(in) | grid_setup, | ||
type(esmf_grid), intent(out) | mod_grid | ||
) |
Create ESMF grid objects, with mask if requested.
[in] | localpet | local pet |
[in] | npets | total number of pets |
[in] | grid_setup | data structure with grid details |
[out] | mod_grid | output esmf_grid structure |
Definition at line 48 of file grids_IO.F90.
subroutine, public grids_io::write_from_fields | ( | integer, intent(in) | localpet, |
integer, intent(in) | i_dim, | ||
integer, intent(in) | j_dim, | ||
character(*), intent(in) | fname_out, | ||
character(*), intent(in) | dir_out, | ||
integer, intent(in) | n_vars, | ||
integer, intent(in) | n_tims, | ||
character(15), dimension(n_vars), intent(in) | variable_list, | ||
type(esmf_field), dimension(n_tims,n_vars), intent(in) | fields | ||
) |
write variables from ESMF Fields into netcdf restart-like file
[in] | localpet | local pet |
[in] | i_dim | longitudinal dimension |
[in] | j_dim | latitudinal dimension |
[in] | fname_out | file name to write to |
[in] | dir_out | directory of file name to write to |
[in] | n_vars | number of variables to read in |
[in] | n_tims | number of times to write out |
[in] | variable_list | variables to read in |
[in] | fields | fields to read variables into |
Definition at line 250 of file grids_IO.F90.
integer, parameter, public grids_io::mtype_snow =2 |
snow
Definition at line 20 of file grids_IO.F90.
integer, parameter, public grids_io::mtype_water =0 |
water
Definition at line 20 of file grids_IO.F90.
integer, parameter, public grids_io::n_tiles =6 |
number tiles in fv3 grid
Definition at line 15 of file grids_IO.F90.
integer, parameter, public grids_io::vtype_landice =15 |
land ice
Definition at line 17 of file grids_IO.F90.
integer, parameter, public grids_io::vtype_water =0 |
non-land
Definition at line 17 of file grids_IO.F90.