def cube_46x45x45(self):
     cube_utils = CubeUtils()
     cube_utils.generate_temporal_cube("46x45x45_chunked_low_res",
                                       46,
                                       720,
                                       1440,
                                       chunksizes=(46, 45, 45))
     yield cube_utils
 def cube_1x360x360(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("360x360_chunked_low_res",
                              46,
                              720,
                              1440,
                              chunksizes=(1, 360, 360))
     yield cube_utils
 def cube_46x1x1(self):
     cube_utils = CubeUtils()
     cube_utils.generate_temporal_cube("46x1x1_chunked_low_res",
                                       46,
                                       720,
                                       1440,
                                       chunksizes=(46, 1, 1))
     yield cube_utils
 def cube_1x135x135(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("135x135_chunked_high_res",
                              46,
                              2160,
                              4320,
                              chunksizes=(1, 135, 135))
     yield cube_utils
 def cube_1x45x45(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("45x45_chunked_low_res",
                              46,
                              720,
                              1440,
                              chunksizes=(1, 45, 45))
     yield cube_utils
 def cube_1x720x720(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("720x720_chunked_low_res",
                              46,
                              720,
                              1440,
                              chunksizes=(1, 720, 720))
     yield cube_utils
Example #7
0
 def cube_multivar_46x135x135(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube_multivar("46x135x135_chunked_high_res_2vars",
                                       46,
                                       2160,
                                       4320,
                                       chunksizes=(46, 135, 135),
                                       var_num=2)
     yield cube_utils
 def ds_46x1080x1080(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("46x1080x1080_chunked_high_res",
                              46,
                              2160,
                              4320,
                              chunksizes=(46, 1080, 1080))
     ds = cube_utils.open_dataset(cache=True)
     yield ds
     ds.close()
 def ds_2160x2160(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("2160x2160_chunked_high_res",
                              46,
                              2160,
                              4320,
                              chunksizes=(1, 2160, 2160))
     ds = cube_utils.open_dataset(cache=True)
     yield ds
     ds.close()
 def ds_135x135(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("135x135_chunked_high_res",
                              46,
                              2160,
                              4320,
                              chunksizes=(1, 135, 135))
     ds = cube_utils.open_dataset(cache=True)
     yield ds
     ds.close()
Example #11
0
 def cube_default_high_res(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("default_high_res", 46, 2160, 4320)
     yield cube_utils
Example #12
0
 def cube_default_low_res(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("default_low_res", 46, 720, 1440)
     yield cube_utils
 def cube_1x1080x1080(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("1080x1080_chunked_high_res", 46, 2160, 4320, chunksizes=(1, 1080, 1080))
     yield cube_utils
 def cube_1x2160x2160(self):
     cube_utils = CubeUtils()
     cube_utils.generate_cube("2160x2160_chunked_high_res", 46, 2160, 4320, chunksizes=(1, 2160, 2160))
     yield cube_utils