Hello all,

I am currently working with environmental data at a global scale for modeling marine species distribution. These environmental data are provided as ASCII files and I convert them into raster for the analyzes, using the raster package.

All of these raster are centered around the Greenwich meridian. However, for visualization purpose, I would like to be able to plot these raster centering them on the Pacific.

This is easily done with GIS software, by defining the central meridian at -180° in the coordinate system. However, I can't find a way to do the same in R. I tried to adjust the coordinate reference system as follows:

SST.ras <- raster(SST.asc,crs = "+proj=merc  +lat_ts=0 +lon_0=-180 +x_0=0 +y_0=0 +ellps=WGS84 +over")

But this has no effect on the way the raster is plotted.

The answer may be straightforward, but I didn't find any solution in other topics. Can someone enlighten me on this?

Thank you,
Sophie

	[[alternative HTML version deleted]]

