Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 NetCDF 文件中有一个描述高度的一维变量。我想从这列数据创建一个在 X 和 Y 轴上统一的 3D 变量。在 NCO 中是否有一种简单的方法可以做到这一点?
如果 1-D 轴被命名为 x 和 y 和 z,则构造一个包含 z 的 3D 域,该域在 x 和 y 上与ncap2 一致:
ncap2 -s 'z_3D[z,y,x]=z' in.nc out.nc
很酷吧?