Description Usage Arguments Value Note See Also Examples
Repartions a scidb array with new chunk and overlap sizes. It will move the values into new chunks.
1 2 | ## S4 method for signature 'scidbst'
repart(x, schema, upper, chunk, overlap)
|
x |
the scidbst array |
schema |
The new schema as a string |
upper |
A vector of upper boundaries for the array |
chunk |
A vector of chunksizes for each dimension |
overlap |
A vector of chunk overlaps for the repartitioned array |
scidbst array with modified chunks
This function might take a while, because all data values need to be moved (restored) accordingly. You might either state a valid schema parameter or build a schema from the parameters "upper", "chunk" and "overlap".
1 2 3 4 5 6 7 8 | ## Not run:
scidbconnect()
trmm.sub = scidbst("trmm_sub")
# repartition the array by stating a new schema with the same attributes and dimensions
trmm.reparted = repart(trmm.sub,schema="<band1:double,dimy:double,dimx:double,dimt:double>[y=0:399,30,1,x=0:1439,30,1,t=0:*,365,6]")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.