net.simplace.sim.transformers.NetRadiationFromAnyTransformer
Calculates net radiation from either global radiation or, if no global radiation available, from sun hours using (FAO 56) methods.
Extra-terrestrial as well as solar radiation (in case of sun hours input) are also calculated.
Chosen method depends on input availability, preferential order as below.
- From solar radiation.
- From sun hours.
Note: If data is missing in weather inputs, calculation method may change without throwing
an error. This may be desired when dealing with an incomplete dataset, but undesired when
missing data unintendedly changes the calculation method. An INFO message is written to
log when the method changes.
For documentation of the formulas please check the original reference (FAO 56)
References
(FAO 56): Allen, Crop evapotranspiration - Guidelines for computing crop water requirements - FAO Irrigation and drainage paper 56, 1998
public class NetRadiationFromAnyTransformer extends
net.simplace.sim.io.resources.FWSimResourceTransformer {
// Public Constructors
public NetRadiationFromAnyTransformer(FWSimSession aSession, Element
aResourceElement, Integer aOrderNumber);
public NetRadiationFromAnyTransformer(FWSimSession aSession, Integer
aOrderNumber);
// Public Instance Methods public HashMap createVariables(); // Defines
net.simplace.sim.io.FWSimIOAdapter
public FWSimResourceCache getData(FWSimVarMap aVarMap)
throws MissingSimResourceException; // Defines
net.simplace.sim.io.resources.FWSimInputAdapter
standard method from outside
public FWSimResourceCache
getData(FWSimVarMap aVarMap, FWSimResourceCache
aResourceCache) throws MissingSimResourceException;
used by test cases
- aVarMap variable map
- aResourceCache Cached resources (soil data)
returns delivered new data from transformer
public void updateFields(FWObservable aObservable);
// Defines net.simplace.sim.io.resources.FWSimResourceTransformer
}
Hierarchy: java.lang.Object - net.simplace.sim.io.FWSimIOAdapter (net.simplace.sim.util.FWSimFieldContainer) - net.simplace.sim.io.resources.FWSimInputAdapter - net.simplace.sim.io.resources.FWSimResourceTransformer - NetRadiationFromAnyTransformer