Skip to content

Commit 5ac7568

Browse files
committed
Make sec_per_month more accurate
1 parent c04e59e commit 5ac7568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mpas_analysis/shared/constants/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
sec_per_year = sec_per_day * 365.
5454

5555
# seconds per month (approximate)
56-
sec_per_month = sec_per_day * 30.
56+
sec_per_month = sec_per_day * 365. / 12.
5757

5858
# Tapering coefficient for calculating spectral degrees of freedom
5959
tapcoef = 1.055111111111111

0 commit comments

Comments
 (0)