MODFLOW 6  version 6.9.0.dev0
USGS Modular Hydrologic Model
gridfilereadermodule::gridfilereadertype Type Reference
Collaboration diagram for gridfilereadermodule::gridfilereadertype:
Collaboration graph

Public Member Functions

procedure, public initialize
 
procedure, public finalize
 
procedure, public has_variable
 
procedure, public read_int
 
procedure, public read_dbl
 
procedure, public read_grid_shape
 
procedure, public read_int_1d
 
procedure, public read_dbl_1d
 
procedure, public read_charstr
 
procedure, public read_int_1d_into
 
procedure, public read_dbl_1d_into
 
procedure, public read_charstr_into
 

Public Attributes

integer(i4b), public inunit
 file unit More...
 
character(len=10), public grid_type
 DIS, DISV, DISU, etc. More...
 
integer(i4b), public version
 binary grid file format version More...
 
integer(i4b) ntxt
 number of variables More...
 
integer(i4b) lentxt
 header line length per variable More...
 
type(hashtabletype), pointer idx
 map variable name to variable index More...
 
character(len=10), dimension(:), allocatable, public names
 variable names More...
 
integer(i4b), dimension(:), allocatable ndims
 variable number of dims More...
 
integer(i4b), dimension(:), allocatable typs
 variable type (TYP_INT, TYP_DBL, TYP_CHR) More...
 
integer(i4b), dimension(:), allocatable shp_start
 variable shape start in shp More...
 
integer(i8b), dimension(:), allocatable pos
 variable position in file More...
 
integer(i4b), dimension(:), allocatable shp
 flat array of variable shapes More...
 

Private Member Functions

procedure, private read_header
 
procedure, private read_header_meta
 
procedure, private read_header_body
 
procedure, private lookup
 

Detailed Description

Definition at line 19 of file GridFileReader.f90.

Member Function/Subroutine Documentation

◆ finalize()

procedure, public gridfilereadermodule::gridfilereadertype::finalize

Definition at line 37 of file GridFileReader.f90.

◆ has_variable()

procedure, public gridfilereadermodule::gridfilereadertype::has_variable

Definition at line 38 of file GridFileReader.f90.

◆ initialize()

procedure, public gridfilereadermodule::gridfilereadertype::initialize

Definition at line 36 of file GridFileReader.f90.

◆ lookup()

procedure, private gridfilereadermodule::gridfilereadertype::lookup
private

Definition at line 43 of file GridFileReader.f90.

◆ read_charstr()

procedure, public gridfilereadermodule::gridfilereadertype::read_charstr

Definition at line 51 of file GridFileReader.f90.

◆ read_charstr_into()

procedure, public gridfilereadermodule::gridfilereadertype::read_charstr_into

Definition at line 55 of file GridFileReader.f90.

◆ read_dbl()

procedure, public gridfilereadermodule::gridfilereadertype::read_dbl

Definition at line 46 of file GridFileReader.f90.

◆ read_dbl_1d()

procedure, public gridfilereadermodule::gridfilereadertype::read_dbl_1d

Definition at line 50 of file GridFileReader.f90.

◆ read_dbl_1d_into()

procedure, public gridfilereadermodule::gridfilereadertype::read_dbl_1d_into

Definition at line 54 of file GridFileReader.f90.

◆ read_grid_shape()

procedure, public gridfilereadermodule::gridfilereadertype::read_grid_shape

Definition at line 47 of file GridFileReader.f90.

◆ read_header()

procedure, private gridfilereadermodule::gridfilereadertype::read_header
private

Definition at line 40 of file GridFileReader.f90.

◆ read_header_body()

procedure, private gridfilereadermodule::gridfilereadertype::read_header_body
private

Definition at line 42 of file GridFileReader.f90.

◆ read_header_meta()

procedure, private gridfilereadermodule::gridfilereadertype::read_header_meta
private

Definition at line 41 of file GridFileReader.f90.

◆ read_int()

procedure, public gridfilereadermodule::gridfilereadertype::read_int

Definition at line 45 of file GridFileReader.f90.

◆ read_int_1d()

procedure, public gridfilereadermodule::gridfilereadertype::read_int_1d

Definition at line 49 of file GridFileReader.f90.

◆ read_int_1d_into()

procedure, public gridfilereadermodule::gridfilereadertype::read_int_1d_into

Definition at line 53 of file GridFileReader.f90.

Member Data Documentation

◆ grid_type

character(len=10), public gridfilereadermodule::gridfilereadertype::grid_type

Definition at line 23 of file GridFileReader.f90.

23  character(len=10), public :: grid_type !< DIS, DISV, DISU, etc

◆ idx

type(hashtabletype), pointer gridfilereadermodule::gridfilereadertype::idx

Definition at line 28 of file GridFileReader.f90.

28  type(HashTableType), pointer :: idx !< map variable name to variable index

◆ inunit

integer(i4b), public gridfilereadermodule::gridfilereadertype::inunit

Definition at line 21 of file GridFileReader.f90.

21  integer(I4B), public :: inunit !< file unit

◆ lentxt

integer(i4b) gridfilereadermodule::gridfilereadertype::lentxt

Definition at line 26 of file GridFileReader.f90.

26  integer(I4B) :: lentxt !< header line length per variable

◆ names

character(len=10), dimension(:), allocatable, public gridfilereadermodule::gridfilereadertype::names

Definition at line 29 of file GridFileReader.f90.

29  character(len=10), allocatable, public :: names(:) !< variable names

◆ ndims

integer(i4b), dimension(:), allocatable gridfilereadermodule::gridfilereadertype::ndims

Definition at line 30 of file GridFileReader.f90.

30  integer(I4B), allocatable :: ndims(:) !< variable number of dims

◆ ntxt

integer(i4b) gridfilereadermodule::gridfilereadertype::ntxt

Definition at line 25 of file GridFileReader.f90.

25  integer(I4B) :: ntxt !< number of variables

◆ pos

integer(i8b), dimension(:), allocatable gridfilereadermodule::gridfilereadertype::pos

Definition at line 33 of file GridFileReader.f90.

33  integer(I8B), allocatable :: pos(:) !< variable position in file

◆ shp

integer(i4b), dimension(:), allocatable gridfilereadermodule::gridfilereadertype::shp

Definition at line 34 of file GridFileReader.f90.

34  integer(I4B), allocatable :: shp(:) !< flat array of variable shapes

◆ shp_start

integer(i4b), dimension(:), allocatable gridfilereadermodule::gridfilereadertype::shp_start

Definition at line 32 of file GridFileReader.f90.

32  integer(I4B), allocatable :: shp_start(:) !< variable shape start in shp

◆ typs

integer(i4b), dimension(:), allocatable gridfilereadermodule::gridfilereadertype::typs

Definition at line 31 of file GridFileReader.f90.

31  integer(I4B), allocatable :: typs(:) !< variable type (TYP_INT, TYP_DBL, TYP_CHR)

◆ version

integer(i4b), public gridfilereadermodule::gridfilereadertype::version

Definition at line 24 of file GridFileReader.f90.

24  integer(I4B), public :: version !< binary grid file format version

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