Skip to content
Prev 22108 / 29559 Next

How do I read and plot .nc data in R?

Hi Micheal,

I have tried do your scripts,
/y <- raster(fname, xmn=-20, xmx=25, ymn=90, ymx=144)//
//projection(y) <- CRS("+proj=longlat +datum=WGS84")/
the result is good, but not georeference image (i mean the data is not 
right position), you can see my plot here 
https://onedrive.live.com/redir?resid=6FFDD661570C7D0A%21163

Meanwhile  when I read .nc directly and plot the data is look like 
https://onedrive.live.com/redir?resid=6FFDD661570C7D0A%21164 
<https://onedrive.live.com/redir?resid=6FFDD661570C7D0A%21163>
not georeferenced image  but in the right position)

The .nc data available in this link 
https://onedrive.live.com/redir?resid=6FFDD661570C7D0A%21165
On 19/12/2014 17:04, Michael Sumner wrote: