You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This part of sel_season does not remove correctly the first months in many cases (eg for the NDJFM season):
if (12 in m) or (1 in m):
#REMOVING THE FIRST MONTHS (for the first year) because there is no previuos december
start=int(np.where(dates_season==datetime(dates_pdh.year[0], m[0], dates_pdh.day[0], dates_pdh.hour[0], dates_pdh.minute[0]))[0])
#REMOVING THE LAST MONTHS (for the last year) because there is no following january
end=int(np.where(dates_season==datetime(dates_pdh.year[-1], m[0], dates_pdh.day[0], dates_pdh.hour[0], dates_pdh.minute[0]))[0])
var_season=var_season[start:end,:,:]
dates_season=dates_season[start:end]
Activity