Hi

I am getting the following error when trying to read and stack a .nc file.

PJ <- stack("2030-2060-Tmax.nc",varname="TASMAX")


Warning message:In .stackCDF(x, varname = varname, bands = bands) :
  TASMAXhas 4 dimensions, I do am using the last one

PJ


[1] "TASMAXhas 4 dimensions, I do am using the last one


When I am running open.cdf i am getting the following lines.

nc=open.ncdf("1970-2000-Tmax.nc")

> nc[1] "file 1970-2000-Tmax.nc has 5 dimensions:"
[1] "lon   Size: 99"
[1] "lat   Size: 72"
[1] "height   Size: 1"
[1] "time   Size: 369"
[1] "bnds   Size: 2"
[1] "------------------------"
[1] "file 1970-2000-Tmax.nc has 4 variables:"
[1] "float TASMAX[lon,lat,height,time]
Longname:maximum_surface_temperature Missval:1.00000002004088e+20"
[1] "float time_bnds[bnds,time]  Longname:time_bnds
Missval:1.00000002004088e+20"
[1] "float lat_bnds[bnds,lat]  Longname:lat_bnds Missval:1.00000002004088e+20"
[1] "float lon_bnds[bnds,lon]  Longname:lon_bnds Missval:1.00000002004088e+20"


Could any one help me, how to handle this ??

Regards

Sajid


-- 
Sajid Pareeth

IWMI, Colombo

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to