Skip to content
Back to formatted view

Raw Message

Message-ID: <CAGBzUO8jhZFVMEBcM6n9-x8KZUZr=MsvD6aVG3-77BXg6vRidg@mail.gmail.com>
Date: 2012-11-27T11:56:26Z
From: Mark Payne
Subject: Writing a rasterBrick into a single NetCDF file

Hi,

I have a rasterStack with several layers. I would like to write this
into a single NetCDF file, where each layer is stored as a variable.
Is there anyway that this can be done? At the moment (raster 2.0-31),
the layers are written as a third dimension, rather than than as
separate variables. I can see situations where people might want to do
both, so maybe an options switch to writeRaster could be a good
solution?

Cheers,
Mark