[R] rerddap v1.2.0

2024-12-16 Thread Roy Mendelssohn - NOAA Federal via R-help
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 Sa

Re: [R] How to install rgeoda in R

2024-11-10 Thread Roy Mendelssohn - NOAA Federal via R-help
https://geodacenter.r-universe.dev/rgeoda HTH, -Roy > On Nov 10, 2024, at 8:49 AM, Jeff Newmiller via R-help > wrote: > > The rgeoda maintainer seems to be having difficulty keeping up with required > changes to be supported on CRAN. This may get corrected soon or never. There > are instr

Re: [R] Problem with converting grib file to excel

2024-09-30 Thread Roy Mendelssohn - NOAA Federal via R-help
<- month(df$valid_time) > df$Day <- day(df$valid_time) > df$Hour <- hour(df$valid_time) > > # Select only the desired columns > df_selected <- df %>% select(Year, Month, Day, Hour, tcc, t2m, RH) > > # Save the updated DataFrame to an Excel file > write.xlsx(df_selec

Re: [R] Problem with converting grib file to excel

2024-09-26 Thread Roy Mendelssohn - NOAA Federal via R-help
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.mendelss...@noaa.gov> wrote: > > > Hi Javad: > >

Re: [R] Problem with converting grib file to excel

2024-09-26 Thread Roy Mendelssohn - NOAA Federal via R-help
hon it is possible to do this using cdsapi and xarray library, but I am > not familiar with python. > Sincerely > > On Thu, Sep 26, 2024 at 2:33 AM Roy Mendelssohn - NOAA Federal via R-help > mailto:r-help@r-project.org>> wrote: >> At least for me the dataset file did no

Re: [R] Problem with converting grib file to excel

2024-09-25 Thread Roy Mendelssohn - NOAA Federal via R-help
<- df %>% select(Year, Month, Day, Hour, tcc, t2m, RH) >>> >>> # Save the updated DataFrame to an Excel file >>> write.xlsx(df_selected, excel_file_path, row.names = FALSE) >>> >>> >>> >>> >>> >>>

Re: [R] Problem with combining monthly nc files into a yearly file (era5 climate data)

2024-06-21 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Leni: You forget to post the important part - the errors you have been getting and if you have the errors isolated to particular lines in the code. HTH, -Roy > On Jun 21, 2024, at 3:59 AM, Leni Koehnen via R-help > wrote: > > Dear R-help List, > > I am currently trying to run a code w

[R] Fwd: Webinar: How to access ERDDAP data using R

2024-06-11 Thread Roy Mendelssohn - NOAA Federal via R-help
, PhD (she/her) > Program Manager > National Oceanic and Atmospheric Administration <https://www.noaa.gov/> > Global Ocean Monitoring & Observing Program <http://globalocean.noaa.gov/> > and Cooperative Programs for the Advancement of Earth System Science > <https://

Re: [R] Need help testing a problem

2024-02-01 Thread Roy Mendelssohn - NOAA Federal via R-help
possible cause. -Roy > On Feb 1, 2024, at 2:16 AM, Rui Barradas wrote: > > Às 23:47 de 31/01/2024, Roy Mendelssohn - NOAA Federal via R-help escreveu: >> HI All: >> We are trying to figure out a problem that is occurring with a package, and >> we need a non

[R] Need help testing a problem

2024-01-31 Thread Roy Mendelssohn - NOAA Federal via R-help
HI All: We are trying to figure out a problem that is occurring with a package, and we need a non-NOAA person with a Windows computer with the latest R to test for us what is failing (but works on Macs and Linux from different sites). Part of the problem is there is an Akamai service in betwe

Re: [R] Help request: Parsing docx files for key words and appending to a spreadsheet

2023-12-29 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Andy: I don’t have an answer but I do have what I hope is some friendly advice. Generally the more information you can provide, the more likely you will get help that is useful. In your case you say that you tried several packages and they didn’t do what you wanted. Providing that code,

Re: [R] strptime with +03:00 zone designator

2023-11-05 Thread Roy Mendelssohn - NOAA Federal via R-help
what if you try lubridate::as_datetime('2017-02-28T13:35:00+03:00’) -Roy > On Nov 5, 2023, at 3:45 PM, Richard O'Keefe wrote: > > I have some data that includes timestamps like this: > 2017-02-28T13:35:00+03:00 > The documentation for strptime says that %z expects > an offset like 0300. I don

Re: [R] aniMoutm/foiegras Assistance

2023-01-29 Thread Roy Mendelssohn - NOAA Federal via R-help
ontents 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 950

Re: [R] categorizing data

2022-05-29 Thread Roy Mendelssohn - NOAA Federal via R-help
d]] >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and

