Skip to content

Commit

Permalink
start on precip data fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan S Read committed Oct 30, 2017
1 parent c6ab21a commit 5ce5e3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/fetch/precip_grid_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
fetch.precip_grid_data <- function(viz){
deps <- readDepends(viz)
checkRequired(deps, c("grid"))
as(deps[['grid']], "Spatial")
grid <- deps[['grid']]
sp_grid <- as(grid, "Spatial")
sp_grid_WGS84 <- sp::spTransform(sp_grid, "+proj=longlat +datum=WGS84")

stencil <- geoknife::simplegeom(sp_grid_WGS84)
warning('the rest is not implemented')
}
3 changes: 3 additions & 0 deletions viz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ info:
svglite:
repo: CRAN
version: 1.2.0
sp:
repo: CRAN
version: 1.2.5
parameter:
-
id: spatial_metadata
Expand Down

0 comments on commit 5ce5e3a

Please sign in to comment.