Skip to content

Group txtio_group

Modules > txtio_group

Routines for reading and writing text format data files. More...

Public Attributes

Type Name
integer i0
integer loc
I/O status and location counter.

Public Functions

Type Name
subroutine canopy_txt_io_mod::write_txt (TXTPREFX TXTPREFX, TIMENOW TIMENOW)
Write canopy model output to text file.

Detailed Description

This group contains subroutines for reading meteorological and canopy variable text files and writing model output to text format.

Public Attributes Documentation

variable i0

integer i0;

variable loc

I/O status and location counter.

integer loc;


Public Functions Documentation

function write_txt

Write canopy model output to text file.

subroutine canopy_txt_io_mod::write_txt (
    TXTPREFX TXTPREFX,
    TIMENOW TIMENOW
) 

Writes comprehensive canopy model output variables to a text file with proper formatting and headers. Includes meteorological, canopy, and calculated variables for the specified time.

Parameters:

  • TXTPREFX Prefix for output text filename
  • TIMENOW Current simulation time string

Author:

P.C. Campbell

Date:

October 2022