Re: [R] Extract data from .nc file

2021-02-24 Thread Roy Mendelssohn - NOAA Federal via R-help
view?usp=drive_web> > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://

Re: [R] How to understand the mentality behind tidyverse and ggplot2?

2020-11-18 Thread Roy Mendelssohn - NOAA Federal via R-help
> are what I would prefer for EDA. > > JWDougherty > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-

Re: [R] NOAA .grb2 files

2020-09-04 Thread Roy Mendelssohn - NOAA Federal via R-help
* "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 stre

Re: [R] Solving derivates, getting the minimum of a function, and helpful documentation of the deriv function

2020-08-29 Thread Roy Mendelssohn - NOAA Federal via R-help
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducib

Re: [R] Best settings for RStudio video recording?

2020-08-16 Thread Roy Mendelssohn - NOAA Federal via R-help
RIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this message do not reflect any

Re: [R] rNOMAD package

2020-08-13 Thread Roy Mendelssohn - NOAA Federal via R-help
producible code. ** "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

Re: [R] optim with upper and lower bounds

2020-08-11 Thread Roy Mendelssohn - NOAA Federal via R-help
u >> have, but optimx::optimr is often a very good drop-in replacement for optim, >> especially when bounds are involved (e.g., optim has an awkward habit of >> attempting evaluations outside the domain when numerical derivatives are >> needed). >> >> Yo

[R] optim with upper and lower bounds

2020-08-10 Thread Roy Mendelssohn - NOAA Federal via R-help
some extra programming to use it. Thanks, -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

Re: [R] rNOMADS Package

2020-07-28 Thread Roy Mendelssohn - NOAA Federal via R-help
the 13 Z > forecast if I enter [[2]]. But is there a way to get both at t he same time? > > Thanks, > Philip Heinrich > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIB

Re: [R] curl options?

