MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
GridFileReader.f90 File Reference

Go to the source code of this file.

Data Types

type  gridfilereadermodule::gridfilereadertype

Modules

module  gridfilereadermodule

Functions/Subroutines

subroutine gridfilereadermodule::initialize (this, iu)
 Initialize the grid file reader.
subroutine gridfilereadermodule::finalize (this)
 Finalize the grid file reader.
subroutine gridfilereadermodule::read_header (this)
 Read the file's self-describing header. Internal use only.
subroutine gridfilereadermodule::read_header_meta (this)
 Read self-describing metadata (first four lines). Internal use only.
subroutine gridfilereadermodule::read_header_body (this)
 Read the header body section (text following first.
integer(i4b) function gridfilereadermodule::lookup (this, name, ndim, typ, desc)
 Look up a variable and check its rank and type.
integer(i4b) function gridfilereadermodule::read_int (this, name)
 Read an integer scalar from a grid file.
real(dp) function gridfilereadermodule::read_dbl (this, name)
 Read a double precision scalar from a grid file.
integer(i4b) function, dimension(:), allocatable gridfilereadermodule::read_int_1d (this, name)
 Read a 1D integer array from a grid file.
subroutine gridfilereadermodule::read_int_1d_into (this, name, v)
 Read a 1D integer array into a preallocated array.
real(dp) function, dimension(:), allocatable gridfilereadermodule::read_dbl_1d (this, name)
 Read a 1D double array from a grid file.
subroutine gridfilereadermodule::read_dbl_1d_into (this, name, v)
 Read a 1D double array into a preallocated array.
character(len=:) function, allocatable gridfilereadermodule::read_charstr (this, name)
 Read a character string from a grid file.
subroutine gridfilereadermodule::read_charstr_into (this, name, charstr)
 Read a character string into a preallocated string.
integer(i4b) function, dimension(:), allocatable gridfilereadermodule::read_grid_shape (this)
 Read the grid shape from a grid file.
logical(lgp) function gridfilereadermodule::has_variable (this, name)
 Check whether the grid file contains a variable.

Variables

integer(i4b), parameter gridfilereadermodule::typ_int = 1
 integer variable type
integer(i4b), parameter gridfilereadermodule::typ_dbl = 2
 double precision variable type
integer(i4b), parameter gridfilereadermodule::typ_chr = 3
 character variable type