-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long extract time for multiband raster #45
Comments
I'd first suggest updating to the most current version. From the changelog, it looks like this may have been addressed in June with version 0.4.0. If the problem persists, can you please share enough data and code that I can reproduce it? |
Thanks for the quick reply. I updated, but now I get the following error on running for any stack
I'll reboot and try again. From what I can see, there are no changes in syntax that would have made a difference. |
This error occurs with the basic example as well (below). I probably have other packages to update to get this to work. I'll check dependency versions and try again. Most likely in a few weeks.
|
Need 0.9.0 for by_geometry argument to st_geometry_type References #45
Looks like you need |
Closing for now; please re-open if you're seeing the performance problem with a current version. |
This is still an issue with the current version. I could send an 8mb subsection of the raster and the vector layer that I'm working with. Would that help? |
Yes please. Whatever data/code is needed to reproduce would be helpful. |
Are you able to provide anything to reproduce this, @SFrav ? |
@dbaston, all the reproducible examples that I've produced resolve the processing time issue. Cropping the problem layers seems to resolve it - even with a large buffer around them. The original files are 900mb+ Even reducing the extent by a small amount resolves it. I'll close for now. |
Thanks for trying. I'm fine with debugging this on the original layers, but I understand you may not be able to share them. |
It's all open data, so no worries there. Coming your way in a few hrs. |
It looks like the issue is somewhat particular to this dataset. If you look at the
With a stack of N layers, every time we try to read a location we are pulling in 120 million * N pixels. This doesn't fit in the cache, so we end up reading from disk every time, and subsequent reads are not significantly faster than the initial one.
The second dataset (
|
Ok. That was the other difference I mentioned in the first post. I don't quite understand how block size is set. From what you've said above I understand that it defines the number of pixels bought into memory by default - or something along those lines. Is it set when exporting using, say, gdal? Is there a way to set block size when importing in R or Python? |
The block size is set when writing the file. By default, GDAL will use a block size of a single row...in this case, You can customize that with, e.g.,
which gives 256x256, or
which gives 512x512. It does seem odd to me if SNAP is writing these with a block size of One last thing. GDAL must read an entire block at a time if the GeoTIFF is compressed, but if it is uncompressed it can read only the requested window. I noticed that |
Need 0.9.0 for by_geometry argument to st_geometry_type References isciences/exactextractr#45
There's probably something basic that I'm doing wrong here, but I have two raster stacks that are derived from the same primary source (same resolution, extent and number of layers). With a vector layer of ~40k features, one stack takes minutes and the other stack took about 18 hours.
The only difference that I can see is that the one that took way longer has two bands.
I imported that one like so:
st_laiSNAP <- stack(list.files(path = 'LAI_S2_SNAP/', pattern = "\\.tif$", full.names = T), bands = 1)
The output of
str
on the problem stack is belowThe differences I see are:
The exactextractr output of the problem stack is just as expected. No problems there.
With the same resolution, extent, n layers and features, why is there such a big difference in processing time?
Exactextractr version: 0.2.1
Problem stack:
Formal class 'RasterStack' [package "raster"] with 11 slots
..@ filename: chr ""
..@ layers :List of 6
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A006069_20180505T112304_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi TRUE
.. .. .. .. .. ..@ min : num -0.672
.. .. .. .. .. ..@ max : num 13.9
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006069_20180505T112304_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A006355_20180525T112111_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006355_20180525T112111_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A006398_20180528T113438_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006398_20180528T113438_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A006541_20180607T113457_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006541_20180607T113457_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A006927_20180704T112112_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006927_20180704T112112_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "\L1C_T30UWG_A015764_20180629T112537_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A015764_20180629T112537_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
..@ title : chr(0)
..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. ..@ xmin: num 5e+05
.. .. ..@ xmax: num 609780
.. .. ..@ ymin: num 6090240
.. .. ..@ ymax: num 6200040
..@ rotated : logi FALSE
..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. ..@ geotrans: num(0)
.. .. ..@ transfun:function ()
..@ ncols : int 10980
..@ nrows : int 10980
..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
..@ history : list()
..@ z : list()
Problem stack
Formal class 'RasterStack' [package "raster"] with 11 slots
..@ filename: chr ""
..@ layers :List of 6
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A006069_20180505T112304_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi TRUE
.. .. .. .. .. ..@ min : num -0.672
.. .. .. .. .. ..@ max : num 13.9
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006069_20180505T112304_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A006355_20180525T112111_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006355_20180525T112111_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A006398_20180528T113438_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006398_20180528T113438_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A006541_20180607T113457_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006541_20180607T113457_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A006927_20180704T112112_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A006927_20180704T112112_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
.. ..$ :Formal class 'RasterLayer' [package "raster"] with 12 slots
.. .. .. ..@ file :Formal class '.RasterFile' [package "raster"] with 13 slots
.. .. .. .. .. ..@ name : chr "C:\Users\Simon\Documents\GAAFS\Ideas\EOcropModel\LAI_S2_SNAP\L1C_T30UWG_A015764_20180629T112537_10m_lai.tif"
.. .. .. .. .. ..@ datanotation: chr "FLT4S"
.. .. .. .. .. ..@ byteorder : chr "little"
.. .. .. .. .. ..@ nodatavalue : num -Inf
.. .. .. .. .. ..@ NAchanged : logi FALSE
.. .. .. .. .. ..@ nbands : int 2
.. .. .. .. .. ..@ bandorder : chr "BIL"
.. .. .. .. .. ..@ offset : int 0
.. .. .. .. .. ..@ toptobottom : logi TRUE
.. .. .. .. .. ..@ blockrows : int 10980
.. .. .. .. .. ..@ blockcols : int 10980
.. .. .. .. .. ..@ driver : chr "gdal"
.. .. .. .. .. ..@ open : logi FALSE
.. .. .. ..@ data :Formal class '.SingleLayerData' [package "raster"] with 13 slots
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ offset : num 0
.. .. .. .. .. ..@ gain : num 1
.. .. .. .. .. ..@ inmemory : logi FALSE
.. .. .. .. .. ..@ fromdisk : logi TRUE
.. .. .. .. .. ..@ isfactor : logi FALSE
.. .. .. .. .. ..@ attributes: list()
.. .. .. .. .. ..@ haveminmax: logi FALSE
.. .. .. .. .. ..@ min : num Inf
.. .. .. .. .. ..@ max : num -Inf
.. .. .. .. .. ..@ band : int 1
.. .. .. .. .. ..@ unit : chr ""
.. .. .. .. .. ..@ names : chr "L1C_T30UWG_A015764_20180629T112537_10m_lai"
.. .. .. ..@ legend :Formal class '.RasterLegend' [package "raster"] with 5 slots
.. .. .. .. .. ..@ type : chr(0)
.. .. .. .. .. ..@ values : logi(0)
.. .. .. .. .. ..@ color : logi(0)
.. .. .. .. .. ..@ names : logi(0)
.. .. .. .. .. ..@ colortable: logi(0)
.. .. .. ..@ title : chr(0)
.. .. .. ..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. .. .. .. ..@ xmin: num 5e+05
.. .. .. .. .. ..@ xmax: num 609780
.. .. .. .. .. ..@ ymin: num 6090240
.. .. .. .. .. ..@ ymax: num 6200040
.. .. .. ..@ rotated : logi FALSE
.. .. .. ..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. .. .. .. ..@ geotrans: num(0)
.. .. .. .. .. ..@ transfun:function ()
.. .. .. ..@ ncols : int 10980
.. .. .. ..@ nrows : int 10980
.. .. .. ..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. .. .. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
.. .. .. ..@ history : list()
.. .. .. ..@ z : list()
..@ title : chr(0)
..@ extent :Formal class 'Extent' [package "raster"] with 4 slots
.. .. ..@ xmin: num 5e+05
.. .. ..@ xmax: num 609780
.. .. ..@ ymin: num 6090240
.. .. ..@ ymax: num 6200040
..@ rotated : logi FALSE
..@ rotation:Formal class '.Rotation' [package "raster"] with 2 slots
.. .. ..@ geotrans: num(0)
.. .. ..@ transfun:function ()
..@ ncols : int 10980
..@ nrows : int 10980
..@ crs :Formal class 'CRS' [package "sp"] with 1 slot
.. .. ..@ projargs: chr "+proj=utm +zone=30 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0"
..@ history : list()
..@ z : list()
The text was updated successfully, but these errors were encountered: