|
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, timestamp) |
| 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, add_time_dim) |
| 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 374 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 422 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 160 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, | ||
| integer, intent(in), optional | timestamp | ||
| ) |
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 |
| [in] | timestamp | timestep of input file |
Definition at line 50 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, | ||
| logical, intent(in) | add_time_dim | ||
| ) |
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 |
| [in] | add_time_dim | specify whether output file has time dimension |
Definition at line 264 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.