![]() |
mHM
The mesoscale Hydrological Model
|
Reads spatial data files of nc format. More...
Public Member Functions | |
| subroutine | read_spatial_data_nc_i4 (ncname, varname, data, maskout, ncols, nrows, xllcorner, yllcorner, cellsize, nodata_value) |
| Read file from filepath. | |
| subroutine | read_spatial_data_nc_dp (ncname, varname, data, maskout, ncols, nrows, xllcorner, yllcorner, cellsize, nodata_value) |
| Read file from filepath. | |
Reads spatial data files of nc format.
Reads spatial input data, e.g. dem, aspect, flow direction.
Definition at line 68 of file mo_read_spatial_data.f90.
| subroutine mo_read_spatial_data::read_spatial_data_nc::read_spatial_data_nc_dp | ( | character(len=*), intent(in) | ncname, |
| character(len=*), intent(in) | varname, | ||
| real(dp), dimension(:, :), intent(out), allocatable | data, | ||
| logical, dimension(:, :), intent(out), optional, allocatable | maskout, | ||
| integer(i4), intent(out) | ncols, | ||
| integer(i4), intent(out) | nrows, | ||
| real(dp), intent(out) | xllcorner, | ||
| real(dp), intent(out) | yllcorner, | ||
| real(dp), intent(out) | cellsize, | ||
| real(dp), intent(out) | nodata_value ) |
Read file from filepath.
If there is a nc file with the correct name it is prefered over the asci file.
TODO: add description
Definition at line 824 of file mo_read_spatial_data.f90.
References mo_read_spatial_data::get_header_info_from_nc().
| subroutine mo_read_spatial_data::read_spatial_data_nc::read_spatial_data_nc_i4 | ( | character(len=*), intent(in) | ncname, |
| character(len=*), intent(in) | varname, | ||
| integer(i4), dimension(:, :), intent(out), allocatable | data, | ||
| logical, dimension(:, :), intent(out), optional, allocatable | maskout, | ||
| integer(i4), intent(out) | ncols, | ||
| integer(i4), intent(out) | nrows, | ||
| real(dp), intent(out) | xllcorner, | ||
| real(dp), intent(out) | yllcorner, | ||
| real(dp), intent(out) | cellsize, | ||
| real(dp), intent(out) | nodata_value ) |
Read file from filepath.
If there is a nc file with the correct name it is prefered over the asci file.
TODO: add description
Definition at line 764 of file mo_read_spatial_data.f90.
References mo_read_spatial_data::get_header_info_from_nc().