ocnice_prep 1.14.0
|
Public Member Functions | |
subroutine | rotremap2d (wdir, vars, cosrot, sinrot, dims, nflds, fields) |
Rotate 2D vectors from EN->IJ and map back to native staggers. | |
subroutine | rotremap3d (wdir, vars, cosrot, sinrot, dims, nflds, fields) |
Rotate 3D vectors on nlevs from EN->IJ and map back to native staggers. | |
Definition at line 33 of file utils_esmf_mod.F90.
subroutine utils_esmf_mod::rotremap::rotremap2d | ( | character(len=*), intent(in) | wdir, |
type(vardefs), dimension(:), intent(in) | vars, | ||
real(kind=8), dimension(:), intent(in) | cosrot, | ||
real(kind=8), dimension(:), intent(in) | sinrot, | ||
integer, dimension(:), intent(in) | dims, | ||
integer, intent(in) | nflds, | ||
real(kind=8), dimension(:,:), intent(inout) | fields ) |
Rotate 2D vectors from EN->IJ and map back to native staggers.
[in] | wdir | the path to the required ESMF regridding weights |
[in] | cosrot | the cosine of the rotation angle |
[in] | sinrot | the sine of the rotation angle |
[in] | vars | a structure describing the variable metadata |
[in] | dims | the dimensions of the fields |
[in] | nflds | the number of fields in the packed array |
[out] | fields | the rotated and mapped fields |
Definition at line 343 of file utils_esmf_mod.F90.
subroutine utils_esmf_mod::rotremap::rotremap3d | ( | character(len=*), intent(in) | wdir, |
type(vardefs), dimension(:), intent(in) | vars, | ||
real(kind=8), dimension(:), intent(in) | cosrot, | ||
real(kind=8), dimension(:), intent(in) | sinrot, | ||
integer, dimension(:), intent(in) | dims, | ||
integer, intent(in) | nflds, | ||
real(kind=8), dimension(:,:,:), intent(inout) | fields ) |
Rotate 3D vectors on nlevs from EN->IJ and map back to native staggers.
[in] | wdir | the path to the required ESMF regridding weights |
[in] | cosrot | the cosine of the rotation angle |
[in] | sinrot | the sine of the rotation angle |
[in] | vars | a structure describing the variable metadata |
[in] | dims | the dimensions of the fields |
[in] | nflds | the number of fields in the packed array |
[out] | fields | the rotated and mapped fields |
Definition at line 400 of file utils_esmf_mod.F90.