ESMF_RegridWeightGenCheckMod Module


Read in the grid dimensions info from the weights file. The weights file should have the source and destination grid information provided.



Read in the grid info from the weights file. The weights file should have the source and destination grid information provided.




Subroutines

public subroutine ESMF_RegridWeightGenCheck(weightFile, keywordEnforcer, checkMethod, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: weightFile
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
type(ESMF_RWGCheckMethod_Flag), intent(in), optional :: checkMethod
integer, intent(out), optional :: rc

public subroutine GridReadCoords(weightFile, src_lat, src_lon, src_area, src_mask, src_frac, dst_lat, dst_lon, dst_area, dst_mask, dst_frac, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: weightFile
real(kind=ESMF_KIND_R8), pointer :: src_lat(:)
real(kind=ESMF_KIND_R8), pointer :: src_lon(:)
real(kind=ESMF_KIND_R8), pointer :: src_area(:)
real(kind=ESMF_KIND_R8), pointer :: src_mask(:)
real(kind=ESMF_KIND_R8), pointer :: src_frac(:)
real(kind=ESMF_KIND_R8), pointer :: dst_lat(:)
real(kind=ESMF_KIND_R8), pointer :: dst_lon(:)
real(kind=ESMF_KIND_R8), pointer :: dst_area(:)
real(kind=ESMF_KIND_R8), pointer :: dst_mask(:)
real(kind=ESMF_KIND_R8), pointer :: dst_frac(:)
integer, intent(out), optional :: rc

public subroutine NCFileInquire(weightFile, title, normType, src_dim, dst_dim, regridmethod, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: weightFile
character(len=*), intent(out) :: title
type(ESMF_NormType_Flag), intent(out) :: normType
integer, intent(out) :: src_dim
integer, intent(out) :: dst_dim
type(ESMF_RegridMethod_Flag), intent(out) :: regridmethod
integer, intent(out), optional :: rc

public subroutine convertCart2Sph(lons, lats, units)

Arguments

Type IntentOptional Attributes Name
real(kind=ESMF_KIND_R8), pointer :: lons(:)
real(kind=ESMF_KIND_R8), pointer :: lats(:)
character(len=*) :: units