Xiao Gui пре 3 година
родитељ
комит
9c12ac70a6
2 измењених фајлова са 31 додато и 3 уклоњено
  1. 30 2
      code/create_task.sh
  2. 1 1
      is-nose

+ 30 - 2
code/create_task.sh

@@ -3,12 +3,40 @@
 export dataset_id=2c146972-9b3a-4907-826a-bdb74cc23a2a
 export tiff_url="https://object.cscs.ch/v1/AUTH_6ebec77683fb472f94d352be92b5a577/Bjaalie_RUP_T5.5.1/"
 export filter="hbp-00138/122/341/381/hbp-00138_122_341_381_s013.tif"
+
+ingestion_param='{
+  "type": "image",
+  "num_channels": 1,
+  "scales":[{
+    "chunk_sizes": [],
+    "encoding": "raw",
+    "key": "full",
+    "resolution": [
+      230000,
+      230000,
+      230000
+    ],
+    "size": [
+      37000,
+      1,
+      27000
+    ],
+    "voxel_offset": [
+      0,
+      0,
+      0
+    ]
+  }]
+}'
+
+payload=`echo "$ingestion_param" | jq -c '.'`
+
 cd ./is-nose/ && \
   node create_task.js \
   --desc "attempt to convert tiff to ng precomp" \
   --url $tiff_url \
   --filter $filter \
   --runtime-limit "5h" \
-  --ingestion-parameters '{}' \
-  $dataset_id > create_task.log 2>&1 && \
+  --ingestion-parameters $payload \
+  $dataset_id > create_task_2.log 2>&1 && \
 cd ..

+ 1 - 1
is-nose

@@ -1 +1 @@
-Subproject commit 60813801a66edb8143ed72c4327ce73f5e4b856f
+Subproject commit ba7d2e6602efc050a548b45b47c23c80436acc19