Skip to content

Ten million changes as I develop in production as LS4 starts#535

Open
rknop wants to merge 168 commits into
c3-time-domain:mainfrom
rknop:import_ls4
Open

Ten million changes as I develop in production as LS4 starts#535
rknop wants to merge 168 commits into
c3-time-domain:mainfrom
rknop:import_ls4

Conversation

@rknop

@rknop rknop commented May 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

rknop and others added 30 commits November 20, 2025 12:04
…handle file:/// ; update tests to allow download from a local directory (env var configured) or env-var set url instead of just hardcoded nersc url
…mize provenance parameters, make exposure_processor.py able to handle something not in knownexposures.
…s so we don't have to included lots of subclass module files in everything that wants to process exposures.
… images. Use astrometry.net to measure the offsets of the chip centers and chip corners from TELE_RA and TELE_DEC (which is *not* centered on the array).
…fits.save_fits_image_file, as we just had to get something in a temp directory for astrometry.net to use and didn't want our own assumptions creeping i
…lding for Darks, Biases, Flats. Fix top_level so it won't go past preprcessing for Darks, Biases, Flats.
…mask

Builds three Rice-compressed FITS per chip from a stack of LS4Cam bias
frames:

  superbias_<CCD>.fits.fz       float32, MED_BIAS = median of image
  superbias_nmad_<CCD>.fits.fz  float32, MB_NMAD  = median of NMAD image
  superbias_mask_<CCD>.fits.fz  int16,   1 where NMAD > 3*1.4826*median(NMAD)

Two input layouts via --input-mode:

  multi-ext (default): raw multi-extension exposures; runs
                       LS4Cam.overscan_and_trim internally per chip.

  per-chip:            flat directory of already-trimmed per-chip files;
                       groups by CCD_LOC header keyword.  Different chips
                       may have different N.

Both modes have been verified to produce bit-identical superbias / NMAD /
mask outputs on the same underlying frames.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
rknop and others added 30 commits June 14, 2026 19:33
…hen redoing with --do-not-load. Add writing a diagnostic residual DS9 region file to scamp.py
…esses that might have used it having their subsets of configs within their own config tree. Handle this in Parametrs.subconfig_update. This will allow galactic and extragalactic fields to use different parameters but share the same provenances.
…l find out later if that has fallout I regret. Fighting more with tests and how they handle provenacnes to go with changes I made to RefMaker several commits back. Argh.
…_with_sleep accept_exception parameter, and fix the problem sthat the tests revealed
…ckerfile for the deprecation of ConfigChooser, bump docker-compose image version, apply Issue c3-time-domain#516 to webap and conftest.py
…o the chaos at the beginning of a survey.... Add a couple of parameters to ref_maker that allow you to tell it to just use the parameters from the provenance of a pre-existing refset rather than all the parameters you've actually configed. Sounds scary, but about the only way to allow us to go backwards and build new refs from an previously-configured refset. Along the way, do some Issue c3-time-domain#516 in provenance.py
…meant committed a flask secret key. So, change the key, put back empty webap_local_overrides.yaml. (More changings coming in a later commit that will allow putting local overrides in secrets on spin so we don't have to muck about with changing the config when building the docker file, which should obviate errors like this in the future!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants