First row: “LINE ASSOCIATION” I think this is just a label for human readers, but MKMOD may refer to it.
Second row is the number of individual canals that are represented (44 canals in the sample data).
Next, there is one block of data for each canal.
The first row gives number of model cells (15 in the first canal in sample data), calibration multiplier (1), associated irrigation entity (IESW001) and canal name (A&B). The canal name is only for reporting purposes but I believe MKMOD expects it to be there.
In each block, there follows one line of data for each of the model cells. The essential entries are row (76), column (43) and canal name (A&B). Following the canal name is a string for human identification (1076043 1) but I believe MKMOD ignores this.
Note that there is no transition between blocks of data. Process control depends on the number of entries matching the specified number of cells in the first line of each block.
There should be no redundancy of cells within each canal’s individual block, but there will be redundancy between blocks because some cells contain more than one canal.
Following all the canal location entries is a block of data for each stress period. Each block is two or three lines long
- Line 1: Stress period number (STRESS PERIOD 1). I don’t know what the extraneous zero is doing at the end of that line but apparently MKMOD ignores it.
- Line 2: Data flag. “0” means “no data,” “-1” means “use last period’s data” and “1” means “new data follow.”
- Line 3: If line two is “1,” then the block contains a line of data. The values are leakage fractions by canal, presented in the same order that the canals are presented in the upper block.For each canal, the total seepage volume is (Entity Diversions + Offsite Pumping) * (Fraction from *.cnl file). MKMOD then apportions this volume of seepage uniformly to the cells identified in the first part of the *.cnl file. Note that fractions are additive; If Entity XYZ has 0.10 seepage for CANAL_XYZ_HIGHLINE and 0.10 for CANAL_XYZ_LOWLINE then total seepage will be 20% of (Diversions for XYZ + Offsite Pumping for XYZ).