binary_output_mod Module



Subroutines

public subroutine writeheader_bin()

This routine produces a file header containing basic information on the * settings of the FLEXPART run. * The header file is essential and must be read in by any postprocessing * program before reading in the output data. * * Author: A. Stohl * * 7 August 2002 * *

Read more…

Arguments

None

public subroutine writeheader_bin_nest()

This routine produces a file header containing basic information on the * settings of the FLEXPART run. * The header file is essential and must be read in by any postprocessing * program before reading in the output data. * * Author: A. Stohl * * 7 August 2002 * *

Read more…

Arguments

None

public subroutine writeheader_bin_sfc_nest()

This routine produces a file header containing basic information on the * settings of the FLEXPART run. * The header file is essential and must be read in by any postprocessing * program before reading in the output data. * * Author: A. Stohl * * 7 August 2002 * *

Read more…

Arguments

None

public subroutine writeheader_bin_sfc()

This routine produces a file header containing basic information on the * settings of the FLEXPART run. * The header file is essential and must be read in by any postprocessing * program before reading in the output data. * * Author: A. Stohl * * 7 August 2002 * *

Read more…

Arguments

None

public subroutine receptorout_init_binary()

This routine opens the receptor output files and writes out the receptor * names, location and times. The receptor output files are not * closed, but kept open throughout the simulation. Concentrations are * continuously dumped to these files. * * Author: A. Stohl * 7 August 2002 * * Modified: R. Thompson * January 2024: for moving receptors * changed format write to: * nspec * and then for each timestep and receptors: * name, lat, lon, alt, time, nn, xk, conc, unc * *

Read more…

Arguments

None

public subroutine satelliteout_init_binary()

This routine opens the satellite output files for subsequent writing * * Author: R. Thompson * January 2024 * *

Read more…

Arguments

None

public subroutine write_receptor_binary(crec, cunc, nnrec, xkrec, lonrec, latrec, altrec, timerec, namerec, nrec)

This routine writes the receptor concentrations for each time step * and receptor to binary output files * * R. Thompson, January 2024 * *

Read more…

Arguments

Type IntentOptional Attributes Name
real, dimension(nspec,maxrecsample,nlayermax) :: crec
real, dimension(nspec,maxrecsample,nlayermax) :: cunc
real, dimension(maxrecsample,nlayermax) :: nnrec
real, dimension(maxrecsample,nlayermax) :: xkrec
real, dimension(maxrecsample) :: lonrec
real, dimension(maxrecsample) :: latrec
real, dimension(maxrecsample,nlayermax) :: altrec
integer, dimension(maxrecsample) :: timerec
character(len=16), dimension(maxrecsample) :: namerec
integer :: nrec

public subroutine write_satellite_binary(crec, cunc, nnrec, xkrec, lonrec, latrec, altrec, timerec, namerec, nrec)

This routine writes the satellite concentrations for each time step * and receptor to binary output files * * R. Thompson, January 2024 * *

Read more…

Arguments

Type IntentOptional Attributes Name
real, dimension(nspec,maxrecsample,nlayermax) :: crec
real, dimension(nspec,maxrecsample,nlayermax) :: cunc
real, dimension(maxrecsample,nlayermax) :: nnrec
real, dimension(maxrecsample,nlayermax) :: xkrec
real, dimension(maxrecsample) :: lonrec
real, dimension(maxrecsample) :: latrec
real, dimension(maxrecsample,nlayermax) :: altrec
integer, dimension(maxrecsample) :: timerec
character(len=24), dimension(maxrecsample) :: namerec
integer :: nrec

public subroutine concoutput(itime, outnum, gridtotalunc, wetgridtotalunc, drygridtotalunc)

Variables: * outnum number of samples * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * tot_mu 1 for forward, initial mass mixing ration for backw. runs * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime
real :: outnum
real(kind=sp) :: gridtotalunc
real(kind=dep_prec) :: wetgridtotalunc
real(kind=dep_prec) :: drygridtotalunc

public subroutine concoutput_nest(itime, outnum)

Variables: * outnum number of samples * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * tot_mu 1 for forward, initial mass mixing ration for backw. runs * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime
real :: outnum

public subroutine concoutput_inversion(itime, outnum, gridtotalunc, wetgridtotalunc, drygridtotalunc)

Variables: * outnum number of samples * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * tot_mu 1 for forward, initial mass mixing ration for backw. runs * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime
real :: outnum
real(kind=sp) :: gridtotalunc
real(kind=dep_prec) :: wetgridtotalunc
real(kind=dep_prec) :: drygridtotalunc

public subroutine concoutput_inversion_nest(itime, outnum)

Variables: * outnum number of samples * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * tot_mu 1 for forward, initial mass mixing ration for backw. runs * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime
real :: outnum

public subroutine initcond_output(itime)

Variables: * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime

public subroutine initcond_output_inv(itime)

Variables: * ncells number of cells with non-zero concentrations * sparse .true. if in sparse matrix format, else .false. * *

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: itime