MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
This module contains the ObsUtilityModule module. More...
Functions/Subroutines | |
subroutine, public | write_fmtd_obs (fmtc, obsrv, obsOutputList, value) |
@ brief Write formatted observation More... | |
subroutine, public | write_unfmtd_obs (obsrv, iprec, obsOutputList, value) |
@ brief Write unformatted observation More... | |
This module contains subroutines for writing simulated values stored in objects of ObserveType to output files. The subroutines handle continuous observations, and can write values to either formatted or unformatted files.
subroutine, public obsutilitymodule::write_fmtd_obs | ( | character(len=*), intent(in) | fmtc, |
type(observetype), intent(inout) | obsrv, | ||
type(obsoutputlisttype), intent(inout), pointer | obsOutputList, | ||
real(dp), intent(in) | value | ||
) |
Subroutine to write observation data for the end of a time step to a formatted file. If the simulation time has not been written to for the current time step, totim is written. The simulated value is written in the format specified in the fmtc argument.
[in] | fmtc | observation format |
[in,out] | obsrv | observation type |
[in,out] | obsoutputlist | observation list |
[in] | value | observation |
Definition at line 33 of file ObsUtility.f90.
subroutine, public obsutilitymodule::write_unfmtd_obs | ( | type(observetype), intent(inout) | obsrv, |
integer(i4b), intent(in) | iprec, | ||
type(obsoutputlisttype), intent(inout), pointer | obsOutputList, | ||
real(dp), intent(in) | value | ||
) |
Subroutine to write observation data for the end of a time step to a unformatted file. If the simulation time has not been written for the current time step, totim is written. The simulated value is written using the precision specified in the iprec argument.
iprec = 1: real32 specifies 32-bit real = 4 bytes = single precision. iprec = 2: real64 specifies 64-bit real = 8 bytes = double precision.
[in,out] | obsrv | observation type |
[in] | iprec | observation precision |
[in,out] | obsoutputlist | observation list |
[in] | value | observation |
Definition at line 79 of file ObsUtility.f90.