WEPS Management Input File Format

The WEPS Management input file has the following:

1. Fixed record length file. This is due to how we currently read the file in FORTRAN.

2. Currently, the record length is 72 printable ASCII characters. The file can be either a Unix file format, a DOS binary format, or a DOS text format. Thus, the number and type of EOL characters shouldn't matter, as long as the file is consistent, ie. each line has exactly the same number of characters. WEPS tries to determine the actual record (line) length by reading in the first few lines of the file with different record lengths.

3. A "<" character is used at the end of each line for two reasons: 1) to assist WEPS in determining the actual file record length, and 2) to assist a user who is manually creating/modifying a WEPS Management input file with a text editor.

4. Only 1 crop/management rotation sequence in a WEPS Management input file.

5. The first character of each record (line) signifies what is on that line. The following characters have special meanings at the start of a line:

# - comment (line is ignored)

V - WEPS Management file version line

* - Flag line (This line marks the "START" or "END" of a management sequence)

D - An operation date (dd/mm/yy format) line

O - An operation line (with optional parameters)

P - A process line (with optional parameters)

E - An effect line (with optional parameters)

+ - a continuation line (if previous line's info could not fit on one line)

# SAMPLE MANAGEMENT FILE 72 chars long records <

#This is line 2 end of line 2<

# for testing purposes testing3<

# <

# Characters that begin a line in this file <

# represent one of the following: <

# <

# '#' <- comment line <

# '*' <- flag line <

# 'D' <- date line <

# 'O' <- operation line <

# 'P' <- process line <

# 'E' <- effect line <

# '+' <- continuation line <

# <

# The version line is here. There must be one and only one space <

# | After the ":" character <

# | <

Version:1.00 <

# <

# <

# +---- number of years in rotation <

# | <

*START 001 <

# <

# +--- date field - where the year refers to the year in the cycle <

# | (dd/mm/yyyy format) <

# | One and only one space after D and the date <

# | <

D 15/09/0001 <

# <

# <

# <

# Operation line <

# +------------------ Operation code <

# | +------------------- Operation Name <

O 01 Disk-Offset <

# <

# <

+ 07.0 30.03 NNE <

# <

# +---- process code <

# | +---- process name <

# | | <

#P 01 Crushing <

#+ 002.8 0.75 <

# <

#P 02 Mixing <

# <

# +---- continuation lines following a process line hold coefficients <

# | that are used in that process <

# | <

# 2.0 .60 <

# <

#D27/06/0002 05 Harvesting <

# <

#O 04 Harvest-Small-Grain <

# +--- harvest height - m <

# | +----- standing stem number - #/m^2 <

# | | <

#+ 0.39 400. <

# +--- standing biomass kg/m^2 <

# | +----- flat biomass on surface kg/m^2 <

# | | <

#+ 0.25 0.30 <

# below ground biomass by layer <

#+ .15 .05 .015 .015 .08 <

# below ground root mass by layer <

#+ .015 .14 .3 .12 .11 <

# 08 Cut <

# 1.5 <

#P 06 Killing <

#709.0 7.09<

# <

#D15/09/0002 03 Plant <

# <

#O 03 Plant <

#P 04 Drill <

# +- crop number <

# | +--- ridge height - mm <

# | | +-- ridge width - mm <

# | | | <

#+ 5 70. 90.0 <

# +-- ridge spacing - mm <

# | +-- ridge orientation from north - degrees in clockwise dir. <

# | | +-- crop population - plants / m^2 <

# | | | <

#+ 100. 0.0 1000 <

# <

#D10/06/0003 05 Harvesting <

# <

#O 04 Harvest-Corn <

#+ 27.09 <

# <

# 08 Cut <

# 2.03462 <

# <

*END 001 <---- end of subregion 1 list of management tasks <

# <

*EOF <-------------- End of management file marker <