Error in Bandpass filter for the annual mean data
Added by S BR over 7 years ago
Hi All,
I am trying to use the 30-100 years bandpass filer for my annual mean time series extends for 1000 years (850-1850).
I get the following error message if I use the CDO command:
$ cdo bandpass,100,30 bcc_yearly.nc bcc_bandpass30-100.nc
$ cdo bandpass (Warning): Time increment in step 733 (12month) differs from step 1 (1year)!
$ cdo bandpass (Abort): Parameter fmin=100: timestep 100001 out of bounds (1-1000)!$
Could you please suggest where I am doing wrong.
Thanks.
SB
Replies (6)
RE: Error in Bandpass filter for the annual mean data - Added by Karin Meier-Fleischer over 7 years ago
Hi SB,
you have to calculate the minimum and maximum frequencies, first.
1000/100 = 10.0 #-- minimum 1000/30 = 33.333 #-- maximum
then use them with the bandpass operator
cdo bandpass,10.0,33.333 <infile> <outfile>
Hope this helps
-Karin
RE: Error in Bandpass filter for the annual mean data - Added by S BR over 7 years ago
Hi Karin,
Thanks for your suggestions but still I get the same error. I don't know where it is getting wrong.
cdo bandpass,10.0,33.333 tas_aave_Asia.nc tas_aave_Asia_bandpass30-100.nc
cdo bandpass (Warning): Time increment in step 733 (12month) differs from step 1 (1year)!
cdo bandpass (Abort): Parameter fmin=10: timestep 10001 out of bounds (1-1000)!
Kind regards
SB
RE: Error in Bandpass filter for the annual mean data - Added by Karin Meier-Fleischer over 7 years ago
Can you upload the data?
RE: Error in Bandpass filter for the annual mean data - Added by S BR over 7 years ago
Hi Karin,
Please find herewith attached the data.
Thanks.
SB
tas_aave_Asia.nc (16.8 KB) tas_aave_Asia.nc |
RE: Error in Bandpass filter for the annual mean data - Added by Karin Meier-Fleischer over 7 years ago
I think the problem is that your data contains yearly values. As you already did you can compute the bandpass with NCL.
-Karin
RE: Error in Bandpass filter for the annual mean data - Added by S BR over 7 years ago
Hi Karin,
Thanks for your reply. Handling files in CDO is much easier. Is it not possible to compute bandpass filter with yearly values.
So, there is no solution to this problem in CDO!!!
Thanks.
SB