Skip to content

Added utilities.canfar module - #336

Merged
sfarrens merged 1 commit into
masterfrom
utilities
Oct 14, 2020
Merged

sfarrens merged 1 commit into
masterfrom
utilities

Conversation

@sfarrens

Copy link
Copy Markdown
Member

@sfarrens sfarrens added enhancement New feature or request clean up labels Oct 13, 2020
@sfarrens sfarrens added this to the General Improvements milestone Oct 13, 2020
@sfarrens sfarrens self-assigned this Oct 13, 2020

@martinkilbinger martinkilbinger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@martinkilbinger

Copy link
Copy Markdown
Contributor

Can be merged.

@sfarrens
sfarrens merged commit e39faa3 into master Oct 14, 2020
@sfarrens
sfarrens deleted the utilities branch October 14, 2020 08:15
sfarrens added a commit that referenced this pull request Oct 27, 2020
* Update shapepipe.md

* added one (out of two?) missing tile to W3

* function mad -> sigma_mad

* mask: added HDU key for weight FITS files where data is not in HDU=0

* z-band mask config files

* cfis_field_select read ID only input list; req pandas

* UNIONS DR2 download, added '*' for get_image_runner:OUTPUT_FILE_PATTERN

* added script to convert Pan-STARRS image file names

* created separate function to transform input to output numbers

* ps convert working with images

* sextractor runner in dual image mode; file_handler: fixed bug if two input file names are identical

* masking and dual-mode detection of Pan-STARRS images

* ZP=25 for Pan-STARRS i and z

* Modified r-band config files, to add detection image

* extra file list number bug fix

* multi-band detect stuff

* detection module (SExtractor): Added option to specify weight  for detection image

* fixed minor bug

* Bug in SExtractor module fixed in case there is no weight'

* Tests passed locally

* z-band detection config file

* fixed iz config detect files

* testing PATTERN in INPUT_DIR

* testing config_make multiband

