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

Reads spatial data files of nc or ASCII format. More...

Public Member Functions

subroutine read_spatial_data_nc_or_ascii_i4 (filepath, fileunit, header_ncols, header_nrows, header_xllcorner, header_yllcorner, header_cellsize, data, maskout, out_ncols, out_nrows, out_xllcorner, out_yllcorner, out_cellsize, out_nodata_value)
 Read file from filepath.
 
subroutine read_spatial_data_nc_or_ascii_dp (filepath, fileunit, header_ncols, header_nrows, header_xllcorner, header_yllcorner, header_cellsize, data, maskout, out_ncols, out_nrows, out_xllcorner, out_yllcorner, out_cellsize, out_nodata_value)
 Read file from filepath.
 

Detailed Description

Reads spatial data files of nc or ASCII format.

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

Authors
Simon Lüdke
Date
June 2025

Definition at line 49 of file mo_read_spatial_data.f90.

Member Function/Subroutine Documentation

◆ read_spatial_data_nc_or_ascii_dp()

subroutine mo_read_spatial_data::read_spatial_data_nc_or_ascii::read_spatial_data_nc_or_ascii_dp ( character(len = *), intent(in) filepath,
integer(i4), intent(in) fileunit,
integer(i4), intent(in) header_ncols,
integer(i4), intent(in) header_nrows,
real(dp), intent(in) header_xllcorner,
real(dp), intent(in) header_yllcorner,
real(dp), intent(in) header_cellsize,
real(dp), dimension(:, :), intent(out), allocatable data,
logical, dimension(:, :), intent(out), optional, allocatable maskout,
integer(i4), intent(out), optional out_ncols,
integer(i4), intent(out), optional out_nrows,
real(dp), intent(out), optional out_xllcorner,
real(dp), intent(out), optional out_yllcorner,
real(dp), intent(out), optional out_cellsize,
real(dp), intent(out), optional 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 884 of file mo_read_spatial_data.f90.

References mo_read_spatial_data::read_header_ascii().

Here is the call graph for this function:

◆ read_spatial_data_nc_or_ascii_i4()

subroutine mo_read_spatial_data::read_spatial_data_nc_or_ascii::read_spatial_data_nc_or_ascii_i4 ( character(len = *), intent(in) filepath,
integer(i4), intent(in) fileunit,
integer(i4), intent(in) header_ncols,
integer(i4), intent(in) header_nrows,
real(dp), intent(in) header_xllcorner,
real(dp), intent(in) header_yllcorner,
real(dp), intent(in) header_cellsize,
integer(i4), dimension(:, :), intent(out), allocatable data,
logical, dimension(:, :), intent(out), optional, allocatable maskout,
integer(i4), intent(out), optional out_ncols,
integer(i4), intent(out), optional out_nrows,
real(dp), intent(out), optional out_xllcorner,
real(dp), intent(out), optional out_yllcorner,
real(dp), intent(out), optional out_cellsize,
real(dp), intent(out), optional 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 1002 of file mo_read_spatial_data.f90.

References mo_read_spatial_data::read_header_ascii().

Here is the call graph for this function:

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