From Shiyang.Bi at rice.edu Thu Aug 3 21:18:14 2017 From: Shiyang.Bi at rice.edu (Shiyang.Bi) Date: Thu, 03 Aug 2017 14:18:14 -0500 Subject: [Rnomads-user] Quick question about rNOMADS Message-ID: <20170803141814.Horde.pFPPqbgwQZi0lPZ_jnMYDA1@webmail.mail.rice.edu> -- Shiyang Bi Civil and Environmental Engineering Department, Rice University Houston TX Mobile: +1-2812367328 -------------- next part -------------- An embedded message was scrubbed... From: "Shiyang.Bi" Subject: Quick question about rNOMADS Date: Thu, 03 Aug 2017 14:10:08 -0500 Size: 1583 URL: From danny.c.bowman at gmail.com Sun Aug 6 13:56:14 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Sun, 6 Aug 2017 05:56:14 -0600 Subject: [Rnomads-user] Quick question about rNOMADS In-Reply-To: <20170803141814.Horde.pFPPqbgwQZi0lPZ_jnMYDA1@webmail.mail.rice.edu> References: <20170803141814.Horde.pFPPqbgwQZi0lPZ_jnMYDA1@webmail.mail.rice.edu> Message-ID: Hi Shiyang, Thank you for letting me know about this issue. You've definitely found a bug! Try "grib1" and it should work. r2=GribInfo("C:/Users/Shiyang/Desktop/1.grb","grib1") I'll fix that issue in the next release. Best, Danny On Thu, Aug 3, 2017 at 1:18 PM, Shiyang.Bi wrote: > > > -- > Shiyang Bi > Civil and Environmental Engineering Department, Rice University > Houston TX > Mobile: +1-2812367328 > > > ---------- Forwarded message ---------- > From: "Shiyang.Bi" > To: daniel.bowman at unc.edu > Cc: > Bcc: > Date: Thu, 03 Aug 2017 14:10:08 -0500 > Subject: Quick question about rNOMADS > Dear Daniel Bowman: > > I'm Shiyang, a user of the rNOMADS package you created. I should say this > package is so helpful especially for the grib beginner like me. However, an > error says: "Did not recognise file type grib. Please use grib2 or grib." > occurs when I want to get the inventory of a grib file through Wgrib (It > works when I request grib2 file using Wgrib2). The code and error show as > fellow: > >> r2=GribInfo("C:/Users/Shiyang/Desktop/1.grb","grib") > > Error in GribInfo("C:/Users/Shiyang/Desktop/1.grb", "grib.") : > Did not recognise file type grib. Please use "grib2" or "grib." > > I try using "grib." instead of "grib", still not work. > >> r2=GribInfo("C:/Users/Shiyang/Desktop/1.grb","grib.") > > Error in GribInfo("C:/Users/Shiyang/Desktop/1.grb", "grib") : > Did not recognise file type grib.. Please use "grib2" or "grib." > > > Really looking forward to hearing from you > > Thank you > Shiyang > > -- > Shiyang Bi > Civil and Environmental Engineering Department, Rice University > Houston TX > Mobile: +1-2812367328 > > _______________________________________________ > Rnomads-user mailing list > Rnomads-user at lists.r-forge.r-project.org > http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rnomads-user > From Javier.FLUIXA at crealp.vs.ch Wed Aug 9 11:39:19 2017 From: Javier.FLUIXA at crealp.vs.ch (Javier FLUIXA) Date: Wed, 9 Aug 2017 09:39:19 +0000 Subject: [Rnomads-user] rNOMADS package - Reading grb2 files Message-ID: <110c00dd828e4aaea8dde8df7884c912@MAIL-P03.infra.vs.ch> Dear developer of the rNOMADS package, I am an engineer in a Swiss research center and I am currently working with the seasonal forecasts of the NOAA. I'm using the R environment to read and manipulate the timeseries files I have downloaded (e.g. those you can find here http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/cfs/cfs.20170808/06/time_grib_01/). I've tried to read them with the readGDAL function of the rgdal package. However, when I read them all the data is null because I don't have the JPEG2000 driver. So I decided to use the rNOMADS package. The problem is I cannot read directly the grb file I downloaded; I can only read those downloaded from specific links (extracted using NOMADSArchiveList() or NOMADSRealTimeList() functions), which are in 6hrly_grib format (not very convenient for my purposes...). Is there a direct way of reading already downloaded timeseries grib files using the rNOMADS package? Thank you very much for your help. Yours sincerely, Javier F. PS: I include a link where you can download one of the grib2 files I'm working with: http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/cfs/cfs.20170808/06/time_grib_01/prate.01.2017080806.daily.grb2 [cid:image003.png at 01D31104.22F6B010] Javier FLUIX? SANMART?N Civil Engineer & MSc Hydraulic Engineering UPV Hydrology and Hydraulics Specialist Office: Mobile : e-mail : + 41 27 607 11 78 + 41 76 473 13 46 javier.fluixa at crealp.vs.ch ________________________________ www.crealp.ch Tel. + 41 27 607 11 80 Fax + 41 27 607 11 94 Centre de recherche sur l'environnement alpin Rue de l'Industrie 45, CH-1951 Sion P Merci de penser ? l'environnement avant d'imprimer ce courriel ! Attention : les seules extensions autoris?es par notre messagerie sont .doc, .xls, .pdf, .txt, .ppt, png, jpeg et .zip sans mot de passe. Toutes les pi?ces jointes comportant d'autres extensions sont automatiquement supprim?es. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 5577 bytes Desc: image003.png URL: From danny.c.bowman at gmail.com Mon Aug 14 05:13:46 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Sun, 13 Aug 2017 21:13:46 -0600 Subject: [Rnomads-user] rNOMADS package - Reading grb2 files In-Reply-To: <110c00dd828e4aaea8dde8df7884c912@MAIL-P03.infra.vs.ch> References: <110c00dd828e4aaea8dde8df7884c912@MAIL-P03.infra.vs.ch> Message-ID: Dear Javier, First of all, my apologies for taking so long to get back to you. I tried reading your file using the rNOMADS ReadGrib() function and it was not successful. Specifically, it took a very long time and never seemed to complete. I share your frustration with reading grib files in R (and in general). They are difficult. rNOMADS is primarily concerned with interfacing with the NOMADS data portal on the NOAA web site. Unfortunately, I don't have the time or the resources to add support for grib files that do not conform to their standards. My recommendation is to see if this tool can be used to read grib time series: http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ Regards, Danny On Wed, Aug 9, 2017 at 3:39 AM, Javier FLUIXA wrote: > Dear developer of the rNOMADS package, > > > > I am an engineer in a Swiss research center and I am currently working > with the seasonal forecasts of the NOAA. > > > > I?m using the R environment to read and manipulate the *timeseries* files > I have downloaded (e.g. those you can find here > http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/ > cfs/cfs.20170808/06/time_grib_01/). I?ve tried to read them with the > readGDAL function of the rgdal package. However, when I read them all the > data is null because I don?t have the JPEG2000 driver. > > > > So I decided to use the rNOMADS package. The problem is I cannot read > directly the grb file I downloaded; I can only read those downloaded from > specific links (extracted using NOMADSArchiveList() or NOMADSRealTimeList() > functions), which are in 6hrly_grib format (not very convenient for my > purposes?). > > > > Is there a direct way of reading *already downloaded timeseries* grib > files using the rNOMADS package? > > > > Thank you very much for your help. Yours sincerely, > > Javier F. > > > > PS: I include a link where you can download one of the grib2 files I?m > working with: > > http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/ > cfs/cfs.20170808/06/time_grib_01/prate.01.2017080806.daily.grb2 > > > > > > *Javier FLUIX? SANMART?N* > *Civil Engineer & MSc Hydraulic Engineering UPV* > > Hydrology and Hydraulics Specialist > > > > Office: > > Mobile : > > e-mail : > > *+ 41 27 607 11 78 <+41%2027%20607%2011%2078>* > > *+ 41 76 473 13 46 <+41%2076%20473%2013%2046>* > > *javier.fluixa at crealp.vs.ch * > * ------------------------------ * > > *www.crealp.ch* > > *Tel. + 41 27 607 11 80 <+41%2027%20607%2011%2080>* > > *Fax + 41 27 607 11 94 <+41%2027%20607%2011%2094>* > > > > Centre de recherche sur l'environnement alpin > > Rue de l'Industrie 45, CH-1951 Sion > > *P **Merci de penser ? l'environnement avant d'imprimer ce courriel !* > > *Attention : les seules extensions autoris?es par notre messagerie sont > .doc, .xls, .pdf, .txt, .ppt, png, jpeg et .zip sans mot de passe. Toutes > les pi?ces jointes comportant d?autres extensions sont automatiquement > supprim?es.* > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 5577 bytes Desc: not available URL: From jmdpar at gmail.com Tue Aug 15 14:39:42 2017 From: jmdpar at gmail.com (Jose M) Date: Tue, 15 Aug 2017 13:39:42 +0100 Subject: [Rnomads-user] problems installing wgrib2 in OSX Message-ID: <149C7671-7C34-40D8-BB32-E1008AB0FB13@gmail.com> Dear rNOMADS creators, I am trying to install the wgrib2 on OSX (last version available) and after more than a day I have to ask for help as I cannot do it. I have tried all forums and modified the makefile but I keep having problems so I cannot use it. I wonder if you could help me. Thank you for your support Jose From danny.c.bowman at gmail.com Sun Aug 20 07:20:38 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Sat, 19 Aug 2017 23:20:38 -0600 Subject: [Rnomads-user] installing wgrib2 in OSX Message-ID: Hi Jose, I apologize for the late reply. Installing wgrib2 on OSX took me a long time to figure out, so I understand your frustration. Just now, I went ahead and wrote a blog post on how to install it: https://bovineaerospace.wordpress.com/2017/08/20/how-to-install-wgrib2-in-osx/ Please let me know if these instructions work for you. Best, Danny