I have a netcdf file that I would like to just visualize the soil depth map
[1] "file C:\\Users\\SoilDepth-gswp.nc has 3 dimensions:"
[1] "x Size: 360"
[1] "y Size: 150"
[1] "land Size: 15238"
[1] "------------------------"
[1] "file C:\\SoilDepth-gswp.nc has 3 variables:"
[1] "float nav_lon[x,y] Longname:Longitude Missval:1e+30"
[1] "float nav_lat[x,y] Longname:Latitude Missval:1e+30"
[1] "float SoilDepth[land] Longname:Soil depth Missval:1.00000002004088e+20"
It seems that I have to connect the latitudes with longitudes as well as the land points to get a map of the soil depth.I am really confused .Can anyone help me with this kind of data.
As was said in the summary for your netcdf file, the variable
SoilDepthdepends on dimensionlandonly and not onxandyso I’m not sure where does that leave you when it comes to plotting this dataset.Edit
It turns out there is a key that links
x,yandland:So in order to plot: