appelmar / gdalcubes

Creating and analyzing Earth observation data cubes in R
https://gdalcubes.github.io
Other
120 stars 28 forks source link

How to work at the native resolution? #21

Open liuyadong opened 5 years ago

liuyadong commented 5 years ago

Hi, if not specify an view in raster_cube, the default overview has a coarse resolution, which maybe not what we want. So what’s the easiest way to work on the native resolution? Suppose I want to stitch files without any other operations.

appelmar commented 5 years ago

Hi, the idea of the default view was simply to provide a quick look at the data. I think that in most cases it does make sense to let users explicitly tell "I want to work at full resolution", because this may involve long computation times. The only way to do this at the moment is to provide a custom data cube view, and setting dx, dy, dt, and srs accordingly.

For image stitching (spatial mosaics?), gdalcubes calls gdalwarp to reproject, rescale, resample, and crop images according to the grid defined in the data cube view. It can only work if

What dataset are you working with?

liuyadong commented 5 years ago

It does make sense to have a default low-resolution view for a quick try, but there is no straightforward way to work at the full resolution. I think adding an option would make it much easier. I'm trying to stitch MODIS tiles and export as an tif file using this package (not MRT or HEG) 😄