2020-07-24 Thread Roy Mendelssohn - NOAA Federal via R-help
Found it. On June 9, in the R-developers mail-list, a chain under the topic "SSL certificate issues". -Roy > On Jul 24, 2020, at 1:21 PM, Roy Mendelssohn - NOAA Federal > wrote: > > Thank you very much. That indeed did work, more specifically as (to include >

Re: [R] curl options?

2020-07-24 Thread Roy Mendelssohn - NOAA Federal via R-help
Rasmus Liland wrote: > > On 2020-07-23 14:56 -0700, Roy Mendelssohn - NOAA Federal via R-help wrote: >> I am trying to get the following command to work: >> >>> sshInfo <- rerddap::info('hawaii_soest_f75b_adc6_12ab', url = >>> 'https:

[R] curl options?

2020-07-23 Thread Roy Mendelssohn - NOAA Federal via R-help
lls a package called "crul" which ultimately calls 'curl'. Thanks, -Roy PS - And yes I informed the owner of the site about the expired certificate, that was a couple of weeks ago. ** "The contents of this message do not reflect any position

Re: [R] National Weather Service Data

2020-07-08 Thread Roy Mendelssohn - NOAA Federal via R-help
s_0p50 > for the Global Forecast System? > > Thanks. > > -Original Message- From: Roy Mendelssohn - NOAA Federal > Sent: Monday, July 6, 2020 6:35 PM > To: Philip > Subject: Re: [R] National Weather Service Data > > Skimming the docs seems to assume a lot of knowl

Re: [R] National Weather Service Data

2020-07-06 Thread Roy Mendelssohn - NOAA Federal via R-help
-guide.html > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Package httr::GET() question

2020-02-22 Thread Roy Mendelssohn - NOAA Federal via R-help
le_url() > (from handle-url.r) uses build_url(). > > All the "verbs" use handle_url() — > https://github.com/r-lib/httr/search?q=handle_url&unscoped_q=handle_url > > So {httr} relies on the quintessential standard in URL escaping — > which is libcurl's —

Re: [R] Package httr::GET() question

2020-02-19 Thread Roy Mendelssohn - NOAA Federal via R-help
url_escape > > Cheers, > Ben > > On Tue, Feb 18, 2020 at 1:29 PM Roy Mendelssohn - NOAA Federal via > R-help wrote: >> >> Hi All: >> >> I hav been trying to go through the code for httr::GET() but it is somewhat >> beyond what I know. What I am

[R] Package httr::GET() question

2020-02-18 Thread Roy Mendelssohn - NOAA Federal via R-help
ge 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 P

Re: [R] [SPAM] Re: The "--slave" option

2019-09-21 Thread Roy Mendelssohn - NOAA Federal via R-help
uqtGFfo > https://youtu.be/HAIdo707Sac ****** "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 Fis

Re: [R] [SPAM] Re: The "--slave" option

2019-09-19 Thread Roy Mendelssohn - NOAA Federal via R-help
t;>> __ >>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>> an

Re: [R] [FORGED] Re: Regarding R licensing usage guidance

2019-07-24 Thread Roy Mendelssohn - NOAA Federal via R-help
stics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http

Re: [R] Help with a third ggplot error

2019-06-15 Thread Roy Mendelssohn - NOAA Federal via R-help
-- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > Confidentiality Notice This message is

Re: [R] gganimate: A Grammar of Animated Graphics

2019-06-07 Thread Roy Mendelssohn - NOAA Federal via R-help
info/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." *

Re: [R] Zoom In/Out maps library

2019-03-06 Thread Roy Mendelssohn - NOAA Federal via R-help
Also, I forgot that tmap can do interactive maps, see: https://geocompr.robinlovelace.net/adv-map.html#interactive-maps -Roy > On Mar 6, 2019, at 2:48 PM, Roy Mendelssohn - NOAA Federal > wrote: > > see https://r-spatial.github.io/mapview/index.html > > The main thing

Re: [R] Zoom In/Out maps library

2019-03-06 Thread Roy Mendelssohn - NOAA Federal via R-help
the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.

Re: [R] Zoom In/Out maps library

2019-03-06 Thread Roy Mendelssohn - NOAA Federal via R-help
Or if you prefer plotly: world.map <- maps::map("world", plot = FALSE, fill = TRUE) p <- sf:: st_as_sf(world.map, coords = c('x', 'y')) plotly::ggplotly( ggplot2::ggplot(data = p) + ggplot2::geom_sf() ) > On Mar 6, 2019, at 2:12 PM, Roy Mendelssohn -

Re: [R] Zoom In/Out maps library

2019-03-06 Thread Roy Mendelssohn - NOAA Federal via R-help
de http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ** Roy Mendelssohn Supervisory Operati

[R] cmocean color palette

2019-02-20 Thread Roy Mendelssohn - NOAA Federal via R-help
Roy M. ** "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

Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Roy Mendelssohn - NOAA Federal via R-help
ed that contains both your expanded grid and the precipitation data and that has to be defined in either the ggplot() call or the geom_point() cal. HTH, -Roy ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." **

[R] Two gganimate questions.

2019-02-07 Thread Roy Mendelssohn - NOAA Federal via R-help
separated, it it done using geom_sf. can an initial animation be defined and then frames added to it as new maps are made? Thanks for any help. -Roy ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ****

Re: [R] how to plot gridded data

2018-09-13 Thread Roy Mendelssohn - NOAA Federal via R-help
ect to the legally >> binding disclaimer: https://www.precheza.cz/en/01-disclaimer/ >> >> > > [[alternative HTML version deleted]] > > __________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > http

[R] How deep into function calls does trycatch() work

2018-08-16 Thread Roy Mendelssohn - NOAA Federal via R-help
override the stop() call or am I a goner, or is there another way to override it, given that I can't change the code to err_handle2(). Thanks, -Roy ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." *

Re: [R] ggplot2 version 3

2018-07-03 Thread Roy Mendelssohn - NOAA Federal via R-help
that are involved? > > Thanks for any suggestions. > > -Roy > > > > > ****** > "The contents of this message do not reflect any position of the U.S. > Government or NOAA." > ** > Roy Mendelssohn > Supervis

[R] ggplot2 version 3

2018-07-03 Thread Roy Mendelssohn - NOAA Federal via R-help
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.mendelss...@noaa.gov

Re: [R] httr::content without message

2018-01-02 Thread Roy Mendelssohn - NOAA Federal
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 >> wrote: >> >> Hi All: >>

[R] httr::content without message

2018-01-02 Thread Roy Mendelssohn - NOAA Federal
") ) I want to suppress that output. Thanks, -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 Divisio

[R] Development versions of xtractomatic and rerddapXtracto

2017-12-22 Thread Roy Mendelssohn - NOAA Federal
get all the dependencies correct. As noted earlier, this is one of the benefits provided by CRAN, and why I do not want to put these packages on CRAN until all of their dependencies are there also. -Roy ** "The contents of this message do not reflect any positio

Re: [R] dygraphs, multiple graphs and shiny

2017-10-18 Thread Roy Mendelssohn - NOAA Federal
raphs::renderDygraph({ > res = list() > res[[1]] <- dygraph(lungDeaths[, 1], group = 'lungs') %>% > dyRangeSelector() > res[[2]] <- dygraph(lungDeaths[, 1], group = 'lungs') %>% > dyRangeSelector() >res <- htmltoo

[R] dygraphs, multiple graphs and shiny

2017-10-18 Thread Roy Mendelssohn - NOAA Federal
nput, output) { > >output$distPlot <- dygraphs::renderDygraph({ > lungDeaths <- cbind(mdeaths, fdeaths) > res <- lapply(1:2, function(i) dygraph(lungDeaths[, i])) > htmltools::tagList(res) >}) > } > > # Run the application > shinyApp(u

Re: [R] ggridges help

2017-10-17 Thread Roy Mendelssohn - NOAA Federal
iam Dunlap wrote: > > 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 Mendel

Re: [R] ggridges help

2017-10-17 Thread Roy Mendelssohn - NOAA Federal
, min_height=-0.25) > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal > wrote: > I have tried: > > ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) + >

Re: [R] ggridges help

2017-10-17 Thread Roy Mendelssohn - NOAA Federal
de you tried that didn't work was? > > Bert > > > On Oct 17, 2017 12:22 PM, "Roy Mendelssohn - NOAA Federal" > 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

[R] ggridges help

2017-10-17 Thread Roy Mendelssohn - NOAA Federal
.239891529116349, 0.200137949677769, 0.2858429346658, -0.121094155739595), .Dim = 72L)), .Names = c("time", "depth", "cycle"), row.names = c(NA, -72L), class = "data.frame") ** "The contents of this message do not reflect any position

