[Rnomads-user] Work around for XML_PARSE_HUGE errors

Bowman, Daniel haksaeng at live.unc.edu
Thu Dec 31 01:33:43 CET 2015


Hi all,


An rNOMADS user had an issue a while back parsing grib repositories:

Error: Excessive depth in document: 256 use XML_PARSE_HUGE option [1]


After a lot of back and forth, head scratching, etc, the best I can do at this point is suggest using a forked version of the xml2 package that makes the problem go away:


library(drat)
drat:::add("shabbychef")
install.packages('xml2')

I will be considering how to fix the error in the official rNOMADS library (without requiring users to install non-CRAN libraries), but please use this work around for now.


Best,


Danny


Daniel C. Bowman
Doctoral Candidate in Geophysics
UNC Chapel Hill
phone: 575-418-8555
curriculum vitae:  http://www.unc.edu/~haksaeng/curriculum_vitae/bowman_cv.pdf
LinkedIn:  https://www.linkedin.com/in/dannycbowman
web:http://geosci.unc.edu/page/daniel-c-bowman
twitter: @dannycbowman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rnomads-user/attachments/20151231/8ed5d706/attachment.html>


More information about the Rnomads-user mailing list