Coder Social home page Coder Social logo

Comments (5)

philhodge avatar philhodge commented on June 2, 2024

from calcos.

pllim avatar pllim commented on June 2, 2024

Undefined "a" is gone, so now it is failing with fitsdiff differences. FYI -- https://ssb.stsci.edu/pandokia/pandokia.cgi?query=detail&key_id=125201911

from calcos.

pllim avatar pllim commented on June 2, 2024

Update: I spoke with @stscirij and the conclusion is to understand why this difference below occurs in dev but not public. In addition, we also resolved the mystery of the test missing on the other machine (had to manually invoke svn update).

 fitsdiff: 3.0.dev20763
 a: lckg01czq_corrtag_a.fits
 b: .../cos/regtest_data/fuv_timetag_1/lckg01czq_corrtag_a.fits
 Keyword(s) not to be compared:
  CAL_VER DATE
 Maximum number of different data values to be reported: 10
 Relative tolerance: 0.0, Absolute tolerance: 0.0

Extension HDU 3:

   Headers contain differences:
     Headers have different number of cards:
      a: 290
      b: 298
     Extra keyword 'TCRPX2' in b: 1.0
     Extra keyword 'TCRPX3' in b: 1.0
     Extra keyword 'TCRVL2' in b: -999.0
     Extra keyword 'TCRVL3' in b: -999.0
     Extra keyword 'TCTYP2' in b: 'RA---TAN'
     Extra keyword 'TCTYP3' in b: 'ANGLE'
     Extra keyword 'TCUNI2' in b: 'angstrom'
     Extra keyword 'TCUNI3' in b: 'deg'

from calcos.

pllim avatar pllim commented on June 2, 2024

A different error now: https://ssb.stsci.edu/pandokia/pandokia.cgi?query=detail&key_id=131644158

CALCOS version 3.2.1 (2017-04-28)
numpy version 1.13.1
astropy version 3.1.dev21140
Begin 07-Jan-2018 10:41:33 EST
Association file = lckg01070_asn.fits
ERROR:  output file already exists:
ERROR:    lckg01czq_lampflash_a.fits
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/unittest/case.py", line 605, in run
    testMethod()
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/srv/rt/stsci_python/calcos/fuv_timetag_1/fuv_timetag_1.py", line 39, in test_fuv_timetag_1
    status = calcos.calcos(infile)
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/site-packages/calcos/calcos.py", line 424, in calcos
    assoc = Association(asntable, outdir, cl_args)
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/site-packages/calcos/calcos.py", line 797, in __init__
    self.checkOutputExists()
  File "/srv/iraf/bldtmp/pdR9/p/envs/dev/lib/python3.5/site-packages/calcos/calcos.py", line 1753, in checkOutputExists
    raise RuntimeError(errmess)

EXCEPTION
Type: RuntimeError
Message: output file already exists
-------------------- >> begin captured stdout << ---------------------
CALCOS version 3.2.1 (2017-04-28)
numpy version 1.13.1
astropy version 3.1.dev21140
Begin 07-Jan-2018 10:41:33 EST
Association file = lckg01070_asn.fits
ERROR:  output file already exists:
ERROR:    lckg01czq_lampflash_a.fits

--------------------- >> end captured stdout << ----------------------
Trigger: raise RuntimeError(errmess)

from calcos.

pllim avatar pllim commented on June 2, 2024

Now it is this (in one of the builds):

Extension HDU 1:

   Headers contain differences:
     Keyword CRPIX1   has different comments:
        b> axis1 pixel of tangent plane direction
     Keyword CRPIX2   has different comments:
        b> axis2 pixel of tangent plane direction
     Keyword CRVAL1   has different comments:
        b> sky coordinates of 1st axis
     Keyword CRVAL2   has different comments:
        b> sky coordinates of 2nd axis
     Keyword CTYPE1   has different comments:
        b> axis type for dimension 1
     Keyword CTYPE2   has different comments:
        b> axis type for dimension 2
     Keyword CUNIT1   has different comments:
        b> units of first coordinate value

from calcos.

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.