Bandpass filter
Added by praveen rai almost 8 years ago
Hello,
I am trying to filter my data (10-20 days) which is having only daily values for July and August month for the period of 1979-2005. I have used the following command but it gives error,
cdo bandpass,62/20,62/10 rf_1979_ja.nc filter_rf_1979_ja.nc: I have tried it for just one year and it gives following error,
cdo bandpass (Abort): Float parameter >62/20< contains invalid character at position 3!
Then i have tried it for my whole study period and then it gives some new error,
cdo bandpass,62/20,62/10 pv_JA.nc filter_pv_JA.nc
cdo bandpass (Warning): Time increment in step 62 (11month) differs from step 1 (1day)!
cdo bandpass (Warning): Time increment in step 124 (11month) differs from step 1 (1day)!
cdo bandpass (Warning): Time increment in step 186 (11month) differs from step 1 (1day)!
Please help me in solving this.
Thanks
Praveen
Replies (2)
RE: Bandpass filter - Added by Karin Meier-Fleischer almost 8 years ago
Hi Praveen,
62/20 and 62/10 are invalid parameters for bandpass operator because it expects 2 float parameter. You have to divide 62 by 20 and 62 by 10 and pass the results to CDO's bandpass operator:
cdo bandpass,3.1,6.2 rf_1979_ja.nc filter_rf_1979_ja.nc
-Karin
RE: Bandpass filter - Added by SUMAN MAITY about 7 years ago
Dear Praveen and karin Meier-Fleischer
I am not clear why fmin=62/20 and fmin=62/10 in your case. Although data is of having only 62 daily values (July and August) for 1979-2005 but according to user guide, the fmin and fmax should be in per year form. I expect it should be 365/20 and 365/10. Will you comment on that whether I am doing in the right way or misleading?
Please reply at the earliest.
With Regards
Suman