5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_read_latlon Module Reference

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
 

Detailed Description

reading latitude and longitude coordinates for each domain

This module provides routines for reading latitude and longitude coordinates from file.

Authors
Stephan Thober
Date
Nov 2013

Function/Subroutine Documentation

◆ read_latlon()

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.

Parameters
[in]integer(i4) :: iidomain 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
Authors
Stephan Thober
Date
Nov 2013

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().

Here is the caller graph for this function: