search for: gridcells

Displaying 13 results from an estimated 13 matches for "gridcells".

Did you mean: gridcell
2005 Aug 29
1
patches for GridCell*Editor and GridCell*Renderer
When I originally added these I used %module .... instead of %module(directors="1"). This little change has a big effect on the code actually working. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jul 23
11
Memory problem with GridCell*Editor
Alex, I was getting the following crashes when editing cells in a grid: ./init.rb:1072:in `main_loop'': undefined method `begin_edit'' for "_p_wxEvent":String (NoMethodError) from ./init.rb:1072 but only after the first App GC mark phase. So I changed all the GridCell*Editor.i files from GC_MANAGE to GC_MANAGE_AS_EVENT. Which stopped the crashing. My question
2013 Jul 20
1
how to calculate the average values of each row in a matrix
Hello, I have a matrix (class matrix) composed of GridCell (row and column). The matrix value is the beta diversity index value between two grids. Now I would like to get the average value of each GridCell. Please kindly advise how to make the calculation. Thank you. Elaine The matrix looks like (cited from Michael Friendly) I would like to get the average value of each color. Obs
2017 Jul 05
4
expand gridded matrix to higher resolution
...on't do as told, and I apologies already.) We need to downscale climate data and therefore first need to expand the climate from 0.5deg to the higher resolution 10min, before we can add high resolution deviations. We basically need to have the original data at each gridcell replicated into 3x3 gridcells. A simple for loop can do this, but I could need a faster procedure. Anybody know a faster way? Is there package than can do what we need already? I tried matrix with rep, but I am missing some magic there, since it doesn't do what we need. replicate might be promising, but then still need to...
2009 Feb 04
2
Sum(..) in apply()
Dear, I have a set of ascii-grids. For each gridcell I want to count all values that lie between 15 and 6. Therefore I combined the ascii-grids in an array and used result<- apply(temp,2,sum((temp <=15)&(temp > 6)), na.rm=TRUE) But, this doesn`t work. It seems that the combination apply with sum(...) is not working, since the pure apply(object,2,sum) does work. May you help me
2017 Jul 05
0
expand gridded matrix to higher resolution
...do as told, and I apologies already.) > > We need to downscale climate data and therefore first need to expand the climate from 0.5deg to the higher resolution 10min, before we can add high resolution deviations. We basically need to have the original data at each gridcell replicated into 3x3 gridcells. > A simple for loop can do this, but I could need a faster procedure. Anybody know a faster way? Is there package than can do what we need already? > I tried matrix with rep, but I am missing some magic there, since it doesn't do what we need. > replicate might be promising, but then...
2012 Feb 03
3
[fields] image.plot abends with NAs in image.plot.info
summary: image.plot-ing two sets of netCDF data, with the second derived from the first. First plots to PDF as expected (title, data, legend). Second plots the data and title, but abends before drawing the legend, with > Error in if (del == 0 && to == 0) return(to) : > missing value where TRUE/FALSE needed > Calls: plot.layers.for.timestep -> image.plot -> seq ->
2017 Jul 05
0
expand gridded matrix to higher resolution
...;and I apologies already.) > >We need to downscale climate data and therefore first need to expand >the climate from 0.5deg to the higher resolution 10min, before we can >add high resolution deviations. We basically need to have the original >data at each gridcell replicated into 3x3 gridcells. >A simple for loop can do this, but I could need a faster procedure. >Anybody know a faster way? Is there package than can do what we need >already? >I tried matrix with rep, but I am missing some magic there, since it >doesn't do what we need. >replicate might be promising...
2011 Jun 22
1
lme convergence failure within a loop
...automatically, so that I can continue my loop and record the places where the model does fit. I've used the lmeControl method with returnObject=TRUE options to allow me to continue looping, however I want to be able to flag the places where the convergence failed so that I can reject these gridcells and not mistakenly claim that the model fits at these points. Is there a way to do this? My example code shows the relevant lines of code-- what I'm hoping for is a way to determine that the convergence failed and record this as a boolean value, or something similar. Thanks, Sam Nicol -...
2010 Aug 12
0
- combining lists
Hi all, I have used this library to create a (360 day)calendar for my rainfall data (which is divided over 9 gridcells): ## CODE## library(udunits) utInit() calendar <- att.get.nc(nc,'time','calendar') T <- var.get.nc(nc,"time") times.list <- utCalendar(T,"days since 1961-01-01",style='array',calendar=calendar) ## END CODE## **** To separate months and years I...
2012 Feb 24
0
[newbie] how to represent very skewed spatial data?
...which may or may not be "for real." At an exploratory stage in the investigation, I don't want to prejudge, I just want to show both 1 where the outliers are. This is not such a problem in the plot shown, but is often a problem in others, where the outliers are just a few pixels/gridcells. I could highlight them by, e.g., * importing the output into an editable format * drawing circles around the outliers * exporting back to distributable format (e.g., PDF) but that would be Real Work; automated solution much preferred! 2 how the rest of the data is distributed. Normally I'...
2010 Jun 26
1
predict newdata question
Hi: I am using a subset of the below dataset to predict PRED_SUIT for the whole dataset but I am having trouble with 'newdata'. The model was created with 153 records and want to predict for 208 records. wolf2 <- structure(list(gridcell = c(367L, 444L, 533L, 587L, 598L, 609L, 620L, 629L, 641L, 651L, 662L, 674L, 684L, 695L, 738L, 748L, 804L, 805L, 872L, 919L, 929L, 938L, 950L, 958L,
2007 Apr 18
3
Matrix or grid conversion of spatial data
Dear Happy R-users & experts, I am in need of advice, While working with spatial data (x & y coordinates of seed locations) I have come accross the problem that I need to convert my point data into a matrix or grid system. I then need to count how often a point falls into a certain position in the matrix or grid. I have searched all day online, asked collegeas but nothing works. Sadly