Skip to content

Commit

Permalink
the dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Oct 4, 2018
1 parent 91e7e62 commit 0344cdb
Show file tree
Hide file tree
Showing 2 changed files with 1,239 additions and 15 deletions.
20 changes: 18 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output: github_document
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = ""
)
```
# weird.nc
Expand All @@ -29,5 +29,21 @@ There are some weird and wonderful files in the extdata/ on their own, from my p
## The list

```{r, echo=FALSE}
writeLines(readLines("weirdlist.txt"))
files <- readLines("weirdlist.txt")
writeLines(files)
```


## The ncdumps -h


```{r,echo=FALSE}
for (i in seq_along(files)) {
cat("###############################################################################\n")
cat(files[i])
cat("\n\n\n\n")
dump <- system(sprintf("ncdump -h %s", file.path("extdata", files[i])), intern = TRUE)
writeLines(dump)
cat("\n\n\n\n")
}
```
Loading

0 comments on commit 0344cdb

Please sign in to comment.