Re: [R] withr::set_makevars

2017-09-09 Thread Roy Mendelssohn - NOAA Federal
Lines(paste0(" > ", tryCatch(readLines(old_path), error=function(e)conditionMessage(e})) > > Then run your test and see what file set_makevars is complaining about and > what in the file might cause trouble for set_makevars. > > > Bill Dunlap > TIBCO Sof

Re: [R] withr::set_makevars

2017-09-06 Thread Roy Mendelssohn - NOAA Federal
on(e)conditionMessage(e})) > > Then run your test and see what file set_makevars is complaining about and > what in the file might cause trouble for set_makevars. > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com <http://tibco.com/> > On Wed, Se

[R] withr::set_makevars

2017-09-06 Thread Roy Mendelssohn - NOAA Federal
-18 cran (@1.0.1) ** "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

Re: [R] RMarkdown question

2017-08-29 Thread Roy Mendelssohn - NOAA Federal
s > 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 > wrote: >> Hi All: >> >> In creating a R Notebook I know that in the

[R] RMarkdown question

2017-08-29 Thread Roy Mendelssohn - NOAA Federal
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." ****

Re: [R] Extracting subset from netCDF file using lat/lon and converting into .csv in R

2017-08-28 Thread Roy Mendelssohn - NOAA Federal
quot;) > > tdstr <- strsplit(unlist(tustr)[3], "-") > > tmonth = as.integer(unlist(tdstr)[2]) > > tday = as.integer(unlist(tdstr)[3]) > > tyear = as.integer(unlist(tdstr)[1]) > > chron(time, origin = c(tmonth, tday, tyear)) > > *Any help would

Re: [R] Kalman filter for a time series

2017-07-30 Thread Roy Mendelssohn - NOAA Federal
ot;) > par(mfrow=c(1,1)) > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://w

Re: [R] Accessing Pointers

2017-06-22 Thread Roy Mendelssohn - NOAA Federal
read_html("http://www.msn.com";) > str(pg1) List of 2 $ node: $ doc : - attr(*, "class")= chr [1:2] "xml_document" "xml_node" ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ***

