Git Product home page Git Product logo

Comments (4)

nden avatar nden commented on August 25, 2024

I think this is by design. However, I am not sure it's correct either. It works like this:

  • First run
    • Run updatewcs using the distortion files and create a Primary WCS.
      WCSNAME is set to IDC_<idcfile_rootname>.
    • Get the best solution from the database. Compare it WCSNAME with the WCSNAME of the Primary one.
      If different continue (see below why they are always different)
    • Archive the Primary WCS (wcskey=A)
    • Replace the Primary WCS with the one from the database.
      WCSNAME is set to the WCSNAME of the database solution which follows a different pattern.
    • Update the distortion files with the ones used by the database solution
  • Second run
    1. Run updatewcs using the distortion files (the new ones) and create a Primary WCS.
      This will use the name of the new idcfile to create a WCSNAME using the pattern IDC_<idcfile_rootname>.
    2. Get the best solution from the database (note that it is the same one as before)
    3. Archive the Primary WCS (from distortion files, wcskey=B)
    4. Compare the best solution WCSNAME with the current WCSNAME of the Primary WCS.
      Although it's the same solution the wcsnames are different because of i) above
    5. Replace the Primary WCS with the one from the database
    6. Update the distortion files with the ones used by the database solution

and so on ...

from stwcs.

mcara avatar mcara commented on August 25, 2024

Inserting a verification that the wname is unique (not already an alt WCS) before

for e in ext:
and returning without archiving if it s seems to solve the issue (but more testing is necessary to see if this is not causing other issues).

from stwcs.

nden avatar nden commented on August 25, 2024

This can now be closed?

from stwcs.

mcara avatar mcara commented on August 25, 2024

Yes

from stwcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.