我正在尝试从每日最高和每日最低netcdf文件中计算平均每日温度,因此执行了以下任务。但它没有给我带来结果。你能在这方面帮我一下吗?
C:\nco>ncks -A G:\CORDEX\ACCESS1-0\RCP45\tasmin.nc G:\CORDEX\ACCESS1-0\RCP45\tasmax.nc已复制%1个文件。已移动%1个文件。
C:\nco>ncap2 -s "tasavg=(tasmin+tasmax)/2" G:\CORDEX\ACCESS1-0\RCP45\tasmax.nc G:\CORDEX\ACCESS1-0\RCP45\tasavg.nc
ncap2: ERROR malloc() returns error on Unable to malloc() value buffer when retrieving variable from disk request for 985675200 B = 962573 k
B = 940 MB = 0 GB
ncap2: malloc() error is "Not enough space"
ncap2: User-supplied supplemental error message is "nco_var_get()"
ncap2: INFO NCO has reported a malloc() failure. malloc() failures usually indicate that your machine does not have enough free memory (RAM+swap) to perform the requested operation. 你能在这方面帮我吗?
发布于 2016-12-12 03:16:57
它清楚地表明RAM是不够的。您可能需要释放一些内存并尝试运行上面的命令。
https://stackoverflow.com/questions/41064720
复制相似问题