hectornieto / pyTSEB

A python Two Source Energy Balance model for estimation of evapotranspiration with remote sensing data
GNU General Public License v3.0
137 stars 62 forks source link

How to determine the S_dn_dir and S_dn_dif? #37

Closed CamsDongw closed 4 years ago

CamsDongw commented 4 years ago

https://github.com/hectornieto/pyTSEB/blob/3899f3d6db55f38bb9952ab8cfe6279a1cd945f5/pyTSEB/net_radiation.py#L616 Hi, author. Thank you for your sharing about the TSEB-PT code. Now we only have sunshine duration data for the sun radiation. Then we can estimate the total shortwave radiation (Rs). In order to obtain the S_dn_dir and S_dn_dif, we want to know whether the following equations are correct: S_dn_dir = Rsfvisdirvis+Rsfnirdirnir; S_dn_dif = Rsfvisdifvis+Rsfnirdifnir; where, fvis, fnir, dirvis, dirnir, difvis, difnir derive from https://github.com/hectornieto/pyTSEB/blob/3899f3d6db55f38bb9952ab8cfe6279a1cd945f5/pyTSEB/net_radiation.py#L65.

hectornieto commented 4 years ago

Check lines https://github.com/hectornieto/pyTSEB/blob/3899f3d6db55f38bb9952ab8cfe6279a1cd945f5/pyTSEB/PyTSEB.py#L545 to https://github.com/hectornieto/pyTSEB/blob/3899f3d6db55f38bb9952ab8cfe6279a1cd945f5/pyTSEB/PyTSEB.py#L547