Skip to content

Commit

Permalink
go copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Sep 26, 2024
1 parent 75eac80 commit 6911784
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def transfer(self, source_store) -> str:
osn_remote = f":s3,provider=Ceph,endpoint='https://nyu1.osn.mghpcc.org',access_key_id={osn_id},secret_access_key={osn_secret}:"

list_gcs = subprocess.run(
f'rclone -vv lsf "{gcs_remote}leap-scratch/"',
f'rclone lsf "{gcs_remote}leap-scratch/"',
shell=True,
capture_output=True,
text=True,
Expand All @@ -75,7 +75,7 @@ def transfer(self, source_store) -> str:


list_osn = subprocess.run(
f'rclone -vv lsf "{osn_remote}m2lines-test/"',
f'rclone lsf "{osn_remote}m2lines-test/"',
shell=True,
capture_output=True,
text=True,
Expand All @@ -85,7 +85,7 @@ def transfer(self, source_store) -> str:


copy_proc = subprocess.run(
f'rclone copy -vv -P {gcs_remote}leap-persistent/data-library/feedstocks/GODAS/GODAS_surface_level.zarr/ {osn_remote}test-transfer-beam/GODAS_surface_level.zarr',
f'rclone copy -P "{gcs_remote}leap-persistent/data-library/feedstocks/GODAS/GODAS_surface_level.zarr/" "{osn_remote}test-transfer-beam/GODAS_surface_level.zarr"',
shell=True, #consider false
capture_output=True, #set to false once we have this working!
text=True,
Expand Down

0 comments on commit 6911784

Please sign in to comment.