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

Variables

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