现在,我希望使用每个网格点的所有5年数据(即1月1日、1月2日、1月3日等的第90个百分位数),为基准期的每一天找到第90个百分位数。我试着应用分位数函数,但认为我没有正确地使用它。下面是我的代码:import pandas as pdimport matplotlib.pyplot as plt
import xarray如何为每个网格点的每个日历日找到第
我有一个经典的xarray数据集。这些是每月数据(38年的月度数据)。ds.groupby(‘time.month’).mean(dim=‘time’)ds.groupby(‘time.month’).quantiledim=‘time’)AttributeError: 'DatasetGroupBy' object has no attribute 'quantile'
然而,基