Package org.hortonmachine.gears.io.adige
Class VegetationLibraryRecord
- java.lang.Object
-
- org.hortonmachine.gears.io.adige.VegetationLibraryRecord
-
public class VegetationLibraryRecord extends Object
Container for vegetation library data.Note that months start from 1 (jan=1, dec=12).
- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Constructor Summary
Constructors Constructor Description VegetationLibraryRecord(int id, double architecturalResistance, double minStomatalResistanc, double[] laiMonths, double[] albedoMonths, double[] roughMonths, double[] displMonths, double windHeight, double windAtten, double rgl, double radAtten, double trunkRatio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAlbedo(int month)Getter.doublegetArchitecturalResistance()doublegetDisplacement(int month)Getter.intgetId()doublegetLai(int month)Getter.doublegetMinStomatalResistance()doublegetRadAtten()doublegetRgl()doublegetRoughness(int month)Getter.doublegetTrunkRatio()doublegetWindAtten()doublegetWindHeight()StringtoString()
-
-
-
Constructor Detail
-
VegetationLibraryRecord
public VegetationLibraryRecord(int id, double architecturalResistance, double minStomatalResistanc, double[] laiMonths, double[] albedoMonths, double[] roughMonths, double[] displMonths, double windHeight, double windAtten, double rgl, double radAtten, double trunkRatio)
-
-
Method Detail
-
getId
public int getId()
-
getArchitecturalResistance
public double getArchitecturalResistance()
-
getMinStomatalResistance
public double getMinStomatalResistance()
-
getLai
public double getLai(int month)
Getter.- Parameters:
month- the month (jan = 1, dec = 12)- Returns:
- lai for the given month.
-
getAlbedo
public double getAlbedo(int month)
Getter.- Parameters:
month- the month (jan = 1, dec = 12)- Returns:
- albedo for the given month.
-
getRoughness
public double getRoughness(int month)
Getter.- Parameters:
month- the month (jan = 1, dec = 12)- Returns:
- roughness for the given month.
-
getDisplacement
public double getDisplacement(int month)
Getter.- Parameters:
month- the month (jan = 1, dec = 12)- Returns:
- displ for the given month.
-
getWindHeight
public double getWindHeight()
-
getWindAtten
public double getWindAtten()
-
getRgl
public double getRgl()
-
getRadAtten
public double getRadAtten()
-
getTrunkRatio
public double getTrunkRatio()
-
-