Skip to content

Commit

Permalink
Add CI test for new arrangement of config file
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanneBogart committed Jul 15, 2024
1 parent 4572326 commit 20549e2
Show file tree
Hide file tree
Showing 4 changed files with 517 additions and 0 deletions.
147 changes: 147 additions & 0 deletions skycatalogs/data/ci_sample/galaxy_1.3.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
area_partition:
nside: 32
ordering: ring
type: healpix
attribute_aliases:
size_knots_true: size_disk_true
size_minor_knots_true: size_minor_disk_true
components:
bulge_basic:
MW_extinction: F19
internal_extinction: CCM
parent: galaxy
sed_model: tophat
spatial_model: sersic2D
subtype: bulge
disk_basic:
MW_extinction: F19
internal_extinction: CCM
parent: galaxy
sed_model: tophat
spatial_model: sersic2D
subtype: disk
knots_basic:
MW_extinction: F19
internal_extinction: CCM
parent: galaxy
sed_model: tophat
spatial_model: knots
subtype: knots
composite:
bulge: required
disk: required
knots: optional
Cosmology:
H0: 71.0
Ob0: 0.0448
Om0: 0.2648
n_s: 0.963
sigma8: 0.8
data_file_type: parquet
file_template: galaxy_(?P<healpix>\d+).parquet
flux_file_template: galaxy_flux_(?P<healpix>\d+).parquet
provenance:
inputs:
galaxy_truth: cosmodc2_v1.1.4_image_addon_knots
run_options:
catalog_dir: ci_sample
catalog_name: skyCatalog
config_path: null
dc2: false
flux_parallel: 16
galaxy_magnitude_cut: 20.0
galaxy_nside: 32
galaxy_stride: 1000000
galaxy_truth: null
galaxy_type: cosmodc2
include_roman_flux: false
knots_magnitude_cut: 27.0
log_level: DEBUG
no_flux: true
no_galaxies: false
no_knots: false
no_main: false
no_pointsources: true
options_file: local/out_config/galaxy_main.yaml
pixels:
- 9556 9557 9683 9684 9812 9813 9940
sed_subdir: galaxyTopHatSED
skip_done: true
skycatalog_root: null
sso: false
sso_sed: null
sso_truth: null
star_input_fmt: sqlite
skyCatalogs_repo:
git_branch: master
git_hash: defa84b868c1067d354b19a8287ace339d286790
git_status:
- UNTRACKED_FILES
versioning:
schema_version: 1.3.0
tophat:
bin_parameters:
- start
- width
bins:
- - 1000
- 246
- - 1246
- 306
- - 1552
- 381
- - 1933
- 474
- - 2407
- 591
- - 2998
- 186
- - 3184
- 197
- - 3381
- 209
- - 3590
- 222
- - 3812
- 236
- - 4048
- 251
- - 4299
- 266
- - 4565
- 283
- - 4848
- 300
- - 5148
- 319
- - 5467
- 339
- - 5806
- 360
- - 6166
- 382
- - 6548
- 406
- - 6954
- 431
- - 7385
- 458
- - 7843
- 486
- - 8329
- 517
- - 8846
- 549
- - 9395
- 583
- - 9978
- 1489
- - 11467
- 1710
- - 13177
- 1966
- - 15143
- 2259
- - 17402
- 2596
units: angstrom
51 changes: 51 additions & 0 deletions skycatalogs/data/ci_sample/star_1.3.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
area_partition:
nside: 32
ordering: ring
type: healpix
data_file_type: parquet
file_nm:
units: nm
file_template: pointsource_(?P<healpix>\d+).parquet
flux_file_template: pointsource_flux_(?P<healpix>\d+).parquet
internal_extinction: None
provenance:
inputs:
star_truth: /global/cfs/cdirs/lsst/groups/SSim/DC2/dc2_stellar_healpixel.db
run_options:
catalog_dir: ci_sample
catalog_name: skyCatalog
config_path: null
dc2: false
flux_parallel: 16
galaxy_magnitude_cut: 29.0
galaxy_nside: 32
galaxy_stride: 1000000
galaxy_truth: null
galaxy_type: cosmodc2
include_roman_flux: false
knots_magnitude_cut: 27.0
log_level: DEBUG
no_flux: true
no_galaxies: true
no_knots: false
no_main: false
no_pointsources: false
options_file: local/out_config/star_main.yaml
pixels:
- 9556 9683 9684 9812 9813 9940
sed_subdir: galaxyTopHatSED
skip_done: true
skycatalog_root: null
sso: false
sso_sed: null
sso_truth: null
star_input_fmt: sqlite
skyCatalogs_repo:
git_branch: master
git_hash: defa84b868c1067d354b19a8287ace339d286790
git_status:
- UNTRACKED_FILES
versioning:
schema_version: 1.3.0
sed_file_root_env_var: SIMS_SED_LIBRARY_DIR
sed_model: file_nm
7 changes: 7 additions & 0 deletions skycatalogs/data/ci_sample/top_1.3.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
catalog_dir: ci_sample
catalog_name: top_1.3.0
schema_version: 1.3.0
skycatalog_root: /global/cscratch1/sd/jrbogart/desc/skycatalogs
object_types:
galaxy: !include galaxy_1.3.0.yaml
star: !include star_1.3.0.yaml
Loading

0 comments on commit 20549e2

Please sign in to comment.