コード例 #1
0
 def mnt_site(self):
     try:
         band_b2 = FileSystem.find_single(pattern=r"*B0?2(_10m)?.jp2$", path=self.fpath)
     except IOError as e:
         raise e
     return Site.from_raster(self.tile, band_b2)
コード例 #2
0
 def mnt_site(self):
     try:
         band_b2 = self.find_file(r"*B0?2*.tif")[0]
     except IOError as e:
         raise e
     return Site.from_raster(self.tile, band_b2)
コード例 #3
0
 def mnt_site(self):
     try:
         band_bx = self.find_file(pattern=r"*IMG*DBL.TIF")[0]
     except IOError as e:
         raise e
     return Site.from_raster(self.tile, band_bx, shape_index_y=1, shape_index_x=2)
コード例 #4
0
ファイル: VSProduct.py プロジェクト: petket-5/Start_maja_int
 def mnt_site(self):
     try:
         band_bx = self.find_file(pattern=r"*_B0?1*.tif")[0]
     except IOError as e:
         raise e
     return Site.from_raster(self.tile, band_bx)