-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frequency preferences cannot be changed #65
Comments
Dear Irem, then it is work with the command line for example for era5: |
Hello all,
@KatharinaBuelow
I am calculating calm days. But need to obtain seasonal results.
I would like to use freq='QS-DEC'. However, index calculator always give annual outputs. I also tried freq="QS," but the output is still annual.
Could you help me solve the issue.
Best regards.
Irem
CODE
proc = xcalc.processing("CMD", preproc_obj=preproc, thresh = 4, sfcWind='sfcWind', freq='QS-DC')
calms= proc.proc
import numpy as np
print(calms)
type(calms)
Print the time stamps
xcalc_dd_time_stamps = calms.coords["time"].values
Convert to numpy.datetime64
np_dates = np.array([np.datetime64(date.isoformat()) for date in xcalc_dd_time_stamps])
np_dates
#OUTPUT OF THE TIME STEPS:
array(['1976-07-02T00:00:00', '1977-07-02T12:00:00',
'1978-07-02T12:00:00', '1979-07-02T12:00:00',
'1980-07-02T00:00:00', '1981-07-02T12:00:00',
'1982-07-02T12:00:00', '1983-07-02T12:00:00',
'1984-07-02T00:00:00', '1985-07-02T12:00:00',
'1986-07-02T12:00:00', '1987-07-02T12:00:00',
'1988-07-02T00:00:00', '1989-07-02T12:00:00',
The text was updated successfully, but these errors were encountered: