Hi,

I'm trying to access HCP files via scripting. I know the directory
structure through the appendix III definitions. However, I am not sure how
to access the resources through XNAT nor Amazon S3.


In XNAT, I can't figure out what URL to construct to access any file. For
example, what would be the URL to access the file
100307/tfMRI_EMOTION_LR/100307/tfMRI_EMOTION_LR/100307_3T_tfMRI_EMOTION_LR.nii.gz
?


Alternately, I'm trying to access the Amazon S3 files through Amazon's boto
package. I can open a connection with my S3 credentials, and I see a
"hcp-openaccess" bucket. When I try to list the bucket contents (for
file_key in bucket.list(): print file_key), I get access denied.

Has anybody tried accessing the S3 data in this way that can share an
example script? Or any suggestions for other ways to script the access?


Thanks,
Ben

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to