@@ -23,21 +23,13 @@ module mapl3g_GridGet
2323
2424contains
2525
26- subroutine grid_get (grid , unusable , &
27- name , &
28- dimCount , coordDimCount , &
29- im , jm , &
30- longitudes , latitudes , &
31- rc )
32-
26+ subroutine grid_get (grid , unusable , name , dimCount , coordDimCount , im , jm , rc )
3327 type (esmf_Grid), intent (in ) :: grid
3428 class(KeywordEnforcer), optional , intent (in ) :: unusable
3529 character (:), optional , allocatable , intent (out ) :: name
3630 integer , optional , intent (out ) :: dimCount
3731 integer , optional , allocatable , intent (out ) :: coordDimCount(:)
3832 integer , optional , intent (out ) :: im, jm
39- real (kind= ESMF_KIND_R4 ), optional , allocatable , intent (out ) :: longitudes(:,:)
40- real (kind= ESMF_KIND_R4 ), optional , allocatable , intent (out ) :: latitudes(:,:)
4133 integer , optional , intent (out ) :: rc
4234
4335 integer :: dimCount_
@@ -67,10 +59,6 @@ subroutine grid_get(grid, unusable, &
6759 if (present (jm)) jm = size (coords,2 )
6860 end if
6961
70- if (present (longitudes) .or. present (latitudes)) then
71- call GridGetCoordinates(grid, longitudes= longitudes, latitudes= latitudes, _RC)
72- end if
73-
7462 _RETURN(_SUCCESS)
7563 _UNUSED_DUMMY(unusable)
7664 end subroutine grid_get
0 commit comments