search for: javad

Displaying 20 results from an estimated 32 matches for "javad".

Did you mean: java
2012 Oct 19
3
saving to docx
hi all, how can i saving R output to docx or Jpeg format? [[alternative HTML version deleted]]
2023 Dec 06
2
Volume of polygon
...s 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 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...
2023 Dec 06
2
Volume of polygon
...r("Base.tif") p <- shapefile("p.shp") 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 Apr 10
1
Question regarding reservoir volume and water level
...hout knowledge of 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 > &gt...
2023 Dec 06
1
Volume of polygon
...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 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 ques...
2023 Jun 11
2
Problem with filling dataframe's column
...! 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" } } -- 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
...underground and to the side and pour in if the level lowers or can be used to escape if the level rises. -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Sorkin, John Sent: Sunday, April 7, 2024 3:08 PM To: Rui Barradas <ruipbarradas at sapo.pt>; javad bayat <j.bayat194 at gmail.com>; R-help <R-help at r-project.org> Subject: Re: [R] 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 o...
2023 Jun 11
1
Problem with filling dataframe's column
...de: data2$LU[which(data2$Layer == c("Level 1","Level 2", "Level 3", ...))] <- c("Park", "Agri", "GS", ...) Sincerely On Sun, Jun 11, 2023 at 1:43?PM Rui Barradas <ruipbarradas at sapo.pt> wrote: > ?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...
2024 Apr 09
1
Question regarding reservoir volume and water level
...the volume are impossible to answer without knowledge of 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 its reservoir...
2024 Apr 07
1
Question regarding reservoir volume and water level
...liative Care, 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 Cell phone 443-418-5382 ________________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Rui Barradas <ruipbarradas at sapo.pt> Sent: Sunday, April 7, 2024 10:53 AM To: javad bayat; R-help Subject: Re: [R] Question regarding reservoir volume and water level ?s 13:27 de 07/04/2024, javad bayat escreveu: > 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...
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
...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 m3)? Is there any way to write codes to do this in R? 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 [[alternative HTML version deleted]]
2023 Jun 11
1
Problem with filling dataframe's column
?s 22:54 de 11/06/2023, javad bayat escreveu: > Dear Rui; > Many thanks for your email. I used one of your codes, > "data2$LU[which(data2$Layer == "Level 12")] <- "Park"", and it works > correctly for me. > Actually I need to expand the codes so as to consider all "Levels&quo...
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...
2024 Apr 07
1
Question regarding reservoir volume and water level
?s 13:27 de 07/04/2024, javad bayat escreveu: > 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. > N...
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,...
2004 Jul 03
2
R CMD line45
Dear Friends I use R in linux. I have problem by installing a package. when i use "R CMD" coomond, i recived a d a erroe line " /usr/lib/R/bin/Rcmd: line45: exec: INSTAL~1 not found. how can i solve my problem? thank you for your advise --------------------------------- [[alternative HTML version deleted]]
2017 Nov 13
1
how to label station names on point
I have a shapefile point and I plot it over my polygon. Is it possible to label station names over points?Sincerely. S_Point = readOGR(".","point")plot(S_Point,add=TRUE,col="black",pch=20,cex=2) [[alternative HTML version deleted]]
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
...gt; wrote: > 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. > > ______________________________________________ > R-help at r-project.org mailin...