[R-sig-Geo] covert raster to SOS in days of the month

John Wasige johnwasige at gmail.com
Tue Jan 17 17:46:56 CET 2017


Dear all,
This is to kindly request for your guidance. I have a raster data (see data
structure below) of start of season (SOS) with pixel valves ranging from 0
- 365.

class       : RasterLayer
dimensions  : 868, 995, 863660  (nrow, ncol, ncell)
resolution  : 0.08321608, 0.08321608  (x, y)
extent      : -25.4, 57.4, -34.8, 37.43156  (xmin, xmax, ymin, ymax)
coord. ref. : NA
data source : D:\NASA_Maryland\Mobile_testdata\SOS1DOY_mean2.tif
names       : SOS1DOY_mean2
values      : 0, 365  (min, max)

​

​I would like to label or change pixel values of the raster to actual data
of the month and get new raster of SOS in days of the month. See the attach
*.csv​ file.

Any suggestions on how I can go a head to covert raster to SOS in days of
the month.

Thanks for your help

Rgds

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20170117/303117a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Label_raster.csv
Type: text/csv
Size: 5384 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20170117/303117a7/attachment.bin>


More information about the R-sig-Geo mailing list