20.7.98 Last run for Cattail with lowered perc. rate. All was fine for 
3 years, then suddenly the water table went down quite dramatically. 
Still needs to be figured out why.

28.7.98 Made the fertilizer maps. For the 200 m on Half and Full maps.
Need the COUNTY and CROP maps for the other scales.

3.9.98 Made some significant changes to the unit model. Corrected/improved 
unsat/sat interaction. The amount of water that goes from sat to unsat, when 
the water table drops needs to be at field capacity - it wasn't. Also the 
restocking of sat water from surface water, when previously sat cells become 
unsat, was improved. 

4.9.98 Working on the Hunting Creek. 
Fertillizer map generated - this no longer needed in the Config file:
DIN_FERT M(M,4,FertMap,1.000000,0.000000,0.000000)  OT( 1.000000, 0.000000, 730.000000 ) 
in MML.config: * DIN_FERT  UF( UCode,FertilizerMap,CROP, SOIL, COUNTY ) 

For some reason the SW is too high - get over bounds check.

5.9.98 The problem was in the GW map. It had negative values for the estuary
and Tom's code cannot read that in properly. Will be running the model with 
zero instead of -100, -200 on the GW map.

The porosity of "water" soils isn't 1. Changed that in the DBH_Soils to 0.4
Also fixed LinkMap - had circular connections around cell (38,18) - check
with Tom very weird looking LinkMap.

The water on the SOIL map does not match the water land use and the HYDRO
map. As a result some very strange things happening. Probably I should not 
take the soil map as a basis for deciding on the presence of the water in 
a cell. Therefore get rid of the special parameters for "water" soil type.

10.9.98 Got the model running. WSOut looks good enough but still need to 
do the comparisons. To be done next: - Work on Groundwater Transport
- Calibrate the Nitrogen

27.10.98
No longer need this
* SAT_WATER_HEAD                     M(M,4,GRWT,0.010000,0.000000,0.000000)  OT( 200.000000, 0.000000, 730.000000 ) 
after the map was calculated once
then read it into 
* P1_IC_WT_TABLE                     d(M2,/data/Projects/GLM_MAPS/GLM_VILLA/GRWT,cln.grd) S(1.000e-02,0.000000)

11.11.98 Calibrating for nitrogen.
Current run inf.coef = 0.01 (was 0.007)
Septic load = 0.1 (was 0.01)
Din in rain = 0.0045 (was 0.00045)

25.11.98
Changed the ground water table to saved at day 100
Further decreased the uptake of N by macrophytes
Increased dwelling density 3 times to assume that there are 3 people 
per houshold on the average.

7.1.99
Calibrating Hunting Creek spatially for nitrogen for 1990-1996
I'm getting too much DIN during the first 3 years and too little during the
last 2 years.
Was:
Macrophytes uptake:pm(0.01)
Changed to:
Macrophytes uptake:pm(0.001)
Initial conditions:reduced by 10%
Pretty much the same dynamics

8.1.99
Initial conditions:reduced by another ~10%
and by another 10%
I'm getting closer, but still there is an overall loss of N in the
watershed. Decreased the denitrification coef. by 2 orders of mag. as
well as the plant uptake. 
* P1_PHBIO_NC                        pm(0.0001) 
* P1_DIN_RCDENIT                     pm(0.0001) 
* P1_PHT_NC                          pm(0.000) 
The latter is the phytoplankton uptake. This should be corrected in Stella,
to make sure that plankton appears only in water habitats.

10.1.99
Almost good. Actually got a little too much N especially during 
years 2-4. Later - very well. 
Trying to slow down the underground movement with water by adding the
DIF coefficient = 0.9

11.9.99
The dif. coef at 0.9 causes almost no change in the dynamics.
Should get it back to 1.0.
I'm increasing the uptake rate to take a little more N out. 
* P1_PHBIO_NC                        pm(0.001) 

Decreased the init cond for DinSD and got an even better fit. 
Starting to run scenarios.

13.1.99
Ran the scenarios for Hunting. Build1,2,3
The result is not very nice. The difference between the scenarios 
shows in the 0.3-0.5% for the concentrations in the estuary. It is
even less at the gauging station.

14.1.99
Running the WQ model for the full watershed. As usually fighting with errors.
My hydro code does not work well in the estuary zone if the cells marked as
water are in fact dry. Generating negatives in this case. Got it fixed 
when filled the estuary to the depth level (BATHY map used to initialize
surface water level). But still need to figure out what's wrong and
how to make it fill up properly.

