ocnice_prep 1.14.0
|
Public Member Functions | |
subroutine | packarrays2d (filesrc, wgtsdir, cosrot, sinrot, vars, dims, nflds, fields) |
Pack 2D fields into arrays by mapping type. | |
subroutine | packarrays3d (filesrc, wgtsdir, cosrot, sinrot, vars, dims, nflds, fields) |
Pack 3D fields into arrays by mapping type. | |
Definition at line 22 of file utils_mod.F90.
subroutine utils_mod::packarrays::packarrays2d | ( | character(len=*), intent(in) | filesrc, |
character(len=*), intent(in) | wgtsdir, | ||
real(kind=8), dimension(:), intent(in) | cosrot, | ||
real(kind=8), dimension(:), intent(in) | sinrot, | ||
type(vardefs), dimension(:), intent(in) | vars, | ||
integer, dimension(:), intent(in) | dims, | ||
integer, intent(in) | nflds, | ||
real(kind=8), dimension(:,:), intent(out) | fields ) |
Pack 2D fields into arrays by mapping type.
[in] | filesrc | the file containing the fields to retrieve |
[in] | wgtsdir | 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 | the typedefs for this packed array |
[in] | dims | the dimensions of the fields in the packed array |
[in] | nflds | the number of fields in the packed array |
[out] | fields | the packed array |
Definition at line 66 of file utils_mod.F90.
subroutine utils_mod::packarrays::packarrays3d | ( | character(len=*), intent(in) | filesrc, |
character(len=*), intent(in) | wgtsdir, | ||
real(kind=8), dimension(:), intent(in) | cosrot, | ||
real(kind=8), dimension(:), intent(in) | sinrot, | ||
type(vardefs), dimension(:), intent(in) | vars, | ||
integer, dimension(:), intent(in) | dims, | ||
integer, intent(in) | nflds, | ||
real(kind=8), dimension(:,:,:), intent(out) | fields ) |
Pack 3D fields into arrays by mapping type.
[in] | filesrc | the file containing the fields to retrieve |
[in] | wgtsdir | 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 | the typedefs for this packed array |
[in] | dims | the dimensions of the fields in the packed array |
[in] | nflds | the number of fields in the packed array |
[out] | fields | the packed array |
Definition at line 128 of file utils_mod.F90.