sfc_climo_gen
1.13.0
|
Read the input source data and interpolate it to the model grid. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | adjust_for_landice (field, vegt, idim, jdim, field_ch) |
Ensure consistent fields at land ice points. More... | |
subroutine | interp (localpet, method, input_file) |
Read the input source data and interpolate it to the model grid. More... | |
Read the input source data and interpolate it to the model grid.
Definition in file interp.F90.
subroutine adjust_for_landice | ( | real(esmf_kind_r4), dimension(idim,jdim), intent(inout) | field, |
real(esmf_kind_i4), dimension(idim,jdim), intent(in) | vegt, | ||
integer, intent(in) | idim, | ||
integer, intent(in) | jdim, | ||
character(len=*), intent(in) | field_ch | ||
) |
Ensure consistent fields at land ice points.
Land ice is vegetation type 15 (variable landice). output is Model field.
[in] | field | Model field before adjustments for land ice. |
[in] | vegt | Vegetation type on the model tile. |
[in,out] | idim | i dimension of model tile. |
[in,out] | jdim | j dimension of model tile. |
[in] | field_ch | Field name. |
Definition at line 291 of file interp.F90.
Referenced by interp().
subroutine interp | ( | integer | localpet, |
type(esmf_regridmethod_flag), intent(in) | method, | ||
character(len=*), intent(in) | input_file | ||
) |
Read the input source data and interpolate it to the model grid.
[in] | localpet | this mpi task |
[in] | method | interpolation method.defined where mask=1 |
[in] | input_file | filename of input source data. |
Definition at line 14 of file interp.F90.
References adjust_for_landice(), model_grid::data_field_mdl, utils::error_handler(), source_grid::field_names, program_setup::fract_vegsoil_type, source_grid::grid_src, model_grid::i_mdl, source_grid::i_src, model_grid::j_mdl, source_grid::j_src, model_grid::latitude_field_mdl, model_grid::longitude_field_mdl, model_grid::mask_field_mdl, model_grid::missing, utils::netcdf_err(), source_grid::num_fields, model_grid::num_tiles, source_grid::num_time_recs, output(), search(), and model_grid::vegt_field_mdl.
Referenced by driver().