def cutout_era5(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("era5") cutout = Cutout(path=tmp_path / "era5", module="era5", bounds=BOUNDS, time=TIME) cutout.prepare() return cutout
def cutout_sarah(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("sarah") cutout = Cutout(path=tmp_path / "sarah", module=["sarah", "era5"], bounds=BOUNDS, time=TIME, sarah_dir=SARAH_DIR) cutout.prepare() return cutout
def cutout_era5_weird(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("era5_weird") cutout = Cutout(path=tmp_path / "era5", module="era5", bounds=BOUNDS, time=TIME, dx=0.132, dy=0.32) cutout.prepare() return cutout
def cutout_era5_coarse(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("era5_coarse") cutout = Cutout(path=tmp_path / "era5", module="era5", bounds=BOUNDS, time=TIME, dx=0.5, dy=0.7) cutout.prepare() return cutout
def cutout_sarah_weird(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("sarah_weird") cutout = Cutout(path=tmp_path / "sarah", module="sarah", bounds=BOUNDS, time=TIME, dx=0.132, dy=0.32, sarah_dir=SARAH_DIR) cutout.prepare() return cutout
def cutout_sarah_fine(tmp_path_factory): tmp_path = tmp_path_factory.mktemp("sarah_coarse") cutout = Cutout(path=tmp_path / "sarah", module="sarah", bounds=BOUNDS, time=TIME, dx=0.05, dy=0.05, sarah_dir=SARAH_DIR) cutout.prepare() return cutout