[Rnomads-user] cygwin warning on ReadGrib.
Jason G. Su
jasonsu at berkeley.edu
Thu Mar 1 09:28:59 CET 2018
Dear Dr. Bowman,
I really appreciated the efforts you made on downloading and processing NOAA
Grib data in an R environment. I downloaded several years of NOAA historical
weather forecast data (grib or grib2) and wanted to assign hourly weather
data to millions of records of asthma rescue medication use with their
lat/lng information. There are several things that I cannot figure out and I
am grateful if you could provide suggestions:
1. ReadGrib function never worked in my code: an error message always
showed up as "Error in if (csv.str[1] == "cygwin warning:") { : missing
value where TRUE/FALSE needed". Could you provide some suggestions on why
this occurred and how to correct for that?
2. Though I could get a list of forecasts, levels and variables through
the ParseModelPage function data grabbed through CrawlModels, I cannot find
a way to get similar parameters on the grib and grib2 files stored locally.
I believe relative path function also works in rnomads package. Any
suggestions on this?
3. I need assign date and time weather conditions to millions of medical
records of corresponding date and time based on spatial locations. Do you
have any suggestions on how to do that?
Thanks,
Jason G. Su
-----------------------------------------
Jason G. Su, PhD
Associate Researcher and Principal Investigator
Environmental Health Sciences
School of Public Health
University of California, Berkeley
Berkeley, CA 94720-7360
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rnomads-user/attachments/20180301/161fcf69/attachment.html>
More information about the Rnomads-user
mailing list