Skip to content

Commit

Permalink
EURO-CORDEX_81_DOMAIN000 example for stars
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Oct 4, 2018
1 parent 30d6563 commit 65a62da
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
system("tar cvzf weird.tar.gz extdata")
library(piggyback)
library(piggyback)
pb_upload("weird.tar.gz")
pb_upload("weird.tar.gz")
pb_upload("weird.tar.gz", tag = "v0.0.1")
guess_repo()
piggyback:::guess_repo()
pb_upload("weird.tar.gz", repo = "https://github.com/mdsumner/weird.nc", tag = "v0.0.1")
pb_upload("weird.tar.gz", repo = "mdsumner/weird.nc", tag = "v0.0.1")
setwd("..")
pb_download("weird.tar.gz", repo = "mdsumner/weird.nc")
setwd("weird.nc")
pb_download("weird.tar.gz", repo = "mdsumner/weird.nc")
pb_download("weird.tar.gz", repo = "mdsumner/weird.nc", dest dest = "~")
pb_download("weird.tar.gz", repo = "mdsumner/weird.nc", dest dest = tempdir())
pb_download("weird.tar.gz", repo = "mdsumner/weird.nc", dest = "~")
stars::read_stars
unlink("weird.tar.gz")
system("tar cvzf weird.tar.gz extdata")
library(piggyback)
pb_upload("weird.tar.gz", tag = "v0.0.2")
4 changes: 3 additions & 1 deletion R/weird_update.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
unlink("weird.tar.gz")
system("tar cvzf weird.tar.gz extdata")
files <- list.files("extdata", recursive = TRUE)
writeLines(files, "weirdlist.txt")
library(piggyback)
pb_upload("weird.tar.gz", tag = "v0.0.2")
pb_upload("weird.tar.gz", tag = "v0.0.3")
12 changes: 12 additions & 0 deletions weirdlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dt_ref_global_merged_madt_uv_19921014_19921014_20060315.nc
EURO-CORDEX_81_DOMAIN000_54/EURO-CORDEX_81_DOMAIN000.nc
EURO-CORDEX_81_DOMAIN000_54/issue_54.R
file.nc
hmr_ita.nc
nhsce_v01r01_19661004_20140203.nc
oscar_gdr_5d1993.nc
R13352.nc
ssh05d19921006.nc
test.nc_60/num60.R
test.nc_60/test.nc
timeseries.nc

0 comments on commit 65a62da

Please sign in to comment.