xarray

http://xarray.pydata.org/en/stable/

のsee alsoに非常に有用な使い方の解説へのリンク(英語)がある

netcdfデータをxarrayで読み込むと,メタデータを備えたxarray DataArrayというクラスにデータが読み込まれ,xarrayでサポートされている演算(例えば時間平均)では適切にメタデータが保存される.しかしこのことは,メタデータが不整合になる演算はできないことを意味する.たとえば,異なる時間のデータの間の演算はできない.そういった場合には,適切なxarrayでサポートされる関数を使うか,np.array( )でnumpy arrayに変換してから演算を行う.

xarray は複数次元データを扱うためのパッケージで,そのデータ構造はnetcdfを下敷きにしている.pandasを基盤にしているようで,そのためpandasと同様の演算がしばしば使われる.

xarray is a package to maupilate multi-dimensional arrays and its data structure is based on netcdf. It seems that xarray is based on pandas, and thus some operations of xarray are the same as those in pandas.

When netcdf data is read into xarray, the data are stored in the class "xarray DataArray", which has meta-data too. The meta-data are properly conserved for operation supported xarray such as time average. However, this means that operation that cause conflict in metadata (e.g., add data at different time point) is not allowed. In such cases, you need to use proper function supported xarray or convert numpy array using np.array( ).

You can find links of useful tutorial etc in the section of "see also" at

http://xarray.pydata.org/en/stable/