EMPIRE DA  v1.9.1
Data assimilation codes using EMPIRE communication
 All Classes Files Functions Variables Pages
data_io.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine default_get_observation_data (y, t)
 Subroutine to read observation from a file
Uses pftimestep to determine which observation to read. More...
 
subroutine save_observation_data (y)
 Subroutine to save observation to a file
Uses pftimestep to determine which observation to save. More...
 
subroutine get_truth (x)
 Subroutine to read truth from the file written by save_truth
. More...
 
subroutine save_truth (x)
 Subroutine to save truth to a file
. More...
 
subroutine output_from_pf
 subroutine to output data from the filter More...
 
subroutine save_state (state, filename)
 subroutine to save the state vector to a named file as an unformatted fortran file More...
 
subroutine get_state (state, filename)
 subroutine to read the state vector from a named file as an unformatted fortran file More...
 

Function/Subroutine Documentation

subroutine default_get_observation_data ( real(kind=rk), dimension(obs_dim), intent(out)  y,
integer, intent(in)  t 
)

Subroutine to read observation from a file
Uses pftimestep to determine which observation to read.

Parameters
[out]yThe observation
[in]tthe current timestep

Definition at line 33 of file data_io.f90.

Here is the caller graph for this function:

subroutine get_state ( real(kind=rk), dimension(state_dim), intent(out)  state,
character(256), intent(in)  filename 
)

subroutine to read the state vector from a named file as an unformatted fortran file

Parameters
[out]statethe state vector
[in]filenamethe name of the file to write the state vector in

Definition at line 258 of file data_io.f90.

Here is the caller graph for this function:

subroutine get_truth ( real(kind=rk), dimension(state_dim), intent(out)  x)

Subroutine to read truth from the file written by save_truth
.

Parameters
[out]xThe state vector

Definition at line 87 of file data_io.f90.

Here is the caller graph for this function:

subroutine output_from_pf ( )

subroutine to output data from the filter

Definition at line 147 of file data_io.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine save_observation_data ( real(kind=rk), dimension(obs_dim), intent(in)  y)

Subroutine to save observation to a file
Uses pftimestep to determine which observation to save.

Parameters
[in]yThe observation

Definition at line 61 of file data_io.f90.

Here is the caller graph for this function:

subroutine save_state ( real(kind=rk), dimension(state_dim), intent(in)  state,
character(256), intent(in)  filename 
)

subroutine to save the state vector to a named file as an unformatted fortran file

Parameters
[in]statethe state vector
[in]filenamethe name of the file to save the state vector in

Definition at line 231 of file data_io.f90.

Here is the caller graph for this function:

subroutine save_truth ( real(kind=rk), dimension(state_dim), intent(in)  x)

Subroutine to save truth to a file
.

Parameters
[in]xThe state vector

Definition at line 117 of file data_io.f90.

Here is the caller graph for this function: