ocnice_prep  1.13.0
All Data Structures Files Functions Variables Pages
utils_mod::getvecpair Interface Reference

Private Member Functions

subroutine getvecpair2d (fname, wdir, cosrot, sinrot, vname1, vgrid1, vname2, vgrid2, dims, vecpair)
 Obtain 2D vector pairs mapped to Ct and rotated to EN. More...
 
subroutine getvecpair3d (fname, wdir, cosrot, sinrot, vname1, vgrid1, vname2, vgrid2, dims, vecpair)
 Obtain 3D vector pairs mapped to Ct and rotated to EN. More...
 

Detailed Description

Definition at line 33 of file utils_mod.F90.

Member Function/Subroutine Documentation

◆ getvecpair2d()

subroutine utils_mod::getvecpair::getvecpair2d ( character(len=*), intent(in)  fname,
character(len=*), intent(in)  wdir,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
character(len=*), intent(in)  vname1,
character(len=*), intent(in)  vgrid1,
character(len=*), intent(in)  vname2,
character(len=*), intent(in)  vgrid2,
integer, dimension(:), intent(in)  dims,
real(kind=8), dimension(:,:), intent(out)  vecpair 
)
private

Obtain 2D vector pairs mapped to Ct and rotated to EN.

Parameters
[in]fnamethe file containing the fields to retrieve
[in]wdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]vname1the variable name of the first vector
[in]vgrid1the grid location of the first vector
[in]vname2the variable name of the second vector
[in]vgrid2the grid location of the second vector
[in]dimsthe dimensions of the fields
[out]vecpairthe vector pair array
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 191 of file utils_mod.F90.

◆ getvecpair3d()

subroutine utils_mod::getvecpair::getvecpair3d ( character(len=*), intent(in)  fname,
character(len=*), intent(in)  wdir,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
character(len=*), intent(in)  vname1,
character(len=*), intent(in)  vgrid1,
character(len=*), intent(in)  vname2,
character(len=*), intent(in)  vgrid2,
integer, dimension(:), intent(in)  dims,
real(kind=8), dimension(:,:,:), intent(out)  vecpair 
)
private

Obtain 3D vector pairs mapped to Ct and rotated to EN.

Parameters
[in]fnamethe file containing the fields to retrieve
[in]wdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]vname1the variable name of the first vector
[in]vgrid1the grid location of the first vector
[in]vname2the variable name of the second vector
[in]vgrid2the grid location of the second vector
[in]dimsthe dimensions of the fields
[out]vecpairthe vector pair array
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 241 of file utils_mod.F90.


The documentation for this interface was generated from the following file: