How to visualize a map from a netcdf file?

前端 未结 4 1873
醉酒成梦
醉酒成梦 2021-01-03 04:18

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           


        
4条回答
  •  我在风中等你
    2021-01-03 04:40

    Do you want to visualize it with R ?

    If it is not a problem to visualize with another software, you can use ncBrowse, available here, or Panoply, a more complex one, provided by NASA, which you can donwload here.

    If you want to work with R, you can use ncdf package. You will be able to extract your data thanks to the get.var.ncdffunction. You can plot it thanks to the sp package and spplotfunction or use the rglpackage (or else scatterplot).

提交回复
热议问题