0
NASA에서 다운로드 한 .nc4 files
의 데이터 세트를 사용하려고합니다.R (ncdf4 패키지)에서 .nc4 파일을 읽는 중 오류가 발생했습니다
형식 NCDF4는 this source으로 확인됩니다. 데이터베이스에서 R을 다운로드 한 다음 간단한 nc_open (ncdf4 패키지)을 사용하여 파일을 테스트했습니다. 불행히도 결과는 "알 수없는 파일 형식"오류입니다. 여기
내 replication file 내 스크립트
download.file (url=http://hydro1.gesdisc.eosdis.nasa.gov/.../url, destfile=destination_folder/file.nc4)
이 시점까지 모든 미세하지만 파일을 테스트 할 때 :
library(ncdf4)
setwd('destination_folder')
data <- nc_open('file.nc4')
Error in R_nc4_open: NetCDF: Unknown file format
Error in nc_open("file.nc4") :
Error in nc_open trying to open file file.nc4
내가 뭔가를 놓치고 있습니까?
감사합니다.
감사 피터 아래 ncdf4 패키지에 구현되어 있지 않습니다. 방금 패키지 개발자에게 이메일을 보냈습니다. 그가 제안 할만한 해결책을 여기에 올릴 것입니다. – Nemesi