hello:
I used isotropic_power_spectrum method to calculate the 1D wave number domain energy spectrum of 2D SST data, now I want to calculate the columns and rows of 2D SST data separately, how can I achieve this, attached is the method I used with 2D data.
with ProgressBar():
datas_TTf = xrft.isotropic_power_spectrum(datas_xr,dim=['x','y'],
nfactor=nf,truncate='True',scaling=scl,detrend='linear',
window=wdws,window_correction=wdw_cor)
hello: I used isotropic_power_spectrum method to calculate the 1D wave number domain energy spectrum of 2D SST data, now I want to calculate the columns and rows of 2D SST data separately, how can I achieve this, attached is the method I used with 2D data.
with ProgressBar(): datas_TTf = xrft.isotropic_power_spectrum(datas_xr,dim=['x','y'], nfactor=nf,truncate='True',scaling=scl,detrend='linear', window=wdws,window_correction=wdw_cor)