similar to: spatial subset of ncdf

Displaying 20 results from an estimated 100 matches similar to: "spatial subset of ncdf"

2011 Jul 29
5
HIRHAM netcdf files
Can someone help me out with a "small" problem? I've started using netcdf files recently, and I want to extract the grid id and also the coordinates from a HIRHAM netcdf file. I know how to extract a slice of dataset both in space and in time and I also know the area that this file should cover, however I have no idea regarding the reference for both LAT/LON and RLAT/RLON. I tried
2024 Sep 24
2
Problem with converting grib file to excel
Dear R users; I have downloaded a grib file format (Met.grib) and I want to export its data to excel file. Also I want to do some mathematic on some columns. But I got error. I would be more than happy if anyone can help me to do this. I have provided the codes and the Met.grib file in this email. Sincerely yours # Load the necessary libraries > library(raster) # For reading GRIB files
2024 Sep 24
1
Problem with converting grib file to excel
You might try posting on r-sig-geo if you don't get a satisfactory response here. I assume there's a lot of expertise there on handling raster-type data. Cheers, Bert On Mon, Sep 23, 2024 at 11:31?PM javad bayat <j.bayat194 at gmail.com> wrote: > > Dear R users; > I have downloaded a grib file format (Met.grib) and I want to export its > data to excel file. Also I want
2024 Sep 25
1
Problem with converting grib file to excel
Noticeable lack of silence in the group on this one. I've not got time to test currently. But my experience of geo location files - they often had more than 2 dimensional data. In other words you might have a boundary of a region as an object with long and lat for maybe 100 data points making up the region. So 200 pieces of data. All held as a list or something similar in a single
2024 Sep 25
1
Problem with converting grib file to excel
At least for me the dataset file did not come through. I will look at it if it can be made available. It does look like the finial step of reading the data into raster failed, so then did the rest of th commands. -Roy > On Sep 25, 2024, at 3:24 PM, CALUM POLWART <polc1410 at gmail.com> wrote: > > Noticeable lack of silence in the group on this one. > > I've not got
2024 Sep 26
1
Problem with converting grib file to excel
Dear all; Many thanks for your responses. Actually it is not completely a GIS file, it is a data file which stores meteorological data of a specific region. But the site allows downloading with grib format and as I searched to read this type of file in R, I found the Raster Package. In python it is possible to do this using cdsapi and xarray library, but I am not familiar with python. Sincerely
2024 Sep 26
1
Problem with converting grib file to excel
Hi Javad: I know a lot about reading GRIB files, I work with them all the time. But if you don?t make the file available, or point me to where I can download it, there is not much I can do. Thanks, -Roy > On Sep 25, 2024, at 9:41?PM, javad bayat <j.bayat194 at gmail.com> wrote: > > Dear all; > Many thanks for your responses. Actually it is not completely a GIS file, it
2024 Sep 26
1
Problem with converting grib file to excel
Dear Roy, Sorry for my mistake, I thought I have uploaded the grib file. I really apologise for that. I will send it on Saturday. Thank you very much. On Thu, 26 Sept 2024, 17:40 Roy Mendelssohn - NOAA Federal, < roy.mendelssohn at noaa.gov> wrote: > Hi Javad: > > I know a lot about reading GRIB files, I work with them all the time. > But if you don?t make the file
2024 Sep 26
1
Problem with converting grib file to excel
Attachments CAN NOT be sent to group On Thu, 26 Sep 2024, 21:22 javad bayat, <j.bayat194 at gmail.com> wrote: > Dear Roy, > Sorry for my mistake, I thought I have uploaded the grib file. > I really apologise for that. I will send it on Saturday. > Thank you very much. > > On Thu, 26 Sept 2024, 17:40 Roy Mendelssohn - NOAA Federal, < > roy.mendelssohn at
2010 Jun 15
1
Error when callin g C-Code
Hi when I call the function below in R, i get the error: Object 'pairlist' can't be converted to 'double'. #include <R.h> #include <Rdefines.h> #include <Rmath.h> SEXP CSimPoisson(SEXP lambda, SEXP tgrid, SEXP T2M, SEXP Ni, SEXP NT) { double sign, EVar; double *xlambda, *xtgrid, *xT2M, *xNi, *xNT, *xtau; SEXP tau; int ltgrid =0; int i = 0; int j = 0;
2006 Jul 07
0
How to pass javascript variables to a method
Hello, I''m trying to pass a record''s ID, latitude, and longitude from javascript variables to a method in my controller. I keep getting an Application Error and I don''t know why. Here''s what I have in my javascript code: <% @rID = capture do %>id<% end %> <% @rLAT = capture do %>place.Point.coordinates[1]<% end %> <% @rLONG =
2010 Jun 13
1
Simulating a Poisson Process in R by calling C Code over .Call
Hi I want to write a C function for the R Code below and call it with .Call: SimPoisson <- function(lambda,tgrid,T2M) #Simulation eines Poissonprozesses { NT <- 0 Ni <- rep(0,length(tgrid)) tau <- 0 sign <- 0 if(lambda != 0) { i=1 j=1 while (1) { EVar <- rexp(1,lambda) sign <- sign + EVar if (sign > T2M) { break } tau[i] <- sign
2011 Sep 07
1
Error: in routine alloca() there is a stack overflow: thread 0, max 535822282KB, used 0KB, request 24B
Dear Colleagues: Through your help an R related installation issue was resolved, but I now have the following usage issue. On any "get.var.ncdf" usage I am seeing: Error: in routine alloca() there is a stack overflow: thread 0, max 535822282KB, used 0KB, request 24B The same error is posted on a file as small as 50MB and as large as 500GB, with ulimit set to unlimited. I
2002 May 24
5
intersecting polygons and conversion from decimal degree to km
Dear all, 1. How can I compute the intersecting area between 2 polygons ? 2. I have polygons with coordinates in decimal degrees (i.e. 13 deg 30 min = 13.5 decimal degrees). I want to compute their area and get the results in square meters or square kiometers. Can anyone give me a conversion coefficient or a pointer where I can find this information (sorry for this off topic question) ? Thanks
2001 Aug 09
0
converting BMDP 8V mixed model treatment to R ?
I am trying to translate a given BMDP 8V problem treatment to something approximately equivalent in nlme package (or base R, if sufficient). (Of course, it is not my goal to end there. I want to get access to the advanced flexibility of a more modern treatment.) Here is the problem statement in BMDP control language: /input title='Augenbewegungen'. variables=4.
2010 Sep 07
1
adding variable to netCDF file
I would like to open an existing netCDF file and add a variable to it. I am using the ncdf package. This test code gives the idea of what I am trying to do: library(ncdf) print('here we go') print('first, construct netCDF file') t<-dim.def.ncdf('t','',1:1,unlim=T,create_dimvar=F) print('defining first vars')
2001 Aug 09
1
converting a BMDP 8V mixed model to R / nlme
[Sorry, In case this is repeating a message already sent to the list]. I am trying to move a project to R (base or nlme), for which I have a partial solution in BMDP 8V. Here is the 8V control language: /input title='Augenbewegungen'. variables=4. file='latm.dat'. format='11x,f7.0,f7.0,f12.4,f10.0'. /variables names= llat,rlat,vg,diff. /design
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
I'm working with the ncdf package, and I'm seeing a behavior which I am unsure whether it is a bug or a feature. I am creating a variable, which I make with the precision of "byte" and also set a missing value, When I put into this variable, all my NA values are put in properly as the missing value. However, when I read it back, I get the missing value rather than NA.
2009 Nov 17
1
How to plot an image in R
Dear all Im new in R I have a necdf data set that I want to plot : this is my data set [1] "file Tmax.DJF.daily.1981_1999.echama2.nc has 4 dimensions:" [1] "longitude Size: 127" [1] "latitude Size: 110" [1] "ht Size: 1" [1] "t Size: 1680" [1] "------------------------" [1] "file Tmax.DJF.daily.1981_1999.echama2.nc has 1
2009 Sep 27
3
Teach me how to transpose in R
Hi guys, I need your help!! My goal is to make a csv file from ncdf file. This is the code i've used : > hyo=open.ncdf("C:/CRUTEM3.nc") > hyo [1] "file C:/CRUTEM3.nc has 4 dimensions:" [1] "longitude Size: 72" [1] "latitude Size: 36" [1] "unspecified Size: 1" [1] "t Size: 1916" [1] "------------------------"