5.13.3-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_read_spatial_data::read_spatial_data_nc Interface Reference

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.
 

Detailed Description

Reads spatial data files of nc format.

Reads spatial input data, e.g. dem, aspect, flow direction.

Authors
Simon Lüdke
Date
June 2025

Definition at line 68 of file mo_read_spatial_data.f90.

Member Function/Subroutine Documentation

◆ read_spatial_data_nc_dp()

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

Authors
Simon Lüdke
Date
June 2025

Definition at line 824 of file mo_read_spatial_data.f90.

References mo_read_spatial_data::get_header_info_from_nc().

Here is the call graph for this function:

◆ read_spatial_data_nc_i4()

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

Authors
Simon Lüdke
Date
June 2025

Definition at line 764 of file mo_read_spatial_data.f90.

References mo_read_spatial_data::get_header_info_from_nc().

Here is the call graph for this function:

The documentation for this interface was generated from the following file: