wfau / ScienceArchives

0 stars 0 forks source link

CU13 - quickProv #612

Open wfastrononomer opened 2 months ago

wfastrononomer commented 2 months ago

When rerunning mosaics, it takes many hours to create the provenance using ProvenanceUtils.

Rearranging the code, so it only does this when it creates the mosaics, but still need a quickProv routine that reads it from the mosaic headers.

wfastrononomer commented 2 months ago

Found that the PROV points to v1.3 files!

Where does the provenance come from?

Provenance extension to original files, as ESO archive files.

Have I selected these and then linked to v1.3 stacks instead of v1.5

Need to a) fix code so it selects the most recent non-deprecated stack

Need to b) update Mosaic provenances

Need to c) complete and test quickProv() code.

wfastrononomer commented 2 months ago

It points to normal files, that didn't change from v1.3 to v1.5

But code was selecting stacks. Added a provDict to go from normals to stacks and converted to named tuple with other data.

Original provenance info was in an extension to the mosaics.

quickProv code works now.