15.1.99
The difference between the current zoning and the build out turned out
to be <1% in terms of nitrogen in the estuary of the Patuxent. Not too good.

20.1.99
Back to Hunting Creek. Running with no macrophytes uptake (was 0.001) 

21-22.1.99
Very interesting findings with the total loading. The atmospheric loading
is the highest and the septics give a negligibly low input.

23.1
Checked out the NADP data once again. Recalculated the loading using their
precipitation values. This decreased the total loading quite significantly.
Looks much better now, but will need to recalibrate the model once again.

24.1
Made copies of wind and humidity data files for the Patuxent station for
95 and 96. In reality they are the same as 1994. Running the model for new
deposition mechanism. 

Substitute this to calculate the FERT map
* P1_DIN_FERT_APP                    M(M,4,FertMap1,1.000000,0.000000,0.000000)  OT( 1.000000, 0.000000, 730.000000 ) c(M2,/hawk/Projects/PLM_MAPS/MAPSHUNT/FERT,cln.grd) S(1.000e-04,0.000e+00)  
In MML file:
* P1_DIN_FERT_APP                    UF( UCode,FertilizerMap,HABITATMAP, SOIL, COUNTY)


25.1
I'm changing the fertilizer application rate in addition to the dwelling units
density. Was 0.8 agri, 0.2 res. For BUILD2 I used 0.6 agri, 0.1 res.
For BUILD3 I take 0.5 agri, 0.08 res.


======================
THINGS TO REMEMBER WHEN SWITCHING MODELS

WATLEV in SWater - defines the water level at the outlet, may be different in different watersheds
ROLOUT and COLOUT in SWater - defiens the output cell in the outlet, where we report the concentrations
MAXDRUN in SWater - depends on the cell resolution

Make sure that the LandUse map has the LABELS described by the landuse types.
The HYDRO map (2) and the StudyArea map should have the mouth of the river marked.
Check scaling of maps - it may be different in different projects.
There should be no 0's in the SLOPE map
Check that the River Map has been updated for new Hydro code

======================

~ FrameLink                          m0(M2,Maps/beshyd) m1(M2,Maps/beselev) m2(M2,Maps/besLinkMap) i(1,2) p(1) lm(1)
lm(1) - 1 to allow diagonal elements linking, 0 - no diagonal linking.
m0 - to read the hydro-river map
m1 - to read the elevation map
m2 - to read the LinkMap if it is available already. In this case the river map is not required.
i(1,2) - how the river map is marked - 1 the river cells, 2 - the outlet of the river.

======================
Categories in the River map
VOID (or 0) - outside of ONMAP
0 - ONMAP 
1 - the river 
2 - the cells of the river mouth
3 - the gaging stations on the river
4 - the drain points in the reservoirs or flat river areas (those that have an OPENWATER category 
in the LandUse Map).
======================

SME import HNMD GLOB.eqns HYD.eqns DIN.eqns DOM.eqns MAC.eqns 

/data/bin/startup_viewserver 

SME -java local run HNM

* P1_IC_UW_MOIST_PR                  d(M2,/data/Projects/PLM_MAPS/MAPSHUNT/USWTe,cln.grd) S(1.000e-04,0.050000)


Changed to dynmic generation of dwelling densitiy
* P1_POP_DENS                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/DWELLU,cln.grd) S(3.000e+00,0.000000)
How the DWELLU map was created:
Recode LU90.my.1km.ag1 Assigning 0 To 1 Through 2 Assigning 1250 To 5
Assigning 25 To 3 Assigning 750 To 4 
This is based on:
LOW DENS        <4.9pers/acre = 1.21E-3 pers/sq.m
MEDIUM DENS     >=4.9pers/ac    <=13.4pers/ac (aver= 9.15) 2.26E-03 pers/sq.m
HIGH DENS       >13.4pers/ac =  3.31E-3 pers/sq.m

* P1_POP_DENS                        UF( UCode,DwellMap,HABITATMAP, ZONMAP, P1_BOCOEF)

To save UNSAT WATER map:
* UW_MOIST_PRP                      M(M,4,USWT,0.000100,0.000000,0.000000) OT(729.000000,0.000000,730.000000)
To save SAT WATER map:
* SATW_HEAD                         M(M,4,GRWT,0.010000,0.000000,0.000000) OT(729.000000,0.000000,730.000000)

