Displaying 20 results from an estimated 600 matches similar to: "R CMD line45"
2012 Oct 19
3
saving to docx
hi all,
how can i saving R output to docx or Jpeg format?
[[alternative HTML version deleted]]
2024 Jun 24
3
Converting .grib to excel file
Dear all;
I have downloaded meteorology data from "
https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels?tab=form"
as .grib format. It has hourly data of a complete year (every hour of every
day of 12 months) and has 6 meteorology parameters. The file has been
attached.
I am trying to convert it to an excel file that puts every parameter in a
separated column.
2024 Jun 25
2
Converting .grib to excel file
Richard,
Many thanks for your email.
I had attached the grib file to the original email to R help team but it
seems you did not receive it.
Unfortunately, I do not know how to reduce the volume or extract some of
the grib file data to send it for you. The file has the volume of 6
Megabyte.
I can send it by email.
The file has 6 met parameters and Date (day/month/year hour:minute).
I want the
2023 Dec 06
2
Volume of polygon
The volume of a polygon = 0. Polyhedra have volumes.
This may be irrelevant, but if the lake is cylindrical == constant cross
sectional area at all depths, then height doubles when the volume does and
vice versa. Otherwise you have to know how area varies with height or use
more sensible approximations thereto.
Cheers,
Bert
On Tue, Dec 5, 2023, 20:13 javad bayat <j.bayat194 at
2024 Jun 25
1
Converting .grib to excel file
Dear Bert and Sara;
I have searched on the internet and found some way to do this like python.
But python is so complicated to me as it needs many steps to be done for
reading and converting it.
I will try terra package to convert it.
On Tue, 25 Jun 2024, 15:15 javad bayat, <j.bayat194 at gmail.com> wrote:
> Richard,
> Many thanks for your email.
> I had attached the grib file to
2023 Dec 06
2
Volume of polygon
Dear all;
I am trying to calculate the volume of a polygon shapefile according to a
DEM raster. I have provided some codes at the end of this email.I dont know
if the codes are correct or not. Following this, I have another question
too.
I want to know if the volume of the reservoir rises or doubles, what would
be the elevation?
I would be more than happy if anyone could help me.
Sincerely
"
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
2023 Jun 11
2
Problem with filling dataframe's column
Dear R users;
I am trying to fill a column based on a specific value in another column of
a dataframe, but it seems there is a problem with the codes!
The "Layer" and the "LU" are two different columns of the dataframe.
How can I fix this?
Sincerely
for (i in 1:nrow(data2$Layer)){
if (data2$Layer == "Level 12") {
data2$LU == "Park"
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
2024 Apr 10
1
Question regarding reservoir volume and water level
Dear all;
Thank you for your reply.
David has explained an interesting method.
David I have DEM file of the region and I have extracted the xyz data from
that.
Also I can extract bathymetry data as xyz file.
I have calculated the storage (volume) of reservoir at the current
elevation.
But the method I have used to calculate the volume is different from your
method. I have crop DEM by the reservoir
2024 Oct 30
2
Extracting wind direction and wind speed from wind rose plot
Dear all;
I am searching for a way to extract wind direction and speed from a wind
rose plot. I have a graph and I want to make a dataframe of 5 years with
hourly intervals.
> start_date <- as.POSIXct("2019-01-01 00:00:00")
> end_date <- as.POSIXct("2023-12-31 23:00:00")
> time_sequence <- seq(from = start_date, to = end_date, by = "hour")
> df
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 Jun 26
1
Converting .grib to excel file
I'm now inclined to go with 'search for "convert GRIB to CSV".
https://confluence.ecmwf.int/display/CKB/How+to+convert+GRIB+to+CSV
is the first line. I know that's not an R solution, but using software
specifically developed for encoding, decoding, extracting, &c GRIB file by the
European Centre for Medium-Range Weather Forecasts and actively
maintained, with an example
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
2023 Dec 06
1
Volume of polygon
Hi,
As already mentioned, this is a great topic for R-sig-geo, where you'd
probably get specialist answers like the lake morphology package
https://cran.r-project.org/web/packages/lakemorpho/index.html which is
explicitly designed for this kind of question.
Sarah
On Tue, Dec 5, 2023 at 11:13?PM javad bayat <j.bayat194 at gmail.com> wrote:
>
> Dear all;
> I am trying to
2018 Jan 30
2
Calculating angle of a polyline
Dear R users
I am trying to find a formula to calculate the angle of a polyline. Is
there a way to do this?
Many thanks.
--
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 at yahoo.com
[[alternative HTML version deleted]]
2024 Apr 07
2
Question regarding reservoir volume and water level
Dear all;
I have a question about the water level of a reservoir, when the volume
changed or doubled.
There is a DEM file with the highest elevation 1267 m. The lowest elevation
is 1230 m. The current volume of the reservoir is 7,000,000 m3 at 1240 m.
Now I want to know what would be the water level if the volume rises to
1250 m? or what would be the water level if the volume doubled (14,000,000
2024 Apr 07
1
Question regarding reservoir volume and water level
John,
Your reaction was what my original reaction was until I realized I had to
find out what a DEM file was and that contains enough of the kind of
depth-dimension data you describe albeit what may be a very irregular cross
section to calculate for areas and thence volumes.
If I read it correctly, this can be a very real-world problem worthy of a
solution, such as in places like California
2024 Apr 07
1
Question regarding reservoir volume and water level
Aside from the fact that the original question might well be a class exercise (or homework), the question is unanswerable given the data given by the original poster. One needs to know the dimensions of the reservoir, above and below the current waterline. Are the sides, above and below the waterline smooth? Is the region currently above the waterline that can store water a mirror image of the
2023 Jun 11
1
Problem with filling dataframe's column
?s 21:05 de 11/06/2023, javad bayat escreveu:
> Dear R users;
> I am trying to fill a column based on a specific value in another column of
> a dataframe, but it seems there is a problem with the codes!
> The "Layer" and the "LU" are two different columns of the dataframe.
> How can I fix this?
> Sincerely
>
>
> for (i in 1:nrow(data2$Layer)){
>