Update src/seismic_hazard_forecasting.py
This commit is contained in:
parent
6085979207
commit
b822019942
@ -1,4 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from datetime import timedelta, datetime
|
||||
|
||||
def datenum_to_datetime(datenum):
|
||||
# MATLAB epoch starts at year 0, Python's datetime starts at year 1
|
||||
matlab_epoch = datetime(1, 1, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user