Returns the latitude array [rad] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Latitude [rad]
pure function getLatitude(self) result(lat)
!! Returns the latitude array [rad] of the grid instance.
class(grid_type),intent(in) :: self !! Grid instance
real(kind=realkind),dimension(:,:),allocatable :: lat !! Latitude [rad]
lat = self % lat
endfunction getLatitude