========
SCENARIOS
1. BaseRun: 
LU90cr  Total Dwelling Units =  448190.0 when build out.  
LU90cr: Total Dwelling Units =  394375.000000 
LU90a :Total Dwelling Units =  366350.000000 

SewagS
ZONE - for buildout on developed cells.

2. Forest:
LU90.forest Total Dwelling Units =  0.000000

3. Agricultural:
LU90.agri  Total Dwelling Units =  795635.000000 

4. LU97
Total Dwelling Units =  429807.50
Total Dwelling Units =  539550.00 new

5. LUB1:
Total Dwelling Units =  611300.00
--------
Scenarios are defined by:
Atm_deposition factor (1.5 for basic 1990 scenario, taking into account dry deposition)
Sewer Map
Habitat Map - Landuse
Fertilizer application scaling factor (ref. to 1990)

LU1700  Total Dwelling Units =   4200.000000 
* P1_D_DEP_FACTOR                    pm(0.05)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagNo,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1700,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(0.000e+00,0.000000)

LU1850  Total Dwelling Units =  172275.000000
* P1_D_DEP_FACTOR                    pm(0.1)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagNo,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1850,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(0.400e+00,0.000000)

LU1953  Total Dwelling Units =  459150.000000  
* P1_D_DEP_FACTOR                    pm(1.8)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagNo,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1953,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(0.600e+00,0.000000)

LU1972  Total Dwelling Units =  708750.000000     302250.000000                                                                                                                          
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1972,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.300e+00,0.000000)

LU1990      485994.000000                                                                                                
* P1_D_DEP_FACTOR                    pm(1.5)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1990,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.000e+00,0.000000)

LU1997   Total Dwelling Units =  1516650.000000     659532.000000      
* P1_D_DEP_FACTOR                    pm(1.5)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1997,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUBout   Total Dwelling Units =  2539125.000000
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagA,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU_Bout,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS0-BMP
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU1997_cr_rot,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(0.500e+00,0.000000)

LUS1-NB
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LUB1a,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS2-NB
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagA,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LUB2a,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS3-NB
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LUB3a,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS4-NB
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagA,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LUB4a,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS5-agro to residential
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97.S5.no_agro,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS6-agro to forest
* P1_D_DEP_FACTOR                    pm(1.6) 1.4
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97.S6_ag_to_f,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS6a-resid to forest   Total Dwelling Units =  481650.000000    
* P1_D_DEP_FACTOR                    pm(1.6) 1.1
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97.S6_res_to_f,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS7-forest to residential
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97.S7_for_to_res,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS8-cluster
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97_cluster,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)

LUS9-sprawl  Total Dwelling Units =  1099050.000000 
* P1_D_DEP_FACTOR                    pm(1.6)
* P1_SEWERMAP                        c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/SewagS,cln.grd) S(1.000e+00,0.000000)
* HABITATMAP                         c(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/LU97_sprawl,cln.grd) S(1.000e+00,0.000000) Ar( HABITAT, FOREST, OPEN_WATER, CONVERTED, LOW_DENS_RES, MED_DENS_RES, AGRICULTURE, CONVERTED, CORN, FALLOW, WINTERWHEAT, SOYBEANS ) 
* P1_DIN_FERT_APP                    d(M2,/data/Projects/PLM_MAPS/MAPS.1.Full/FertMap,cln.grd) S(1.00e+00,0.000000)


To calculate new land use map
* HABITATMAP                         UF( UCode,MakeLuMap)

For Crop Rotation 
* HABITATMAP                         UF( UCode,CropRot,DAYJUL)


 SME -d run HNM   -- run in debug mode


In SME when opened a variable: b a   - add a breakpoint on this variable. Will stop on all 
associated SME processes.



* P1_POP_DENS                        UF( UCode,DwellMap2,HABITATMAP, P1_BOCOEF)
--- to calculate dwelling units

* ROADS                              UF( UCode,Road_Dist,HYDRO, LENGTH)
--- to fill in the roads map
* ROADS                             M(M,4,RoadMap,1.000000,0.000000,0.000000) d(M2,/data/Projects/PLM_MAPS/MAPSHUNT/Roads,cln.grd) S(1.000e+00,0.000000)M(M,4,RoadMap,1.000000,0.000000,0.000000) OT(1.000000,0.000000,0.000000)


