search for: noaa

Displaying 20 results from an estimated 667 matches for "noaa".

Did you mean: naa
2018 Jan 02
4
httr::content without message
...es form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so. The following should reproduce the result: myURL <- 'https://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMH1sstdmday.csvp?time[0:1:last]' r1 <- httr::GET(myURL) junk <- httr::content(r1) when the last command is run, you get: Parsed with column specification: cols( `time (UTC)` = col_datetime(format = "") ) I want to suppress that output. Thanks, -Roy...
2017 Oct 17
2
ggridges help
...gt; > ggplot2::ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) + ggridges::geom_ridgeline(fill="red", min_height=-0.25) > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > I have tried: > > ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) + geom_ridgeline() > ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) + geom_ridgeline() > ggplot(plotFrame, ae...
2017 Oct 17
0
ggridges help
The min_height = -0.25 is there to make it show cycle values down to -1/4. You may want to change it to -1 so it shows more of the cycle values. Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Oct 17, 2017 at 1:26 PM, Roy Mendelssohn - NOAA Federal < roy.mendelssohn at noaa.gov> wrote: > yes, thanks, and I was getting close to that. One thing I found is the > manual says the height is the distance above the y-line, which should be, > but doesn't have to be positive. In fact, the time series are estimates >...
2017 Aug 29
3
RMarkdown question
...is named? What I want to do is say that such and such code chunk is an example of how to do something, and have that link to the appropriate code chunk. Thanks for any help. -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn...
2017 Oct 17
2
ggridges help
...idgeline for each depth. -Roy > On Oct 17, 2017, at 12:39 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > > ...and your question is...? > ... and the code you tried that didn't work was? > > Bert > > > On Oct 17, 2017 12:22 PM, "Roy Mendelssohn - NOAA Federal" <roy.mendelssohn at noaa.gov> wrote: > Hi All: > > I am just not understanding ggridges. The data I have are time series at different depths in the ocean. I want to make a joy plot of the time series by depth. > > If I was just doing a ggplot2 line plot I woul...
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
> On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > > Thanks to all for responses/. There was a question of exactly what was wanted. It is the generalization of the obvious example I gave, > >>>> junk1 <- junk[, rev(seq_len(10), ] > > > so that > > j...
2018 Jan 02
1
httr::content without message
...ike col_types = cols(), to the file reader. > > junk <- httr::content(r1, col_types = cols()) > > See more here... > > https://blog.rstudio.com/2016/08/05/readr-1-0-0/ > > > Cheers, > Ben > > > >> On Jan 2, 2018, at 12:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: >> >> Hi All: >> >> I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message,...
2017 Jun 01
5
Reversing one dimension of an array, in a generalized case
...try: junk1 <- apply(junk, 2, rev) junk1 comes out as two-dimensional, not three-dimensional. It is probably something obvious but I am not getting it. Thanks for any help. -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn...
2017 Oct 17
0
ggridges help
Does the following work for you? ggplot2::ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) + ggridges::geom_ridgeline(fill="red", min_height=-0.25) Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal < roy.mendelssohn at noaa.gov> wrote: > I have tried: > > ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) > + geom_ridgeline() > ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) > + geom_ridgeline() > ggplot(pl...
2017 Jun 01
1
Reversing one dimension of an array, in a generalized case
...equal(f(z, 2), f2(z, 2)) > # [1] TRUE > all.equal(f(z, 3), f2(z, 3)) > # [1] TRUE > all.equal(f(z, 4), f2(z, 4)) > # [1] TRUE > > David C > > > From: Ismail SEZEN [mailto:sezenismail at gmail.com] > Sent: Thursday, June 1, 2017 3:35 PM > To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> > Cc: David L Carlson <dcarlson at tamu.edu>; R-help <r-help at r-project.org> > Subject: Re: [R] Reversing one dimension of an array, in a generalized case > > > On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
..., rev), idx) } all.equal(f(z, 1), f2(z, 1)) # [1] TRUE all.equal(f(z, 2), f2(z, 2)) # [1] TRUE all.equal(f(z, 3), f2(z, 3)) # [1] TRUE all.equal(f(z, 4), f2(z, 4)) # [1] TRUE David C From: Ismail SEZEN [mailto:sezenismail at gmail.com] Sent: Thursday, June 1, 2017 3:35 PM To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> Cc: David L Carlson <dcarlson at tamu.edu>; R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov&...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...the printouts f(z,2) f(z,3) Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jun 1, 2017 at 9:51 AM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > Hi All: > > I have been looking for an elegant way to do the following, but haven't found it, I have never had a good understanding of any of the "apply" functions. > > A simplified idea is I have an array, say: &gt...
2017 Aug 29
0
RMarkdown question
...an add an arbitrary empty HTML element like <span id="foo"></span> before your code chunk. Then you can jump to this <span> via a link like "see [this code chunk](#foo)". Regards, Yihui -- https://yihui.name On Tue, Aug 29, 2017 at 1:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > Hi All: > > In creating a R Notebook I know that in the text I can link to a (sub) section by using the command: > > > [Header 1](#anchor) > > > and putting the appropriate anchor name at the appropriate header. But...
2018 Jan 02
0
httr::content without message
...arguments, like col_types = cols(), to the file reader. junk <- httr::content(r1, col_types = cols()) See more here... https://blog.rstudio.com/2016/08/05/readr-1-0-0/ <https://blog.rstudio.com/2016/08/05/readr-1-0-0/> Cheers, Ben > On Jan 2, 2018, at 12:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > > Hi All: > > I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't...
2017 Jun 01
2
Reversing one dimension of an array, in a generalized case
...Mean relative difference: 0.5714286 >" [2] "Mean relative difference: 0.5855162" David C -----Original Message----- From: Bert Gunter [mailto:bgunter.4567 at gmail.com] Sent: Thursday, June 1, 2017 2:00 PM To: David L Carlson <dcarlson at tamu.edu> Cc: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov>; R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case ?? > z <- array(1:24,dim=2:4) > all.equal(f(z,3),f2(z,3)) [1] "Attributes: < Component ?dim?: Mean relative difference:...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...; > [2] "Mean relative difference: 0.5855162" > > David C > > -----Original Message----- > From: Bert Gunter [mailto:bgunter.4567 at gmail.com] > Sent: Thursday, June 1, 2017 2:00 PM > To: David L Carlson <dcarlson at tamu.edu> > Cc: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov>; R-help <r-help at r-project.org> > Subject: Re: [R] Reversing one dimension of an array, in a generalized case > > ?? > >> z <- array(1:24,dim=2:4) >> all.equal(f(z,3),f2(z,3)) > > [1] "Attributes: < Comp...
2016 Aug 24
2
Gnome weather applet stranded
On 8/24/2016 8:46 AM, m.roth at 5-cent.us wrote: > Had you gone to noaa.gov, and clicked on climate, it appears that they > want to now charge you $3/yr for the service. I'm getting DNS not found errors from anything in NOAA.GOV. anyways, 'climate' refers to historical averages by location/month/week/date. presumably the API involved here was for...
2007 Jul 02
1
download.file - it works on my Mac but not on Windows.
Hi: I am working with someone remotely to allow them access to our data. The follow command using "download.file" works perfectly on my Mac: > > download.file(url="http://oceanwatch.pfeg.noaa.gov:8081/thredds/ > wcs/satellite/AG/ssta/14day? > request=GetCoverage&version=1.0.0&service=WCS&format=NetCDF3&coverage= > AGssta&Vertical=.0&time=2006-01-06T00:00:00Z&bbox=220,20,250,50", > destfile="/users/rmendels/desktop/carrie.nc") &...
2013 Apr 08
1
Computational Ecologist Job at NOAA in Silver Spring, MD -- Marine Wildlife Spatial Modeling in R
The NOAA National Centers for Coastal Ocean Science is hiring a Computational Ecologist, a statistical/computational ecologist with experience fitting advanced spatial models to marine wildlife survey data (e.g., seabirds and marine mammal transects, fisheries trawl surveys) in R and other statistical l...
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
...---------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Bert Gunter Sent: Thursday, June 1, 2017 12:46 PM To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> Cc: R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case How about this: f <- function(a,wh){ ## a is the array; wh is the index to be reversed l<- lapply(dim(a),seq_len) l[[wh]]&...