Re: [R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread Roy Mendelssohn - NOAA Federal
perm(apply(a, dims, 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 [

Re: [R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread Roy Mendelssohn - NOAA Federal
atitudes in the array is irrelevant, as long as the mapping is correct. -Roy > On Jun 1, 2017, at 1:35 PM, Ismail SEZEN wrote: > >> >> On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal >> wrote: >> >> Thanks to all for responses/. There was a

Re: [R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread Roy Mendelssohn - NOAA Federal
ative difference: 0.444 >" > [2] "Mean relative difference: 0.1262209" >> all.equal(f(z,4),f2(z,4)) > [1] "Attributes: < Component “dim”: Mean relative difference: 0.5714286 >" > [2] "Mean relative difference:

Re: [R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread Roy Mendelssohn - NOAA Federal
g 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 > wrote: >> Hi All: >> >> I have been looking for an elegant way to do the following, but

[R] Reversing one dimension of an array, in a generalized case

2017-06-01 Thread Roy Mendelssohn - NOAA Federal
*** "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*** 11

[R] Xtractomatic version 3.3.2 now available on CRAN

2017-05-23 Thread Roy Mendelssohn - NOAA Federal
ernment 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.mendelss..

[R] plotly example that highlights a line

2017-02-28 Thread Roy Mendelssohn - NOAA Federal
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-

[R] testers sought for xtractomatic-like package

2017-02-03 Thread Roy Mendelssohn - NOAA Federal
RNotebook downloaded from there. Thanks in advance 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 Environmenta

Re: [R] Error in R_nc4_open

2017-01-11 Thread Roy Mendelssohn - NOAA Federal
a slew of python code break for the same reason. And oddly enough versions of OS, versions and suppliers of python, and versions of OpenSSL greatly affect whether things work. -Roy ** "The contents of this message do not reflect any position of the U.S. Govern

Re: [R] Error in R_nc4_open

2017-01-11 Thread Roy Mendelssohn - NOAA Federal
nimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > P

[R] xtractomatic v3.2.0

2017-01-04 Thread Roy Mendelssohn - NOAA Federal
affected. Thanks, -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 Cent

Re: [R] Lubdridate: subset based on hour and minute

2017-01-02 Thread Roy Mendelssohn - NOAA Federal
ample like that via google. > > Joe > > On Mon, Jan 2, 2017 at 1:35 PM, Roy Mendelssohn - NOAA Federal > wrote: >>> test > hm("10:00") >> [1] FALSE FALSE TRUE TRUE >>> test[test > hm("10:00")] >> [1] "10H 30M 0S" &q

Re: [R] Lubdridate: subset based on hour and minute

2017-01-02 Thread Roy Mendelssohn - NOAA Federal
ng me the way and I'm missing it - how would I > subset to only 1030 and 1100, excluding 1000? It seems I would need to > say, give me all time greater than 10:00, but the hours and minutes > are in separate slots, which is throwing me off. > > Thanks again. > > On Mon, Ja

Re: [R] Lubdridate: subset based on hour and minute

2017-01-02 Thread Roy Mendelssohn - NOAA Federal
see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this message do not reflect any position of the

[R] xtractomatic package is now available in CRAN

2016-10-12 Thread Roy Mendelssohn - NOAA Federal
Bob Simons. -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 Scie

Re: [R] OPeNDAP access / OPeNDAP subsetting with R

2016-09-30 Thread Roy Mendelssohn - NOAA Federal
7;t work. > > which command should I use? > > with regards > -Deb > > > On Tue, Sep 27, 2016 at 9:30 PM, Michael Sumner wrote: > Opendap won't work on Windows CRAN build of ncdf4, though the rgdal build > does work directly on grib. > > Summary: dow

Re: [R] OPeNDAP access / OPeNDAP subsetting with R

2016-09-27 Thread Roy Mendelssohn - NOAA Federal
gt; the OPeNDAP link of the data > http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cfsv2_forecast_ts_9mon/2014/201404/20140403/2014040312/ > > datafile: > tmax.01.2014040312.daily.grb2 > > Thanks > -Deb > > On Tue, Sep 27, 2016 at 11:51 AM, Roy Mendelssohn - N

Re: [R] OPeNDAP access / OPeNDAP subsetting with R

2016-09-27 Thread Roy Mendelssohn - NOAA Federal
*** "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 address and phone*** 110

[R] Variable String formation

2016-09-22 Thread Roy Mendelssohn - NOAA Federal
tLoc can be 1,2,3,4) but this strikes me as pretty kludgy. I am hoping there is a more elegant way of doing this. Thanks, -Roy ********** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ** Roy Mendelssohn Supervisory

[R] Update to the xtractomatic package

2016-08-08 Thread Roy Mendelssohn - NOAA Federal
site https://github.com/rmendels/xtractomatic. Also there is the wonderful "rerddap" package from the rOpenSci folk which is available from CRAN. -Roy ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ******

Re: [R] open a zip file

2016-08-07 Thread Roy Mendelssohn - NOAA Federal
l; charset=iso-8859-1 Size: 235 B 404 Not Found Not Found The requested URL /disclosure-docs/monthly/mbs082016.zip was not found on this server. ** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ** Roy Mendelsso

Re: [R] about netcdf files

2016-08-01 Thread Roy Mendelssohn - NOAA Federal
n >>> Joint Research Centre - European Commission >>> Institute for Space, Security & Migration >>> Disaster Risk Management Unit >>> >>> Via E. Fermi 2749, TP 122, I-21027 Ispra (VA), ITALY >>> >>> jon.sko...@jrc.ec.europa.

Re: [R] about netcdf files

2016-07-26 Thread Roy Mendelssohn - NOAA Federal
-1)) where the -1 value tells it to get all the values along the time dimension. You now have that slice of the data stored in myPrecip. I hope this gets you started, but i strongly urge you to read through the link above. -Roy > > On Tue, Jul 26, 2016 at 2:52 PM, Roy Mendelssohn

Re: [R] about netcdf files

2016-07-26 Thread Roy Mendelssohn - NOAA Federal
ual and >> do not necessarily represent official views of the European Commission. >> > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the pos

Re: [R] C/C++/Fortran Rolling Window Regressions

2016-07-21 Thread Roy Mendelssohn - NOAA Federal
>>>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>>> PLEASE do read the posting guide >>>>> http://www.R-project.org/posting-guide.html &

Re: [R] a package-building opinion question, please

2016-07-08 Thread Roy Mendelssohn - NOAA Federal
mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this messa

Re: [R] netcdf data precision or least significant digit

2016-07-07 Thread Roy Mendelssohn - NOAA Federal
> to do with ncdf4 package. > > Please, forgive me for taking your time. > > >> On 08 Jul 2016, at 03:21, Roy Mendelssohn - NOAA Federal >> wrote: >> >> After looking at the file, doing an extract say into the variable uwind, if >> I do: >> &

Re: [R] netcdf data precision or least significant digit

2016-07-07 Thread Roy Mendelssohn - NOAA Federal
must be equal. > > 1- http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis2.html > 2- > ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis2.dailyavgs/pressure/uwnd.2015.nc > > > >> On 08 Jul 2016, at 02:27, Roy Mendelssohn - NOAA Federal >> wrote: >&g

Re: [R] netcdf data precision or least significant digit

2016-07-07 Thread Roy Mendelssohn - NOAA Federal
gt;>>> and provide commented, minimal, self-contained, reproducible code. >>> >>> __ >>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>

Re: [R] dplyr : row total for all groups in dplyr summarise

2016-07-06 Thread Roy Mendelssohn - NOAA Federal
) %>% >mutate(rel.freq = paste0(round(100 * n/sum(n), 0), "%")) %>% >ungroup() %>% plyr::rbind.fill(data.frame( n=nrow(mtcars),rel.freq="100%")) > > > Seems to work. > -- > David >> >> Thanks, >> >> -Roy >>

Re: [R] Extracting matrix from netCDF file using ncdf4 package

2016-07-02 Thread Roy Mendelssohn - NOAA Federal
at.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this message do not reflect any position of the U.S. Government or NOAA

Re: [R] How to get bathymetry data using R

2016-06-11 Thread Roy Mendelssohn - NOAA Federal
[[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html &

Re: [R] system() command not working

2016-06-04 Thread Roy Mendelssohn - NOAA Federal
! > > > > > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the

Re: [R] Request for help

2016-06-03 Thread Roy Mendelssohn - NOAA Federal
indly put the book online, at http://r-pkgs.had.co.nz/intro.html -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

Re: [R] Matrix multiplications

2016-05-21 Thread Roy Mendelssohn - NOAA Federal
ee > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ** "The contents of this message do not reflect any position of the

Re: [R] Unexpected values obtained when reading in data using ncdf and ncdf4

2016-04-22 Thread Roy Mendelssohn - NOAA Federal
nography > Scripps Institution of Oceanography, La Jolla, California, USA > (858) 534-8276 (voice) / (858) 534-8561 (fax)dpie...@ucsd.edu > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list

  1   2   3   >