Skip to content

Commit

Permalink
address @durack1 concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Dec 22, 2017
1 parent 7157b8d commit b64a070
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/python/diurnal/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def populateStringConstructor(template, args):
"--append",
default=False,
action="store_true",
help="append in json file in json exist (e.g. adding a model to file)")
help="append in json file if json exist (e.g. adding a model to file)")
12 changes: 6 additions & 6 deletions src/python/diurnal/fourierFFT.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
Do NOT detrend the time series first, in order to retain the "sawtooth" frequency implied by the input length of the
time series (e.g. the 24-hour period from a composite-diurnal cycle).
On input: x[i, j] = values at each gridpoint (i) for N times (j), e.g. N = 8 for a 3-hr composite-diurnal cycle
t[i, j] = timepoints at each gridpoint (i) for N times (j), e.g. Local Standard Times
On input: x[i, j] = values at each gridpoint (i) for N times (j), e.g. N = 8 for a 3-hr composite-diurnal cycle
t[i, j] = timepoints at each gridpoint (i) for N times (j), e.g. Local Standard Times
On output: c[i] = mean value at each gridpoint (i) in the time series (= constant term in Fourier series)
maxvalue[i, k] = amplitude at each gridpoint (i) for each Fourier harmonic (k)
tmax [i, k] = time of maximum at each gridpoint (i) for each Fourier harmonic (k)
maxvalue[i, k] = amplitude at each gridpoint (i) for each Fourier harmonic (k)
tmax [i, k] = time of maximum at each gridpoint (i) for each Fourier harmonic (k)
Curt Covey, PCMDI/LLNL November 2016
(from ./fourier.py and ./fourierTestFFT.py)
Curt Covey, PCMDI/LLNL November 2016
(from ./fourier.py and ./fourierTestFFT.py)
'''
import numpy
nGridPoints = len(x)
Expand Down

0 comments on commit b64a070

Please sign in to comment.