You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exponential is not read correctly by MT3D-USGS,
so the specified loading is taken as
1.21784 and the source type is wrong to the output file.
MT3D-USGS is not throwing an error. Note that flopy throws and
error when trying to read this file back in because it
is getting '6 1' where it expects an integer.
If the specification for ftm_string property is updated in flopy util_list.py
elif vtype == "f":
if use_free:
fmts.append("%15s")
else:
fmts.append("%10G")
is updated to
elif vtype == "f":
if use_free:
fmts.append("%15s")
else:
fmts.append("%10.4G")
I didn't submit it as a pull request in case this change might
cause problems for other cases. I've only tested this
on Windows but can check if the same happens for linux
if that is helpful.
The text was updated successfully, but these errors were encountered:
I ran into an error in formatted write for a MT3D-USGS SSM file.
Flopy is using util_list.py, write_transient() function to
generate the package.
For large values, the writing using %10G format does not stay in
10 characters:
The exponential is not read correctly by MT3D-USGS,
so the specified loading is taken as
1.21784 and the source type is wrong to the output file.
MT3D-USGS is not throwing an error. Note that flopy throws and
error when trying to read this file back in because it
is getting '6 1' where it expects an integer.
If the specification for ftm_string property is updated in flopy util_list.py
elif vtype == "f":
if use_free:
fmts.append("%15s")
else:
fmts.append("%10G")
is updated to
elif vtype == "f":
if use_free:
fmts.append("%15s")
else:
fmts.append("%10.4G")
then the input file looks OK.
I didn't submit it as a pull request in case this change might
cause problems for other cases. I've only tested this
on Windows but can check if the same happens for linux
if that is helpful.
The text was updated successfully, but these errors were encountered: