sfc_climo_gen  1.5.0
 All Data Structures Files Functions Variables
interp.F90 File Reference

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...
 

Detailed Description

Read the input source data and interpolate it to the model grid.

Author
George Gayno
Date
2018

Definition in file interp.F90.

Function/Subroutine Documentation

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.

Parameters
[in]fieldModel field before adjustments for land ice.
[in]vegtVegetation type on the model tile.
[in,out]idimi dimension of model tile.
[in,out]jdimj dimension of model tile.
[in]field_chField name.
Author
George Gayno NCEP/EMC

Definition at line 274 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.

Parameters
[in]localpetthis mpi task
[in]methodinterpolation method.defined where mask=1
[in]input_filefilename of input source data.
Author
George Gayno
Date
2018

Definition at line 13 of file interp.F90.

References adjust_for_landice(), utils::error_handler(), utils::netcdf_err(), output(), and search().

Referenced by driver().