Displaying 20 results from an estimated 40 matches for "bayat194".
2024 Jun 24
3
Converting .grib to excel file
...t;)
# Convert to a data frame
grib_df <- as.data.frame(grib_data)
# Write the data frame to a CSV file
write.csv(grib_df, file = "output.csv")
I would be more than happy if anyone could help me.
Sincerely
--
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 at yahoo.com
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 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 f...
2024 Jun 25
2
Converting .grib to excel file
...myself. Does the licence for the data even allow you to send some of
> it in a message? Which parameters are you extracting? When you say
> "it didn't work", what actually happened? Which step went wrong and how?
>
>
> On Tue, 25 Jun 2024 at 20:33, javad bayat <j.bayat194 at gmail.com> wrote:
> >
> > 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...
2023 Dec 06
2
Volume of polygon
...t, 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 gmail.com> wrote:
> 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 wan...
2023 Dec 06
2
Volume of polygon
...r <- crop(r, p)
r <- mask(r, p)
x <- exact_extract(r, p, coverage_area = TRUE)
x1 = as.data.frame(x[1])
head(x1)
x1 = na.omit(x1)
x1$Height = max(x1[,1]) - x1[,1]
x1$Vol = x1[,2] * x1[,3]
sum(x1$Vol)
"
--
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 at yahoo.com
[[alternative HTML version deleted]]
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 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 f...
2024 Sep 26
1
Problem with converting grib file to excel
...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 to do some mathematic on some columns.
> >> But
> >>>...
2024 Jun 26
1
Converting .grib to excel file
...art of the R "way".
Or there's gribr https://rdrr.io/github/nawendt/gribr/man/gribr.html
which wraps ecCodes in R.
I still don't understand what "doesn't work" means. Which step goes
wrong and how does it misbehave?
On Wed, 26 Jun 2024 at 06:02, javad bayat <j.bayat194 at gmail.com> wrote:
>
> 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...
2023 Dec 06
1
Volume of polygon
...oned, 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 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...
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 no...
2024 Sep 26
1
Problem with converting grib file to excel
...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 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...
2024 Jun 26
1
Converting .grib to excel file
...there's gribr https://rdrr.io/github/nawendt/gribr/man/gribr.html
> which wraps ecCodes in R.
>
> I still don't understand what "doesn't work" means. Which step goes
> wrong and how does it misbehave?
>
>
> On Wed, 26 Jun 2024 at 06:02, javad bayat <j.bayat194 at gmail.com> wrote:
> >
> > 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 fil...
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
1
Question regarding reservoir volume and water level
Homework?
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
On April 7, 2024 8:27:18 AM EDT, javad bayat <j.bayat194 at gmail.com> wrote:
>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.
>...
2024 Apr 10
1
Question regarding reservoir volume and water level
...the reservoir shape. E.g. in a cylindrical
> reservoir halving the water level also halves the volume, but in a conical
> reservoir, halving the level leaves only 1/8 of the volume.
> >
> > -pd
> >
> >
> >
> >> On 8 Apr 2024, at 05:55 , javad bayat <j.bayat194 at gmail.com> wrote:
> >>
> >> Dear all;
> >> Many thanks for your replies. This was not homework. I apologize.
> >> Let me explain more.
> >> There is a dam constructed in a valley with the highest elevation of
> 1255
> >> m. The area of...
2024 Oct 30
2
Extracting wind direction and wind speed from wind rose plot
...nd Wind_Speed
that the data extracted from the plot by analyzing it.
Is there any library to do this? or any function to write for this purpose?
I would be more than happy if you please help me to do this.
Sincerely
--
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 at yahoo.com
[[alternative HTML version deleted]]
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 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 pr...
2024 Sep 25
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 to do some mathematic on some columns.
>> But
>>> I got error. I would be more than happ...
2018 Jan 30
0
Calculating angle of a polyline
A polyline by definition has many angles, so your question is ill-formed. And this is a question about math, not R, so is off topic here. I suggest reading Wikipedia.
--
Sent from my phone. Please excuse my brevity.
On January 29, 2018 11:10:02 PM PST, javad bayat <j.bayat194 at gmail.com> wrote:
>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.
2018 Jan 30
2
Calculating angle of a polyline
...polyline by definition has many angles, so your question is ill-formed.
> And this is a question about math, not R, so is off topic here. I suggest
> reading Wikipedia.
> --
> Sent from my phone. Please excuse my brevity.
>
> On January 29, 2018 11:10:02 PM PST, javad bayat <j.bayat194 at gmail.com>
> wrote:
> >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.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCR...