我有NetCDF数据,这是摘要:
3 dimensions:
X Size:83
standard_name: longitude
pointwidth: 0.0500000007450581
gridtype: 0
units: degree_east
T Size:356
standard_name: time
long_name: Time
pointwidth: 1
expires: 1569888000
calendar: 360
gridtype: 0
units: months since 1960-01-01
Y Size:68
standard_name: latitude
pointwidth: 0.0499999970197678
gridtype: 0
units: degree_north
我尝试使用以下方法转换时间变量:
nctime <- nc.get.time.series(ncin, v = "precipitation",
time.dim.name = "T")
并收到此错误
> nctime <- nc.get.time.series(ncin, v = "precipitation",
+ time.dim.name = "T")
Error in if (f$dim$time$len == 0) { : argument is of length zero
有什么办法可以解决这个问题吗?