- edited description
assert grid.extent.withing(self.grid.extent) error
Issue #5
resolved
I don't know what could have causes this error. Maybe this relates to issue #3 as well?
Comments (3)
-
reporter -
Error confirmed and fixed. Good that you test the GUI! If you like you can also use the API like so:
from force4qgis.force4qgis.script import main, OpenOption, BinningOption from force4qgis.force4qgis.script import Parameters from force4qgis.hubforce.core.const.features import Feature from force4qgis.hubforce.core.const.product import Product from force4qgis.hubforce.core.const.qai import Qai from force4qgis.hubforce.core.const.resampling import Resampling from force4qgis.hubforce.core.delayed.autofilename import AutoFilenames from force4qgis.hubforce.core.metadata.date import DateRange, Date from force4qgis.hubforce.core.raster.resolution import Resolution from force4qgis.hubforce.core.raster.shape import GridShape if __name__ == '__main__': parameters = Parameters( root=r'\\141.20.140.219\Jakku\diss_bj\level2\s-america', outputRoot='data', outputExtension='.tif', #roi=r'\\141.20.140.219\Jakku\diss_bj\level2\s-america\X0049_Y0027\20140108_LEVEL2_LND08_BOA.tif', tilenames=('X0049_Y0027',), dateRange=DateRange(start=Date(2016, 1, 1), end=Date(2016, 12, 31)), qaiFlags=(Qai.ValidNo, Qai.CloudLessConfident, Qai.CloudConfident, Qai.CloudCirrus, Qai.CloudShadowYes), features=(Feature.Red, ), products=(Product.Mean, ), timeseries=True, bins=(DateRange(start=Date(2016, 11, 1), end=Date(2016, 12, 31)), ), binning=BinningOption.No, resolution=Resolution(x=300, y=300), resamplingBoa=Resampling.NearestNeighbour, resamplingQai=Resampling.NearestNeighbour, open=OpenOption.Tiles, processes=1, blocksize=GridShape(x=3000, y=3000) ) with AutoFilenames(dir='data/tmp', cleanup=True): outputTileFilenames, outputMosaicFilenames = main(parameters=parameters) print(outputTileFilenames) print(outputMosaicFilenames)
-
- changed status to resolved
fixed
#5→ <<cset 7eb8d6b28f9b>>
- Log in to comment