that's cool, I'm also interested in a similar problem but just with one
brick ending up with a slope raster as the output. It may be possible with
stackApply(). have a look. or maybe robert will chime in
On Fri, Nov 26, 2010 at 1:35 PM, Martin wrote:
>
> this is what I did to perform a regress
into an R package, making an external install unnecessary.
>
> Jacob.
>
>
> --- On *Mon, 15/11/10, Kevin Ummel * wrote:
>
>
> From: Kevin Ummel
> Subject: Re: [R-sig-Geo] Anyone attempted to "animate" multi-layered
> rasters?
> To: "steven mosher"
isn't the place for ImageMagick troubleshooting, but a heads up for Mac
> users trying to implement Jacob's example...
>
> Thanks,
> Kevin
>
> On Nov 15, 2010, at 9:35 PM, steven mosher wrote:
>
> Thanks Jacob,
>
> I was unable to get ImageMagick working ( w
Thanks Jacob,
I was unable to get ImageMagick working ( which saveMovie() relies upon..
as I recall ) so I had to live with the html animation.
On Mon, Nov 15, 2010 at 12:58 PM, Jacob van Etten
wrote:
> A function is not really necessary. It´s actually quite simple.
>
> library(raster)
> libr
Yes, I've done it and blogged about it a while ago.
I used raster a raster brick and then the animate package. For my own
project I made some changes to the animate package functions. ( the
functions currently switch directories under the cover of an API ) I don't
promote my blog on here cause it
Thanks Roger,
That appears to have cleared part of the problem up. And raster is back in
working order.
Now I have to recall how I got ncdf working on the MAC.
Steve
On Fri, Nov 12, 2010 at 2:01 PM, Roger Bivand wrote:
> On Fri, 12 Nov 2010, steven mosher wrote:
>
> well, That d
ck to 2.11
On Fri, Nov 12, 2010 at 2:01 PM, Roger Bivand wrote:
> On Fri, 12 Nov 2010, steven mosher wrote:
>
> well, That didnt work.
>>
>
> Did you check the configure arguments carefully, or is your mailer that has
> catenated:
>
> .../unix/include-with-proj-lib=
well, That didnt work.
I upgraded to R 2.12 and sure enough GDAL is broken. I downloaded the
latest framework
from KngChaos and did a standard install.
I tried the code provided here and Got the following
> install.packages("rgdal",
configure.args='--with-gdal-config=/Library/Frameworks/GDAL.
t; Graduate Student
> #20, Department of Geography
> Michigan State University
> East Lansing, MI 48824
> Quoting steven mosher :
>
> > I would look at using the package 'zoo' your time series data would be a
> > zoo object
> > and then your date data would be coe
I would look at using the package 'zoo' your time series data would be a
zoo object
and then your date data would be coerced as well,
zoo, is very slick.
On Thu, Nov 4, 2010 at 12:18 PM, wrote:
>
>
> Hi all,
>
> I have a matrix as given below...
>
> year month day prec
> 1 198010 1 13
I Can take a look at it for you, if you want to work with gridded climate
data I would suggest raster.
You can visit my blog and I'll do my best to help you.
On Fri, Oct 29, 2010 at 8:30 AM, wrote:
>
>
> Hello all,
>
> I am trying to use "clim.pact" package for my work, but since this is th
Thanks for the heads up I was going to switch to 2.12.
Guess I will wait for resolution to your issue since I use Kyngchaos
2010/10/27 Ralf Schäfer
> Hello,
>
> don`t know if this issue is already fixed given that Roger posted an
> answer.
> However, I just installed from source with the comma
see pointsToRaster()
On Fri, Oct 8, 2010 at 2:12 AM, Arnald Marcer wrote:
> Hi,
>
> Can anybody help me a little on how to transfer values from a data frame
> (coord.x, coord.y, value) to
> a raster file. I have a raster initialized to 0 values and I want to
> substitute zeros for the specifi
What is the format of the data?
if the file is in a standard format, please see the "raster" or "brick"
command
they will allow you to read direct from the file, with no trouble.
plot() just works as plot() is defined as a method for a raster layer and
for a brick if
you happen to have a multi ba
Elizabeth,
Are you using a raster stack or a raster brick?
i've written out 'bricks" successfully. Robert (maintainer) is Out of the
office for a bit
if you havent tried it using a brick, give that a go.
On Mon, Oct 4, 2010 at 8:20 PM, Elizabeth Crisfield wrote:
> I have read a 10 band .nc fi
forgot to copy the list
-- Forwarded message --
From: steven mosher
Date: Thu, Sep 23, 2010 at 1:14 PM
Subject: Re: [R-sig-Geo] using the 'mask' function to set NAs in 'raster'
To: Jason MacKenzie
To get an idea about how mask works, see the following.
the formats supported by "raster" for writing files are listed in the
?writeRaster()
?writeFormats()
raster'Native' raster package format.grdYesasciiESRI Ascii.ascNoSAGASAGA
GIS.sdatNoIDRISIIDRISI.rstNoCDFnetCDF (requires ncdf).ncpendingGTiffGeoTiff
(requires rgdal).tifYesENVIENVI .hdr Labelled.e
I like these suggestions as well
http://www1.maths.lth.se/help/R/RCC/
So for your function, combining the x and y coords into a single structure (
they are always paired so have a structure that reflects that )
dataToShape <- function( inputFileName, outputFileName, points, projection,
height)
I've been struggling with naming conventions as well.
having a style guide is important ( I say that now after having written way
too much
code without one)
Here's a start.. I bet there are other resources
http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html
On Mon, Sep 13, 201
gt;
> For all layers:
>
> b = brick('file.nc')
>
> You may get a warning about the variable that was selected. You can
> avoid that by explicitly setting the variable you want with the
> varname=" " argument, e.g.,
>
> b = brick('file.nc', varname=
I'm looking for some examples of how to read a NetCDF file with raster
directly. The manual is a bit
terse on the matter. The dats in question is a 3D (lon,lat,time) 72*36, 161
"bands"
On the MAC I get a request to load RNetCDF, which is not available in
Binary. I found a few mails
on geting RNetC
What kinda data are you working with? I can probably direct you to some
folks who can help, or you can join some of our discussions.
On Fri, Aug 6, 2010 at 4:23 AM, nuncio m wrote:
> How to start with dealina spatial auto correlation in a gridded climate
> data
> set?
> thanks
> nuncio
>
> --
Assuming I have a matrix of Nrows and Mcols where
Column #1 is filled with a valid cell number for a raster. ALL cell numbers
will not
be present.
Subsequent columns (2-M) contain the data that I want to place in a sequence
of
layers, so that in the end I have a rasterStack of M layers. M can
curious.
I'm really looking forward to working with the package. Thanks ever so much.
Steve
On Wed, May 19, 2010 at 1:16 AM, Roger Bivand wrote:
> On Wed, 19 May 2010, steven mosher wrote:
>
> On Cran it indicates that the package is not available on MAC (OSX 10.5.8)
>&g
6 AM, Roger Bivand wrote:
> On Wed, 19 May 2010, steven mosher wrote:
>
> On Cran it indicates that the package is not available on MAC (OSX 10.5.8)
>> Is that the whole story?
>> Is it a situation that will change or am I missing something. I've left a
>> similar Q o
On Cran it indicates that the package is not available on MAC (OSX 10.5.8)
Is that the whole story?
Is it a situation that will change or am I missing something. I've left a
similar Q on the Mac Sig, but havent got any feedback
[[alternative HTML version deleted]]
___
26 matches
Mail list logo