mHM
The mesoscale Hydrological Model
|
reading latitude and longitude coordinates for each domain More...
Functions/Subroutines | |
subroutine, public | read_latlon (ii, lon_var_name, lat_var_name, level_name, level) |
reads latitude and longitude coordinates | |
reading latitude and longitude coordinates for each domain
This module provides routines for reading latitude and longitude coordinates from file.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. subroutine, public mo_read_latlon::read_latlon | ( | integer(i4), intent(in) | ii, |
character(*), intent(in) | lon_var_name, | ||
character(*), intent(in) | lat_var_name, | ||
character(*), intent(in) | level_name, | ||
type(grid), intent(inout) | level | ||
) |
reads latitude and longitude coordinates
reads latitude and longitude coordinates from netcdf file for each domain and appends it to the global variables latitude and longitude.
[in] | integer(i4) :: ii | domain indexFile name of the domains must be xxx_latlon.nc, wherexxx is the domain id. Variable names in the netcdf filehave to be 'lat' for latitude and 'lon' for longitude. |
[in] | character(*) :: lon_var_name | |
[in] | character(*) :: lat_var_name | |
[in] | character(*) :: level_name | |
[in,out] | type(Grid) :: level |
Definition at line 61 of file mo_read_latlon.f90.
References mo_common_variables::filelatlon.
Referenced by mo_mpr_startup::mpr_initialize(), mo_mrm_init::mrm_init(), mo_mrm_read_data::mrm_read_l0_data(), and mo_read_wrapper::read_data().