Last active
December 15, 2015 07:49
-
-
Save xuanlongma/5226770 to your computer and use it in GitHub Desktop.
read TRMM 3B43 V7 data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## TRMM 3B43 Monthly precipitation does NOT need flip (which 3B42 need) | |
r.trmm <- raster(nrows = 400, ncols = 1440, xmn = 0, xmx = 360, ymn = | |
-50, ymx = 50, crs="+proj=longlat +datum=WGS84") | |
r.trmm[] <- readBin(files.input, 'double', n = 576000, size = 4, | |
endian = 'big') | |
## TRMM 3B42 | |
## r.trmm <- flip(rotate(r.trmm), 'y') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment