obiwan.runmanager.update_imagefn_if_doesnt_exist
Images used in DR3 are now in different location on project/staging. This script
finds these cases and updated the survey-ccds files with the new imagefilename
Functions
bashOutput(cmd) |
cmd is what would type on the command line, e.g. |
imagefns_from_ccds_table(table_fn) |
|
mpi_fns_that_exist([nproc, imageFns, suffix]) |
| param nproc: | > 1 for mpi4py |
|
update_surveyccds(ccds_fn, old2new_fn) |
|
-
obiwan.runmanager.update_imagefn_if_doesnt_exist.bashOutput(cmd)[source]
cmd is what would type on the command line, e.g. find . -name “hello.txt”
-
obiwan.runmanager.update_imagefn_if_doesnt_exist.mpi_fns_that_exist(nproc=1, imageFns=[], suffix='')[source]
| Parameters: |
- nproc – > 1 for mpi4py
- bricks – list of bricks
- suffix – identifying name to append to output fns
|