2016-12-09 2 views
0

일일 최대 및 일일 최소 netcdf 파일에서 평균 평균 일별 온도를 계산하려고하므로 다음 작업을 수행합니다. 그러나 그것은 나에게 결과를주지 않는다. 이걸 좀 도와 주실 래요?nco를 통해 임시/위도/경도 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. 

당신은 그것은 분명히 RAM이 충분하지 않습니다 것을 나타냅니다이

답변

0

에 좀 도와 주 시겠어요. 일부 메모리를 비우고 위의 명령을 실행해야 할 수도 있습니다.

+0

다른 실행중인 프로그램에서 RAM을 유지 한 후 시도했지만 작동하지 않음 –

+0

다른 옵션은 (1) CDO 또는 (2) NCL을 사용할 수 있습니다. CDO는 아무런 문제가 없으며 –

+0

이며 NCL도 사용하기 쉽습니다. NCO를 사용하는 대신 다음 CDO 명령을 사용하십시오. cdo expr, 'sum = (var1 + var2)/2;'ifile ofile –

관련 문제