* added utilities.canfar module (#336)

* config_make PATTERN tests; error handling in main prog

* added and tested paste_cat_runner

* get_images: 'symlink' implemented

* get_images_runner2: Added CHECK_EXISTING_DIR option

* test successfull locally

* added back pipe=None in master py script

* cfis_field_select: works with ID_only and --coord

* Added tutorial config files

* numbering_scheme: no reset to default if not given in [FILE], but updated to [<MODULE>] value

* tutorial

* Tutorial pre-processing run

* Tutorial pre-processing run

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* made clearer some code and messenging about: merge_header_runner; numbering_scheme

* fixed tutorial exp config file

* Small modifications according to PR 339 review

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Added tutorial mask config files

* pipe error testing in shapepip_run.py

* Update pipeline_tutorial.md

* Tutorial SExtractor param files

* removed python test warning

* Added Sam's modification from commit 55237fa

Co-authored-by: Samuel Farrens <samuel.farrens@gmail.com>
sfarrens added a commit that referenced this pull request Nov 17, 2020
* Update shapepipe.md

* added utilities.canfar module (#336)

* Update pipeline_tutorial.md

* file_io: bug fixed, sigma_mad had wrong name

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Removed comment in config file

* Adde global stats plots to tutorial

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Added stats_global to aux python scripts to be installed in conda env

* stats_glob: Added xlimits to config options

* Update pipeline_tutorial.md

* global stats updated for big run

* stats_global stuff

* example/tutorial/config_exp_Cp.ini

* Adding new module 'combine_runner'

* new option 'all:<module>'; combine_runner

* unions config files

* all:DIR bug fix

* get_immages_runner symlink mode: correctly deal with '*'

* unions unfz config fix

* unions config fixes

* unions config fixes

* unions config file rename

* unions config file rename

* combine_runner *hack*, working

* get_images_runner.py: CHECK_EXISTING_DIR added

* get_images_runner2.py: Bug fixes

* Removed comment

* Removed comment

* cfis config files updates

* Fixed config files

* small typo fixed; sql file test added

* typo

* unions example run script and config updated/added

* combine_runner debug

* ps3pi multi-band config example added

* renamed ps3pi_cfis dir

* cfis, plotting

* plot_spectro_areas notebook

* Added MCCD job and config files

* Removed unused config file

* removed combine_runner.py, put in on hold to another branch

* removed commented lines

* PR review comment

* removed pdb statements

Co-authored-by: Samuel Farrens <samuel.farrens@gmail.com>
sfarrens added a commit that referenced this pull request Jan 21, 2021
* Update shapepipe.md

* added utilities.canfar module (#336)

* Update pipeline_tutorial.md

* file_io: bug fixed, sigma_mad had wrong name

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Removed comment in config file

* Adde global stats plots to tutorial

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Added stats_global to aux python scripts to be installed in conda env

* stats_glob: Added xlimits to config options

* Update pipeline_tutorial.md

* global stats updated for big run

* stats_global stuff

* example/tutorial/config_exp_Cp.ini

* Adding new module 'combine_runner'

* new option 'all:<module>'; combine_runner

* unions config files

* all:DIR bug fix

* get_immages_runner symlink mode: correctly deal with '*'

* unions unfz config fix

* unions config fixes

* unions config fixes

* unions config file rename

* unions config file rename

* combine_runner *hack*, working

* get_images_runner.py: CHECK_EXISTING_DIR added

* get_images_runner2.py: Bug fixes

* Removed comment

* Removed comment

* cfis config files updates

* Fixed config files

* small typo fixed; sql file test added

* typo

* unions example run script and config updated/added

* combine_runner debug

* ps3pi multi-band config example added

* renamed ps3pi_cfis dir

* cfis, plotting

* plot_spectro_areas modified

* added config files for ps3pi

* Improved error msg in mask pkg

* ps_convert script updated, incl options

* MegaCam r-band filter transmission added

* cfis.py from combine_runs

* cfis_field_select: Fixed pb with input ra < 0

* plot tiles

* i- & z-band tile lists added

* spectro plot notebook updated

* multi-band job incl u-band

* Fixed u-tile detection config file

* fixed multiband paste_cat config file

* unions mb config: using i- and z-band flags for SEx measurements

* get_images: bug fixed if input has wildcards

* ps_convert_file_names indir option started

* Added sp job scripts job_sp_shear_*.sh (until detection for the moment)

* new tutorial job script, with options

* tutorial exp symlink added

* tutorial detection configs: sex_alias

* tutorial detection configs: sex_alias

* plot_spectro: Added eBOSS

* merge_sep_cat small bug fixed

* SExtractor lib bug path workaround

* LD_LIBRARY bugs work around

* tutorial working until PSF residuals

* SExtractor: using , need to set LD_LIBRARY_PATH

* scripts

* canfar download script

* MCCD minor fix, and config file fixes

* MCCD using interpol

* sex_alias removed

* Removed combine_runner.py, see branch combine_runs for devel

* typo

* Added mask config file

* Added duplicate check of input file IDs to file_handler

* Removed whitespace

Co-authored-by: Samuel Farrens <samuel.farrens@gmail.com>
Co-authored-by: xavierjimenezp <xavierjimenezp@gmail.com>
sfarrens added a commit that referenced this pull request Jan 25, 2021
* Update shapepipe.md

* added utilities.canfar module (#336)

* Update pipeline_tutorial.md

* file_io: bug fixed, sigma_mad had wrong name

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Removed comment in config file

* Adde global stats plots to tutorial

* Update pipeline_tutorial.md

* Update pipeline_tutorial.md

* Added stats_global to aux python scripts to be installed in conda env

* stats_glob: Added xlimits to config options

* Update pipeline_tutorial.md

* global stats updated for big run

* stats_global stuff

* example/tutorial/config_exp_Cp.ini

* Adding new module 'combine_runner'

* new option 'all:<module>'; combine_runner

* unions config files

* all:DIR bug fix

* get_immages_runner symlink mode: correctly deal with '*'

* unions unfz config fix

* unions config fixes

* unions config fixes

* unions config file rename

* unions config file rename

* combine_runner *hack*, working

* get_images_runner.py: CHECK_EXISTING_DIR added

* get_images_runner2.py: Bug fixes

* Removed comment

* Removed comment

* cfis config files updates

* Fixed config files

* small typo fixed; sql file test added

* typo

* unions example run script and config updated/added

* combine_runner debug

* ps3pi multi-band config example added

* renamed ps3pi_cfis dir

* cfis, plotting

* plot_spectro_areas modified

* added config files for ps3pi

* Improved error msg in mask pkg

* ps_convert script updated, incl options

* MegaCam r-band filter transmission added

* cfis.py from combine_runs

* cfis_field_select: Fixed pb with input ra < 0

* plot tiles

* i- & z-band tile lists added

* spectro plot notebook updated

* multi-band job incl u-band

* Fixed u-tile detection config file

* fixed multiband paste_cat config file

* unions mb config: using i- and z-band flags for SEx measurements

* get_images: bug fixed if input has wildcards

* ps_convert_file_names indir option started

* Added sp job scripts job_sp_shear_*.sh (until detection for the moment)

* new tutorial job script, with options

* tutorial exp symlink added

* tutorial detection configs: sex_alias

* tutorial detection configs: sex_alias

* plot_spectro: Added eBOSS

* merge_sep_cat small bug fixed

* SExtractor lib bug path workaround

* LD_LIBRARY bugs work around

* tutorial working until PSF residuals

* SExtractor: using , need to set LD_LIBRARY_PATH

* scripts

* canfar download script

* MCCD minor fix, and config file fixes

* MCCD using interpol

* sex_alias removed

* Removed combine_runner.py, see branch combine_runs for devel

* typo

* make_cat adapted for MCCD

* make_cat config for mccd

* canfar_sp_mccd script: with options

* canfar_sp_mccd script: with options

* Fixed WCS/sip bug in split_exp runner. Why has this not been a pb before??

* debug print removed

* cfis config Ng template to mccd

* canfar mccd job script -> VM_HOME for vos cert

* cfig get images -> VM_HOME again

* canfar mccd sh

* canfar_download script with options

* typos in comments

* raise exception if pipeline error

* close_pipeline_log raises RunTimeError

* Message grammar

Co-authored-by: Samuel Farrens <samuel.farrens@gmail.com>
Co-authored-by: xavierjimenezp <xavierjimenezp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean up enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create pipeline module/class/addition to implement vos commands.

2 participants