The method requires the average annual temperature of each sub-surface layer (T_AVG) - something a bit troublesome to calculate. My current solution is to estimate it by assuming a thermal profile with the form of a trumpet curve (see image) and interpolating between the base and the depth of zero-annual amplitude (ZAA). But it could certainly be improved!
Note: the other methods could be vectorised, removing the existing Python loops to possibly improve computational efficiency.
(Code modifications contained within 'Ligtenberg Densification' branch)
Addition of an alternative method to calculate the dry firn densification of sub-surface layers.
Arthern, 2010 (https://doi.org/10.1029/2009JF001306) Ligtenberg, 2011 (https://doi.org/10.5167/uzh-136702)
The method requires the average annual temperature of each sub-surface layer (T_AVG) - something a bit troublesome to calculate. My current solution is to estimate it by assuming a thermal profile with the form of a trumpet curve (see image) and interpolating between the base and the depth of zero-annual amplitude (ZAA). But it could certainly be improved!
Note: the other methods could be vectorised, removing the existing Python loops to possibly improve computational efficiency.
(Code modifications contained within 'Ligtenberg Densification' branch)