get_dims: Get the dimensions of a MODFLOW Model without reading the...

Description Usage Arguments Examples

Description

This function is used for extracting the number of rows, columns, layers, stress periods of a model without reading the entire discritization file It can be used as a utility function for the other MFtools functions

Usage

1
get_dims(rootname)

Arguments

rootname

This is the root name of the dis file

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
get_dims(rootname)
# A tibble: 1 x 4
   NLAY  NROW  NCOL  NPER
  <int> <int> <int> <int>
1    34   328   291     1

D <- get_dims(rootname)
D$NLAY
[1] 34
D$NCOL
[1] 291
D$NLAY * D$NCOL
[1] 9894

dpphat/MFtools documentation built on May 15, 2019, 1:47 p.m.