gpt4 book ai didi

netcdf - 截断 netCDF

转载 作者:行者123 更新时间:2023-12-04 22:19:41 27 4
gpt4 key购买 nike

我有一个 1850-2005 年月地表气温的 netCDF 文件。如何在 unix 中截断文件,以便新文件的时间维度从 1855 年到 2005 年?反之亦然,截断文件,使其改为 1850-2000?

最佳答案

使用 NCO

ncks -d time,60, in.nc  1855-2005.nc
ncks -d time,,-60 in.nc 1850-2000.nc

documentation

关于netcdf - 截断 netCDF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36252134/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com