Displaying 20 results from an estimated 1100 matches similar to: "Plot cumulative sums of rainfall per year"
2011 Aug 25
1
Specifying argument values in a function
Hello all,
I am trying write a fairly simple function that provide a quick way to
calculate several distributions for a data set. I am trying to provide
a function that has a argument that specifies which distribution is
outputted (here "norm" or "cumu"). I also have a melt argument but
that seems to be working fine. I have been able to get my function
working well for just
2008 Jan 24
1
Sliding Window Time Series Analysis - hourly rainfall
I have a time series of rainfall in a dataframe. I would like to be
able to aggregate this using a sliding window approach- i.e. a new 24
hourly total is calculated for each hours rainfall. I'm struggling to
understand how this might be achieved - currently I've tried looping a
sum function to re-calculate a new total at every stage of the loop.
for (inp[[9]] in
2017 Nov 23
0
How to produce rainfall maps
Thank you Sarah and Mike for your explanations.
My final objective is to produce maps (png image or any kind of extension I can import in LaTeX) where rainfall data are interpolated, using the Inverse Distance method or Kriging.
My input file (pointfile.csv in the reported example) reports the station code, lat and long of the meteorological station and the rainfall value (which might be the
2017 Nov 21
0
How to produce rainfall maps
Hi,
You might get more help from the R-sig-geo list, which is devoted to
spatial topics.
However.
The *.asc file is an ArcGIS raster export format. You should use
whatever the appropriate import commands are for your own gridded
rainfall data. If you have a different format, you might or might not
be able to import it directly with raster.
?raster will tell you more about the kinds of formats
2006 Jun 27
2
distribution of daily rainfall values in binned categories
Hi,
I'm a newbie in using R and I would like to have a few
clues as to how I could compute and plot a
distribution of daily rainfall intensity in different
categories. I have daily values (mm/day) for several
years and I need to show the frequency of 0-1, 1-2.5,
2.5-5, 5-10, 10-20, 20+ mm/day. Can this be done
easily?
Thanks,
Etienne
2017 Nov 22
2
How to produce rainfall maps
Fwiw the engine behind geom_raster needs explicit observation-per-row form
for input (with no structural normalization), so conversion to points is
perfectly proper here, albeit confusing in context. (It's closer to what
graphics devices actually use ultimately, but the expansion is laid out
very early in ggplot2 because there's no standard for intermediate forms.)
Cheers, Mike
On Wed,
2017 Nov 17
2
How to produce rainfall maps
Dear R users,
I need to produce rainfall maps using R.
I know that this is possible, I looked though the web, I found the example below reported (the author is Andrew Tredennick).
I would ask you if this is the most performing way to make rainfall maps; if yes would someone be able to give me an example of how file.asc and pointfile.csv should be? If no would somebody please show me another way
2002 Apr 23
1
column-plot of rainfall data
Hello,
I have some daily rainfall data from rain gages. E.g.:
date p1 p2 p3
20/04/2002 10.2 8.6 6.3
21/04/2002 0.4 1.6 1.4
22/04/2002 0.2 0.0 0.4
23/04/2002 5.2 1.0 0.2
I'd like to plot them in a column plot by day, to be able to
compare them. I made an example in exell, that I attached, but
can't find out how to do it in R. The data vector is a POSIXct.
Thanks,
Wouter
2012 Jan 11
0
Assist me on how I can arrange trend data of rainfall and temperature for analysis
I am a student doing my MSc Research Methods, i am working on my thesis
research on analysing and modelling of crop failure risks due to drought in
selected districts in Malawi. The analysis and modelling will focus on two
crop stages of development: just after planting and flowering stages. I have
rainfall, temperature, Relative humidity, wind speed, coordinate location
data for the past 30 years
2005 Jun 08
1
Fitting Theoretical Distributions to Daily Rainfall Data
Dear List Members,
I need a bit help about fitting some theoretical
distributions (such as geometric, exponential,
lognormal or weibull distribution) to the following
*dry spell*, *wet spell*, *cycles (Wet-Dry or
Dry-Wet)* from my meteorological (daily rainfall) data
http://www.angelfire.com/ab5/get5/R.rainfall.txt only
for rainy seasen (july - september) of 14 years only:
2012 Apr 14
2
master thesis
Hi,
For my master thesis I have 24 micro-plots on which I did measurements during 3 months.
The measurements were:
- Rainfall and runoff events throughout 3monts (runoff being dependant on the rainfall, a coefficient (%) has been made per rainfall event and per 3 months)
- Soil texture (3 different textures were differentiated)
- Slope (3 classes of slopes)
- Stoniness (one time measurement)
2007 Jul 25
1
how to use "replace" for efficiency
Hi
I think I have been struggling to use replace correctly, I usually
work my way around this using a loop, but I think this is in fact
inefficient.
I have a dataset with runoff from three plots and associated rainfall.
However either the datarecording was sloppy, or the rainfall very
patchy. So I am trying to remove data from my dataset for which the
runoff is larger than the rainfall on the
2012 Jul 04
3
Please help
Dear All,
I am a research student in environment. I have only little programming knowledge. I am currently doing the last project about rainfall impact on ground water quality in an area. It happens that I have to use R to read rainfall data (3 dimension) from ASC file (*.asc), and then write them into one NCDF file (*.nc).
I have been working very hard on study R, but I
2008 Jun 05
1
choosing an appropriate linear model
I am trying to model the observed leaching of wood preservative chemicals
from treated wood during an outdoor experiment where leaching is caused by
rainfall events. For each rainfall event, the amount of rainfall was
recorded as well as the amount of preservative chemical leached. A number
of climatic variables were measured, but the most important is the amount of
rainfall.
I have tried a
2012 Nov 29
4
splitting a string by space except when contained within quotes
I've been trying to split a space delimited string with double-quotes in R
for some time but without success. An example of a string is as follows:
/rainfall snowfall "Channel storage" "Rivulet storage"/
It's important for us because these are column headings that must match the
subsequent data.
Here is some code I've been trying:
str <- 'rainfall
2005 Mar 11
2
Calculating lengths of runs of 0 or 1 sequences in meteorological data
Dear List Members,
I need some help about programming in S language. My
problem is as follows:
I have meteorological data (about rainfall measurement
each day from 1989-2002), say like
http://www.angelfire.com/ab5/get5/data.rainfall.txt
or http://www.angelfire.com/ab5/get5/R.rainfall.txt
in a sequence of 0(denoting dry day)'s and 1(denoting
wet day)'s. I want to construct a frequency
2011 Jan 16
2
xyplot: modify axis tick marks
Hi,
I would like to plot time against rainfall data (data is at the end)
using xyplot.
The basic code looks like this: xyplot(rainfall~time, type="a")
When I do this, the graph looks ok except that the x-axis has too many
values. I would just like to display the years and not the months on
the x-axis. I've been fiddling around with 'scales', and read previous
posts about
2011 Nov 15
1
Creating Timeseries by manipulating data table
Hi,
I'm new to R and tried a search but couldn't find what I was looking for.
I have some data as a csv file with columns:-
longditude latitude year month rainfall region
What I need to do is produce a monthly time series for each region, where
region is an integer id and where each time point in the series is the
monthly average of rainfall for each location in that region.
Basically
2002 Apr 26
3
different data series on one graph
Hello,
I'm looking for a way to plot different data series on one graph.
I have a series of hourly rainfall and quarterly flow
measurements (i.e. 4 times an hour) of a catchment. The rainfall
should be plotted in bars, the flow as a line. Both on the same X
axe (time) but with different Y axes.
The problem is the plot() function does not support add=TRUE...
Furthermore I'm not sure
2008 Aug 14
2
how to over-plot another variable on axis-4
Hello R Users,
I am using R on Windows,
I am ploting CO2 (350,380) variying with year(1993,2003)
I want to over-plot rainfall (10,250) varying with year(1993,2003) on axis-4
axis-1=year(1993,2003),
axis-2=CO2(350,380)
axis-3=None
axis-4=rainfall(10,250)
Kindly help how to over-plot another variable on axis-4.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]