Open kadrlica opened 6 years ago
How big are those files? If not huge the back end can send the file over http when the user click download.
They will be full CCDs, so ~25M for the eimages. I think that the bigger issue is that if we want to send via http, we will need to ensure that the directory permissions are set properly on the full directory structure of production output for DC2. This is possibly desirable, but would need coordination with @jchiang87 and SSims.
We would like to provide the path to the original image at native resolution. For DES, this was a URL that could be downloaded with
wget
. For the time being, I think this will be a path at NERSC that can be gotten withscp
/rsync
.One issue that we will need to confront is that we currently storing a single string for the "CCD" image. This string contains raft-sensor-half information in the
RR-SS-H
(i.e.,31-12-B
). For long term flexibility, it would probably be better to store raft, sensor, and half information independently in the database. (For the time being, we can probably parse this info out of "CCD" value.)