Description Usage Arguments Value Author(s) Examples
Quick&Dirty Method to project MSG data
1 | projectMSG(x, xRaster, yRaster, res = 0.07)
|
x |
A RasterLayer in MSG projection |
xRaster |
A Raster with the same spatial extent as x containing the Latlon x coordinates as values. Output from the processing routine. |
yRaster |
A Raster with the same spatial extent as x containing the Latlon y coordinates as values. Output from the processing routine. |
res |
resolution in degree of the projected raster |
x projected to Latlon
Hanna Meyer
1 2 3 4 5 6 | #not run
#yRaster=raster(paste(datapath,"/000000000000_00000_ml01danb1_na001_1000_rg01de_003000.rst",sep=""),
#native = T, crs = "+proj=longlat +datum=WGS84")xRaster=raster(paste(datapath,"/000000000000_00000_ml02danb1_na001_1000_rg01de_003000.rst", sep=""),
#native = T, crs = "+proj=longlat +datum=WGS84")
#x=msg_example[[1]]
#projectMSG(x,xRaster, yRaster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.