kthorp / pyfao56

A Python implementation of the FAO-56 dual crop coefficient approach for crop water use estimation and irrigation scheduling
Other
44 stars 24 forks source link

SWS #43

Closed qianweihao closed 7 months ago

qianweihao commented 8 months ago

Hello, I have a problem, if I provide Zrmax, but due to the influence of the measuring instrument, the sws data I measured does not reach Zrmax, this will cause the IndexError problem, is there a way to solve this problem

kthorp commented 8 months ago

Are you not measuring the soil water content of the full root zone? Can you make an assumption that the bottom layer of the measured sws data extends to Zrmax? Alternatively, could you reduce the depth of Zrmax?

qianweihao commented 8 months ago

Thank you. If my measured value does not reach Zrmax, I can assume that Zrmax is the deepest value I measured. Is that what it means?

kthorp commented 8 months ago

Yes, or alternatively, you can specify the depth of the deepest measurement layer as Zrmax. Then it would assume that the deepest measurement layer extends downward to the depth of Zrmax.

qianweihao commented 8 months ago

I see. Thanks for the answer.