-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.Rmd
More file actions
42 lines (32 loc) · 809 Bytes
/
readme.Rmd
File metadata and controls
42 lines (32 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
output:
md_document:
variant: markdown_github
editor_options:
chunk_output_type: console
---
[](https://travis-ci.org/mdsumner/splat)
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
```{r}
load("D:/twotera/GIT/splat/bulkdata/082_WI_MARCH2013fitSST.RData")
#load("bulkdata/19747_WI_DEC2011fitSST.RData")
library(raster)
library(splat)
library(dplyr)
system.time(
sx <- splat(fit)
)
r <- attr(sx, "grid")
ssx <- sx %>% group_by(cell) %>% summarize(bin = sum(bin))
r[ssx$cell] <- ssx$bin
plot(r, zlim = c(0, 7e3))
print(format(object.size(fit), units = "Mb"))
str(fit)
```