Comments (3)
Here's the error structure reported by at least 2 people independently:
Error in data.table::fread(paste("unzip -p", f, fp), na.strings = na9(), : File is empty: [Rtempfile]
In addition: Warning messages:
1: running command 'C:\Windows\system32\cmd.exe /c (unzip -p [path].zip [pfile].txt) > [Rtempfile]
had status 1
2: In shell(paste("(", input, ") > ", tt, sep = "")) : '(unzip -p [path].zip [pfile].txt) > [Rtempfile]'
execution failed with error code 1
[pfile] being the produkt file, e.g. produkt_klima_tag_19370101_19860630_00001.txt
for [path] DWDdata/daily_kl_historical_tageswerte_KL_00001_19370101_19860630_hist.zip
or produkt_klima_tag_20160225_20170827_03987.txt for DWDdata/daily_kl_recent_tageswerte_KL_03987_akt.zip
from rdwd.
For 10 minute data, there is 64-bit formatted columns needing the package bit64 if fread=TRUE/NA.
See 5a3f38e
from rdwd.
A new error message was reported in #23, but I think it's the same problem.
'unzip' is not recognized as an internal or external command, operable program or batch file.
'(unzip -p [path].zip [pfile].txt) > [Rtempfile]'
execution failed with error code 1
File '[Rtempfile]' has size 0. Returning a NULL data.frame. File contains no rows: [path].zip
It seems the system command unzip
is not available by default on Windows (source).
On my computer, it is found in Rtools:
Sys.which("unzip")
gives me c:\\Rtools\\bin\\unzip.exe
from rdwd.
Related Issues (20)
- dataDWD: should dbin default be TRUE? HOT 1
- readDWD change argument list to `type`
- Unzip function for windows HOT 15
- readDwd is creating error in a windows pc HOT 3
- website in documentations
- doc references
- add use case: values at locations in grid
- grib2 reading fails HOT 8
- Several links to ftp://opendata.dwd.de in documentation fail HOT 2
- air_temperature history hourly data link is not working. HOT 2
- local test dir
- metaInfo() - start/end date HOT 7
- expand per="hr" to all options HOT 1
- the 'wininet' method for ftp:// URLs is defunct HOT 3
- reduce index size HOT 9
- properly vectorize selectDWD in expansive mode HOT 10
- hr argument
- Please remove dependencies on **rgdal**, **rgeos**, and/or **maptools** HOT 2
- website update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdwd.