From walsh124 at vt.edu Thu Nov 9 02:14:34 2017 From: walsh124 at vt.edu (Stephen Walsh) Date: Wed, 8 Nov 2017 20:14:34 -0500 Subject: [Rnomads-user] Trouble viewing GRIB Message-ID: Hello, My name is Steve Walsh and I am a first year statistics graduate student at Virginia Tech. I have very little programming experience, so this is my first time trying to use GRIB data. I downloaded data from UCAR at the following site: https://data.eol.ucar.edu/cgi-bin/codiac/fgr_form/id=21.093 (example file name after unzipping: ST4.2004081212.06h) >From looking at the example provided in the help file, it seems that you need to use a URL to look at the data. However, since I am getting the data via FTP, I tried to use the link that contained the different GRIB files, but I think this is causing trouble because (1) the files are compressed .Z files and (2) the link isn't directly to a single file, it is a link that has the downloads for each of the files altogether. Is there a way to load files on your local hard drive, rather than using a URL? I also understand that I should install rNOMADS with GRIB file support based on this article: https://www.r-bloggers.com/how-to-install-rnomads-with-grib-file-support-on-windows/ I followed the instructions but when I get to the very last step and run *system("wgrib2")*, I receive the following: *Warning message:* *running command 'wgrib2' had status 127 * I would greatly appreciate any help or words of wisdom you can offer with this. Thanks for everything you do to make R a more accessible resource! Take care, Steve Walsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From danny.c.bowman at gmail.com Mon Nov 13 05:26:20 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Sun, 12 Nov 2017 21:26:20 -0700 Subject: [Rnomads-user] Trouble viewing GRIB In-Reply-To: <2db59230b8de4dcaa86e7f5d0a8f7102@CY1PR0301MB0891.namprd03.prod.outlook.com> References: <2db59230b8de4dcaa86e7f5d0a8f7102@CY1PR0301MB0891.namprd03.prod.outlook.com> Message-ID: Hi Stephen, I'm sorry you're having issues. Can you send me the file you're trying to read, and a copy of the script you're trying to use? It's hard to say what the problem is without the exact inputs. Best, Danny On Wed, Nov 8, 2017 at 6:14 PM, Stephen Walsh wrote: > Hello, > > My name is Steve Walsh and I am a first year statistics graduate student at > Virginia Tech. I have very little programming experience, so this is my > first time trying to use GRIB data. I downloaded data from UCAR at the > following site: https://data.eol.ucar.edu/cgi-bin/codiac/fgr_form/id=21.093 > (example file name after unzipping: ST4.2004081212.06h) > > From looking at the example provided in the help file, it seems that you > need to use a URL to look at the data. However, since I am getting the data > via FTP, I tried to use the link that contained the different GRIB files, > but I think this is causing trouble because (1) the files are compressed .Z > files and (2) the link isn't directly to a single file, it is a link that > has the downloads for each of the files altogether. Is there a way to load > files on your local hard drive, rather than using a URL? > > I also understand that I should install rNOMADS with GRIB file support based > on this article: > https://www.r-bloggers.com/how-to-install-rnomads-with-grib-file-support-on-windows/ > > I followed the instructions but when I get to the very last step and run > system("wgrib2"), I receive the following: Warning message: > running command 'wgrib2' had status 127 > > I would greatly appreciate any help or words of wisdom you can offer with > this. Thanks for everything you do to make R a more accessible resource! > > Take care, > Steve Walsh From danny.c.bowman at gmail.com Tue Nov 14 06:11:32 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Mon, 13 Nov 2017 22:11:32 -0700 Subject: [Rnomads-user] Issues with special characters (like parentheses) in level names for ReadGrib Message-ID: Hi All, A user kindly pointed out an issue reading grib files with level names like entire atmosphere (considered as a single layer) In this case ReadGrib is returning vectors of length 0. I have fixed the problem and will release a new version soon. In the meantime, feel free to contact me for the new version of ReadGrib. Danny From danny.c.bowman at gmail.com Wed Nov 29 06:19:32 2017 From: danny.c.bowman at gmail.com (Daniel Bowman) Date: Tue, 28 Nov 2017 22:19:32 -0700 Subject: [Rnomads-user] rNOMADS 2.3.8 released Message-ID: Hello all, I have been planning some substantial revisions to ReadGrib(), but in the meantime several users have had issues with parentheses in variable names and problems reading files in Windows. So I've released this interim version that fixes those problems. The next release (2.4.0) will substantially modify ReadGrib(): 1. You will not have to specify variables and levels if you don't want to. 2. You have the option of just reading the file inventory (I get a lot of questions asking how to tell what's in a grib file, and this makes more sense then redirecting people to GribInfo()) 3. Parts of it will be vectorized per Antonious Papautsakis' revisions (thank you! you will be listed as contributor). More suggestions are welcome in the meantime. Best, Danny