13 #if defined(__WITH_NETCDF__)
29 #if !defined(__WITH_NETCDF__)
35 character(len=*),
intent(in) :: tagname
36 character(len=*),
intent(in) :: input_fname
38 'Cannot load NetCDF array for variable "'//trim(tagname)// &
39 '". NetCDF libraries are not available. Ensure Extended MODFLOW 6 in use.'
47 subroutine nc_read_int1d(int1d, mshape, idt, mf6_input, nc_vars, input_fname, &
49 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(in) :: int1d
50 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
54 character(len=*),
intent(in) :: input_fname
55 integer(I4B),
intent(in) :: iout
56 integer(I4B),
optional,
intent(in) :: kper
57 #if defined(__WITH_NETCDF__)
67 subroutine nc_read_int2d(int2d, mshape, idt, mf6_input, nc_vars, input_fname, &
69 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(in) :: int2d
70 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
74 character(len=*),
intent(in) :: input_fname
75 integer(I4B),
intent(in) :: iout
76 #if defined(__WITH_NETCDF__)
86 subroutine nc_read_int3d(int3d, mshape, idt, mf6_input, nc_vars, input_fname, &
88 integer(I4B),
dimension(:, :, :),
pointer,
contiguous,
intent(in) :: int3d
89 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
93 character(len=*),
intent(in) :: input_fname
94 integer(I4B),
intent(in) :: iout
95 #if defined(__WITH_NETCDF__)
105 subroutine nc_read_dbl1d(dbl1d, mshape, idt, mf6_input, nc_vars, input_fname, &
107 real(DP),
dimension(:),
pointer,
contiguous,
intent(in) :: dbl1d
108 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
112 character(len=*),
intent(in) :: input_fname
113 integer(I4B),
intent(in) :: iout
114 integer(I4B),
optional,
intent(in) :: kper
115 integer(I4B),
optional,
intent(in) :: iaux
116 #if defined(__WITH_NETCDF__)
118 iout, kper=kper, iaux=iaux)
126 subroutine nc_read_dbl2d(dbl2d, mshape, idt, mf6_input, nc_vars, input_fname, &
128 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(in) :: dbl2d
129 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
133 character(len=*),
intent(in) :: input_fname
134 integer(I4B),
intent(in) :: iout
135 #if defined(__WITH_NETCDF__)
145 subroutine nc_read_dbl3d(dbl3d, mshape, idt, mf6_input, nc_vars, input_fname, &
147 real(DP),
dimension(:, :, :),
pointer,
contiguous,
intent(in) :: dbl3d
148 integer(I4B),
dimension(:),
contiguous,
pointer,
intent(in) :: mshape
152 character(len=*),
intent(in) :: input_fname
153 integer(I4B),
intent(in) :: iout
154 #if defined(__WITH_NETCDF__)
This module defines variable data types.
This module contains the NCArrayReaderModule.
This module contains the NCFileVarsModule.
This module contains simulation methods.
subroutine, public store_error(msg, terminate)
Store an error message.
subroutine, public store_error_filename(filename, terminate)
Store the erroring file name.
This module contains simulation variables.
character(len=maxcharlen) errmsg
error message string
Type describing input variables for a package in NetCDF file.