Blog Archives

Extracting reflectance data from SpectraSuite JCAMP files in R

May 6, 2011
By
Extracting reflectance data from SpectraSuite JCAMP files in R

I've been using an OceanOptics USB4000 spectrometer in research on biomass accumulation and climate in South Africa. This post presents a R function that will read in JCAMP files from the SpectraSuite software and output a vector of reflectance values.  SpectraSuite can convert binary output files to JCAMP files if they weren't saved as JCAMP. You...

Read more »

Shrinking R’s PDF output

June 17, 2010
By

R is great for graphics, but I've found that the PDF's R produces when drawing large plots can be extremely large. This is especially common when using spplot() to plot a large raster. I've made a 15 page PDF full of rasters that was hundreds of MB in size.  Obviously I don't need all the detail (every pixel of...

Read more »

Shrinking R’s PDF output

June 17, 2010
By
Shrinking R’s PDF output

R is great for graphics, but I've found that the PDF's R produces when drawing large plots can be extremely large. This is especially common when using spplot() to plot a large raster. I've made a 15 page PDF full of rasters that was hundreds of MB in ...

Read more »

MODIS processing with R, GDAL, and the NCO tools

June 3, 2010
By
MODIS processing with R, GDAL, and the NCO tools

I use MODIS data for analysis of vegetation dynamics around the world.  The native HDF file format provided by NASA is great for archiving the data (it's amazing how much information they include in each file), but unfortunately there aren't many ...

Read more »

MODIS processing with R, GDAL, and the NCO tools

June 3, 2010
By
MODIS processing with R, GDAL, and the NCO tools

I use MODIS data for analysis of vegetation dynamics around the world.  The native HDF file format provided by NASA is great for archiving the data (it's amazing how much information they include in each file), but unfortunately there aren't many tools for directly (and easily) extracting data stored across files like there are for the

Read more »