Skip to content

Commit

Permalink
Add more frequent checkpoints for smaller RC2 dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Apr 9, 2020
1 parent a21d3bc commit 2a23194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cookbook/fgcmBuildStarsHsc.py
Expand Up @@ -33,6 +33,8 @@
config.doReferenceMatches = True
# Subtract the local background before performing calibration?
config.doSubtractLocalBackground = True
# Number of visits read between checkpoints
config.nVisitsPerCheckpoint = 100

# Reference object loader configuration parameters
config.fgcmLoadReferenceCatalog.refObjLoader.ref_dataset_name = 'ps1_pv3_3pi_20170110'
Expand Down
3 changes: 0 additions & 3 deletions python/lsst/fgcmcal/fgcmBuildStars.py
Expand Up @@ -435,8 +435,6 @@ def runDataRef(self, butler, dataRefs):
fgcmStarObservationCat)

# Persist catalogs via the butler
# butler.put(visitCat, 'fgcmVisitCatalog')
# butler.put(fgcmStarObservationCat, 'fgcmStarObservations')
butler.put(fgcmStarIdCat, 'fgcmStarIds')
butler.put(fgcmStarIndicesCat, 'fgcmStarIndices')
if fgcmRefCat is not None:
Expand Down Expand Up @@ -537,7 +535,6 @@ def _fillVisitCatalog(self, visitCat, groupedDataRefs,
f = exp.getFilter()
psf = exp.getPsf()

# rec = visitCat.addNew()
rec = visitCat[i]
rec['visit'] = visit
rec['filtername'] = f.getName()
Expand Down

0 comments on commit 2a23194

Please sign in to comment.