Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Jim Lemon
Hi rain1290, I have recently been working on a similar project, building a grid of event densities for geographic coordinates. If you are stuck, I may be able to provide some assistance. Jim On Sun, Feb 17, 2019 at 10:49 PM rain1290--- via R-help wrote: > > Hello there, > > I am trying to overla

Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi: > On Feb 16, 2019, at 9:33 AM, rain1290--- via R-help > wrote: > >> ggplot()+geom_point(aes(x=nc_lon,y=nc_lat,color="onedaymax"), > size=0.8)+borders("world", > colour="black")+scale_color_viridis(name="onedaymax")+theme_void()+coord_quickmap() > *Error: Aesthetics must be either length 1 o

Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Bert Gunter
The r-sig-geo list would probably be a better place to post this, as they specialize in this sort of thing. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun,

[R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread rain1290--- via R-help
Hello there, I am trying to overlay a global map with ncdf data of precipitation for a particular location (using specific coordinates). The file is in ncdf format (commonly used to store away climate data), and I am currently attempting to place a global map on plotted precipitation values. Howev