seanth / Maespa-OSU

A soil-plant-atmosphere model based on MAESTRA and SPA Compiles with: Intel Visual Fortran Compiler (version >10). gfortran A Makefile is provided to compile Maes* on a Mac (thanks to Martin de Kauwe and Alejandro Morales).
GNU General Public License v2.0
1 stars 0 forks source link

Relationship between nlayer and nrootlayer #9

Open seanth opened 8 years ago

seanth commented 8 years ago

If nrootlayer is greater than nlayer, most of the wat*.dat files are populated with zeros. No warning is given that nrootlayer is greater than nlayer, nor is there a mention in the documentation that these values should make sense together.

1.) Edit the documention to make this explicitly clear 2.) Include a routine that compares nrootlayer to nlayer. If it is larger, set nrootlayer equal to nlayer

pseudocode:

if nrootlayer>nlayer: nrootlater=nlayer