Displaying 20 results from an estimated 110 matches similar to: "Rgdal package - get information"
2014 Jul 29
2
Ayuda por favor
Saludos, estoy intentando usar la función reprojectHDF() (
http://r-gis.net/?q=ModisDownload).
####
source('ModisDownload.R')
library(raster)
library(RCurl)
path<-"~/R/MODIS/Data/Test"
input<-list.files(path,"*.hdf",all.files=T,recursive=T,full.names=T)
input
outname<-paste(substr(input[1],40,45),".tif",sep='')
outname
2013 Jan 14
4
How to open grib file in R?
I have this https://echange-fichiers.inra.fr/get?k=6TdTdezNeZwAqJtpwVm
grib file which is a regular lat-lon 0.25x0.25 degrees and contains 4 fields
.
I tried to open it using :
grib <-
readGDAL("C:\\Users\\aalyaari\\Desktop\\Vol_025_H14_2010060700.grib")
but I got this error:
C:\Users\aalyaari\Desktop\Vol_025_H14_2010060700.grib has GDAL driver GRIB
and has 721 rows and
2008 Aug 10
0
possible problem with rgdal
Hello all,
I recently installed rgdal 0.5.24-1 (kyngchaos framework) and I am having
trouble making sense of the row, col information provided.
> a = new("GDALDataset", "dummy.tif")
> GDALinfo("dummy.tif")
rows 420
columns 660
bands 1
ll.x -55.5
ll.y -14.5
res.x 0.008333334
res.y 0.008333334
oblique.x 0
oblique.y
2015 Oct 04
2
Conditional importFrom (roxygen?)
Folks:
I am getting a build failure when I:
#' @importFrom utils shortPathName
which roxygenizes it to the NAMESPACE.
I suspect this is because this particular function is Windows-only, but I'm
a bit confused how I should "properly" importFrom a function like this so
it doesn't cause a build failure, but I don't get a note in my R CMD CHECK
if I DON'T have it:
2017 Jun 22
1
MODISTools Help
1. You should always cc the list unless there is a clear reason not to.
2. You still have failed to follow the posting guide: You say you have
difficulty troubleshooting your code, but you have shown us no code.
You got an error message that seems explicit, but with neither code
nor data, I do not know whether anyone can make sense of it. In any
case, I certainly cannot.
Cheers,
Bert
Bert
2009 Oct 28
1
output of "for"
Hello!
I've got troubles on following thing:
As output I need a string like:
INPUT_FILENAMES = H:\\AKK_temp\\Modis\\MOD13Q1\\austria\\MOD09Q1.A2008073.h18v04.005.2008083134952.hdf|H:\\AKK_temp\\Modis\\MOD13Q1\\austria\\MOD09Q1.A2008073.h19v04.005.2008082182221.hdf
The filenames (dates) are with pathname (wrkdr) and separated with "|". The number of input filenames changes
2017 Jun 23
0
MODISTools Help
##MODISTools example
library(MODISTools)
library(lubridate)
setwd('~/Documents/Modis data')
#####MODISTools with buffalo data
###Read in data rename for easier coding
tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv')
firstobs <- subset(tbdata, capture.ID == 'B1-1108')
firstobs <- firstobs[,c(1,2,2,3,4)]
colnames(firstobs) <- c('id',
2017 Jun 22
2
MODISTools help - with reproducible examples
I am using the R-package MODISTools (different than MODIS) and am having a lot of difficulty troubleshooting my code. I have spent awhile going through MODISTools tutorials, searching for my error code, looking at the source code. However, I have not been able to find any relevant information related to my error message.
The study I am currently working on involves a herd of 200 African buffalo
2008 Nov 05
1
Using RGDAL to "copy" header information...
R-geographers...
I'm trying to solve a problem to implement a line-by-line tiled
processing using RGDAL (read 1 line of an image, process the one line,
write one line of the image to a binary file). Everything except for
the final step I'm able to do using a combination of RGDAL and r-base
commands. Below is the basic structure, the input file "elev" can be
any image file
2006 Mar 28
1
opendap/dods data retrieval
Hello,
I was wondering if there has been any progress in developing a package
for accessing opendap/dods data using R. I see from the list archive
that there was some initial work done on this.
Thanks,
Paul Brewin
Paul E Brewin (PhD)
Center for Research in Biological Systems
University of California San Diego
9500 Gilman Drive MC 0505
La Jolla CA, 92093-0505
USA
Ph: 858-822-0871
Fax:
2017 Jun 23
1
MODISTools Help
On 6/22/2017 7:05 PM, Caroline wrote:
> ##MODISTools example
> library(MODISTools)
> library(lubridate)
> setwd('~/Documents/Modis data')
>
> #####MODISTools with buffalo data
>
> ###Read in data rename for easier coding
> tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv')
Since this dataset is only on your desktop it cannot help us
2017 Jun 23
2
MODISTools help - with reproducible examples
I have and they have not yet replied - however that was only two or three days ago.
I have included a code example.
> On Jun 22, 2017, at 8:25 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>>
>> On Jun 22, 2017, at 4:44 PM, Caroline <gliddeca at science.oregonstate.edu> wrote:
>>
>> I am using the R-package MODISTools (different than
2017 Jun 22
3
MODISTools Help
I am using MODIS Tools and am having a lot of difficulty troubleshooting my code.
I am a PhD student studying African buffalo in Kruger National Park, South Africa. The study I am currently working on involves a herd of 200 African buffalo caught every six months for 4 years. I am trying to use EVI and NDVI to assess seasonal variation thus I would like mean EVI and NDVI for each observation
2017 Jun 23
0
MODISTools help - with reproducible examples
> On Jun 22, 2017, at 4:44 PM, Caroline <gliddeca at science.oregonstate.edu> wrote:
>
> I am using the R-package MODISTools (different than MODIS) and am having a lot of difficulty troubleshooting my code. I have spent awhile going through MODISTools tutorials, searching for my error code, looking at the source code. However, I have not been able to find any relevant information
2008 Jan 11
2
clipping a large image on R
Dear all,
I have a so large image (43,000 x 18,000 pixels) and I need clip this image with a smallest one (1000x1000 pixels). I can read the second image using rgdal package. But the first image can´t be read on my system because if memory limitation (I have about 2GB availabe).
So I would like hear from you if anyone have some suggestin in this regards. I have also ArcGis 8.6 ans Erdas 8.3
2006 Sep 07
1
rgdal on a Mac
I am trying to install the rgdal package on my Mac OS X 3.9. I
downloaded and installed the GDAL libraries from Fink and then tried to
install rgdal and got the following message. I tried to determine if
the GDAL libraries were in my path but I'm not sure how to do that.
Any ideas? Thanks.
trying URL
'http://www.biometrics.mtu.edu/CRAN/src/contrib/rgdal_0.4-10.tar.gz'
2017 Jun 23
0
MODISTools help - with reproducible examples
Please read up [1][2][3] on what constitutes reproducibility. A sample of data that triggers the problem is essential.
[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
[2] http://adv-r.had.co.nz/Reproducibility.html
[3] https://cran.r-project.org/web/packages/reprex/index.html
--
Sent from my phone. Please excuse my brevity.
On June 23, 2017 6:54:48
2010 Aug 05
1
using grib files in R
I am not new to R, but I am new to .grib files. I am downloading some
climate data and I would like to analyze it in R. R has a nice netcdf
package, but I don?t see any package available to deal specifically
with grib files. I see a few posts from other people using grib files
in R. However, I was unclear if they used grib files in a different
software program and then imported the data
2017 Jun 18
2
About error bars on barplots
Hi R users,
I have a question about adding uncertainty bars to stacked bar plots.
DF:
year A B C Amin Amax Bmin Bmax Cmin Cmax
2009 40 45 15 30 61 23 56 14 17
2010 36 41 23 26 54 22 51 22 24
I use the code below:
DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend')
fig1 =
2017 Jun 18
0
[FORGED] About error bars on barplots
On 18/06/17 12:10, lily li wrote:
> Hi R users,
>
> I have a question about adding uncertainty bars to stacked bar plots.
>
> DF:
> year A B C Amin Amax Bmin Bmax Cmin Cmax
> 2009 40 45 15 30 61 23 56 14 17
> 2010 36 41 23 26 54 22 51 22 24
>
> I use the code below:
>
>