Created
January 21, 2022 22:26
-
-
Save spestana/4fced6c34c4ae821c67ccfdae8283bf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def diurnal_anisotropic_heat(aspect, slope, a_max): | |
''' | |
Make a Diurnal Anisotropic Heating (DAH) index (Böhner & Antonic, 2009) | |
a_max = 202.5 (SSW) from Cristea et al., 2017 in Tuolumne area | |
''' | |
DAH = np.cos(np.radians(a_max - aspect)) * np.arctan(np.radians(slope)) | |
return DAH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment