Skip to content

Commit

Permalink
fix: adding missing delta time argument to OPT
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutterley committed Apr 26, 2021
1 parent ae854e2 commit d68a78d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/compute_OPT_displacements.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
UPDATE HISTORY:
Updated 04/2021: fix arguments to program (using internal EOP files)
Thanks to Karen Alley for pointing this out!
Add missing delta time argument for files without time variables
Thanks to Karen Alley for pointing these out!
Updated 03/2021: use cartesian coordinate conversion routine in spatial
Updated 02/2021: replaced numpy bool to prevent deprecation warning
Updated 12/2020: merged time conversion routines into module
Expand Down Expand Up @@ -322,6 +323,10 @@ def main():
parser.add_argument('--epoch','-e',
type=str, default='days since 1858-11-17T00:00:00',
help='Reference epoch of input time')
#-- input delta time for files without date information
parser.add_argument('--deltatime','-d',
type=float, nargs='+',
help='Input delta time for files without date variables')
#-- spatial projection (EPSG code or PROJ4 string)
parser.add_argument('--projection','-P',
type=str, default='4326',
Expand Down

0 comments on commit d68a78d

Please sign in to comment.