Comments (3)
That is correct. We can probably not archive if it already exists. However, we need to restore every time before we run makecorr.
from stwcs.
Data being processed in the calibration pipeline starts out with a WCS defined purely from a static definition of the detector aperture position and a minimal, typically outdated, linear distortion model that does not rely on distortion model calibration files. This WCS, however, provides the most direct computation of the relative alignment of chips in each detector's observation as well as the most accurately known (although occassionally faulty) relative alignment of observations in an association and within a visit. The primary task of 'updatewcs' is to preserve this WCS as the basis for recomputing any new WCS based on distortion calibration files, and this line of code (if I remember correctly, and based on your description) is the code that defines how this WCS gets preserved as the alternate WCS named 'OPUS'. All subsequent re-computations based on distortion model calibration reference files would actually fail is this alternate WCS does not get defined.
from stwcs.
Thank you! Then, if I understand this correctly, only on the very first run of updatewcs
'OPUS'
Alt WCS is created and on all other runs it just gets overwritten by itself.
from stwcs.
Related Issues (20)
- Updatewcs 1.5.1 failed with new IDCTAB HOT 5
- TST: Remove flake8 check from allowed failures
- Change astrometry database update HOT 1
- Fix order of WCSs applied to image HOT 3
- Some keywords are not restored properly in headerlet.restore_from_headerlet
- WCS key that is a space should be converted to empty string before appending to keywords HOT 1
- Why is PC matrix multiplied by cdelt1 to get CD matrix
- Applying updatewcs with use_db=True multiple times results in multiple alternative WCSes HOT 1
- Wrong WCS being archived when applying updatewcs with use_db=True multiple times HOT 4
- Strange code in altwcs HOT 7
- _restore() overwrites archived WCS CTYPE HOT 3
- convertAltWCS and archiveWCS should not archive some non-altwcs specific keywords HOT 1
- When restoring from altwcs 'O', TDDALPHA is not reset HOT 1
- altwcs now causes pipeline software to crash HOT 5
- Should WCSNAME* be case-insensitive? HOT 11
- Automatic PyPI publication enabled HOT 1
- Applying a headerlet should remove all alternate WCSs if distortions are different HOT 1
- Compute new a priori WCS for updated IDCTAB in updatewcs HOT 1
- wcskey not properly propagated in tweakback? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stwcs.