Skip to content

Commit 2ae1cc5

Browse files
committed
Add DJFM period for means.
1 parent 9d87ce8 commit 2ae1cc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

climaf/functions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ def clim_average(dat, season):
308308
if str(season).upper() == 'DJF':
309309
selmonths = '1,2,12'
310310
clogger.warning('DJF is actually processed as JF....D. Maybe an issue for short periods !')
311+
if str(season).upper() == "DJFM":
312+
selmonths = '1,2,3,12'
311313
if str(season).upper() == 'MAM':
312314
selmonths = '3,4,5'
313315
if str(season).upper() == 'JJA':
@@ -408,6 +410,8 @@ def clim_average_fast(dat, season):
408410
if str(season).upper() == 'DJF':
409411
selmonths = '1,2,12'
410412
clogger.warning('DJF is actually processed as JF....D. Maybe an issue for short periods !')
413+
if str(season).upper() == 'DJFM':
414+
selmonths = '1,2,3,12'
411415
if str(season).upper() == 'MAM':
412416
selmonths = '3,4,5'
413417
if str(season).upper() == 'JJA':

0 commit comments

Comments
 (0)