'opening RnetCTF file on R, code error no dimension "HAS NO DIMVAR"
I am tryng to open specific lists from netCTF file that I have already succeed to open in R.
I want to plots the variables: y = Depth, x= Latitude, fill by the temperature data. The variable LATITUDE has lenght of 42 (integer 1) The variable " DEPTH" has no dimension: # DEPTH Size:3617 (no dimvar) but has length 3617 (integrer 1) The variable TEMP is size : (integer 2) 3617 42
I don't know how to convert the DEPTH variable as readable... Or I could use the variable "PRESSURE" which correspond of size : (integer 2) 3617 42, as depth, as the pressure is the result from the latitude and depth.
I am using the package:
library("raster")
library("ncdf4")
library("RNetCDF") ```
[![enter image description here][1]][1]
[![enter image description here][2]][2]
[1]: https://i.stack.imgur.com/NXEq7.png
[2]: https://i.stack.imgur.com/slq2b.png
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
