Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW FEATURE] Third-party catalogue for tile objects #650

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
150 changes: 150 additions & 0 deletions example/cfis/config_GitFeGie_cat.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# ShapePipe configuration file for: get images


## Default ShapePipe options
[DEFAULT]

# verbose mode (optional), default: True, print messages on terminal
VERBOSE = False

# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_GitFeGie

# Add date and time to RUN_NAME, optional, default: False
RUN_DATETIME = True


## ShapePipe execution options
[EXECUTION]

# Module name, single string or comma-separated list of valid module runner names
MODULE = get_images_runner, find_exposures_runner, get_images_runner

# Parallel processing mode, SMP or MPI
MODE = SMP


## ShapePipe file handling options
[FILE]

# Log file master name, optional, default: shapepipe
LOG_NAME = log_sp

# Runner log file name, optional, default: shapepipe_runs
RUN_LOG_NAME = log_run_sp

# Input directory, containing input files, single string or list of names
INPUT_DIR = $SP_RUN

# Output directory
OUTPUT_DIR = $SP_RUN/output


## ShapePipe job handling options
[JOB]

# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 1

# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00


## Module options

# Get tiles
[GET_IMAGES_RUNNER_RUN_1]

FILE_PATTERN = tile_numbers

FILE_EXT = .txt

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME =

# Paths

# Input path where original images are stored. Can be local path or vos url.
# Single string or list of strings
INPUT_PATH = vos:cfis/tiles_DR4, vos:cfis/tiles_DR4, vos:cfis/tiles_DR4

# Input file pattern including tile number as dummy template
INPUT_FILE_PATTERN = CFIS.000.000.r, CFIS.000.000.r.weight, CFIS.000.000.r

# Input file extensions
INPUT_FILE_EXT = .fits, .fits.fz, .cat

# Input numbering scheme, python regexp
INPUT_NUMBERING = \d{3}\.\d{3}

# Output file pattern without number
OUTPUT_FILE_PATTERN = CFIS_image-, CFIS_weight-, CFIS_cat-

# Copy/download method, one in 'vos', 'symlink'
RETRIEVE = vos

# Copy command options, optional
RETRIEVE_OPTIONS = --certfile=$VM_HOME/.ssl/cadcproxy.pem


[FIND_EXPOSURES_RUNNER]

INPUT_MODULE = get_images_runner_run_1

FILE_PATTERN = CFIS_image

FILE_EXT = .fits

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# column number of exposure name in HISTORY FITS header entry
COLNUM = 3

# Get exposures
[GET_IMAGES_RUNNER_RUN_2]

INPUT_DIR = last:find_exposures_runner

FILE_PATTERN = exp_numbers

FILE_EXT = .txt

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000


# Paths

# Output path (optional, default is [FILE]:OUTPUT_DIR
# OUTPUT_PATH = input_images

# Input path where original images are stored. Can be local path or vos url.
# Single string or list of strings
INPUT_PATH = vos:cfis/pitcairn, vos:cfis/weights, vos:cfis/flags
# LSB images:
#INPUT_PATH = vos:cfis/lsb_individual, vos:cfis/weights, vos:cfis/flags

# Input file pattern including tile number as dummy template
INPUT_FILE_PATTERN = 000000, 000000.weight, 000000.flag
# LSB images
#INPUT_FILE_PATTERN = 000000s, 000000p.weight, 000000p.flag

# Input file extensions
INPUT_FILE_EXT = .fits.fz, .fits.fz, .fits.fz

# Input numbering scheme, python regexp
INPUT_NUMBERING = \d{6}

# Output file pattern without number
OUTPUT_FILE_PATTERN = image-, weight-, flag-

# Method to retrieve images, one in 'vos', 'symlink'
RETRIEVE = vos

# If RETRIEVE=vos, number of attempts to download
# Optional, default=3
N_TRY = 3

# Retrieve command options, optional
RETRIEVE_OPTIONS = --certfile=$VM_HOME/.ssl/cadcproxy.pem
1 change: 1 addition & 0 deletions example/cfis/config_GitFeGie_symlink.ini
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ FILE_EXT = .fits
# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# column number of exposure name in HISTORY FITS header entry
COLNUM = 3

# Get exposures
Expand Down
3 changes: 3 additions & 0 deletions example/cfis/config_GitFeGie_vos.ini
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ FILE_EXT = .fits
# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# column number of exposure name in HISTORY FITS header entry
COLNUM = 1


# Get exposures
[GET_IMAGES_RUNNER_RUN_2]
Expand Down
2 changes: 1 addition & 1 deletion example/cfis/config_exp_SpMh.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ OUTPUT_DIR = $SP_RUN/output
[JOB]

# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 16
SMP_BATCH_SIZE = 10

# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00
Expand Down
8 changes: 7 additions & 1 deletion example/cfis/config_tile_Sx_exp_mccd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ PSF_FILE = False
DETECTION_IMAGE = False

# Distinct weight image for detection (SExtractor
# in dual-image mode)
# in dual-image mode) if True
DETECTION_WEIGHT = False

# Association catalogue for matching detections
ASSOC_CAT = False

ZP_FROM_HEADER = False

BKG_FROM_HEADER = False
Expand Down Expand Up @@ -158,6 +161,9 @@ DETECTION_IMAGE = False
# in dual-image mode) if True
DETECTION_WEIGHT = False

# Association catalogue for matching detections
ASSOC_CAT = False

# Se to True if photometry zero-point is to be read from exposure image header
ZP_FROM_HEADER = True

Expand Down
8 changes: 7 additions & 1 deletion example/cfis/config_tile_Sx_exp_psfex.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ OUTPUT_DIR = $SP_RUN/output
[JOB]

# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 40
SMP_BATCH_SIZE = 20

# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00
Expand Down Expand Up @@ -92,6 +92,9 @@ DETECTION_IMAGE = False
# in dual-image mode)
DETECTION_WEIGHT = False

# Association catalogue for matching detections
ASSOC_CAT = False

ZP_FROM_HEADER = False

BKG_FROM_HEADER = False
Expand Down Expand Up @@ -160,6 +163,9 @@ DETECTION_IMAGE = False
# in dual-image mode)
DETECTION_WEIGHT = False

# Association catalogue for matching detections
ASSOC_CAT = False

# True if photometry zero-point is to be read from exposure image header
ZP_FROM_HEADER = True

Expand Down
Loading
Loading