gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61974] Unreasonable output when header keyword not available


From: Pedram Ashofteh Ardakani
Subject: [bug #61974] Unreasonable output when header keyword not available
Date: Tue, 1 Feb 2022 12:28:46 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?61974>

                 Summary: Unreasonable output when header keyword not
available
                 Project: GNU Astronomy Utilities
            Submitted by: pedram
            Submitted on: Tue 01 Feb 2022 05:28:44 PM UTC
                Category: Table
                Severity: 3 - Normal
              Item Group: Output not reasonable
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In spite of 'astfits' complaining that the requested header keyword is not
available, table does the column arithmetic and returns an unreasonable
output.

== steps to reproduce ==

1. Create a dummy fits file
2. Ask for a column arithmetic on an unavailable header keyword


$ echo "1" > dummy.txt
$ astconvertt dummy.txt -odummy.fits
$ astfits dummy.fits -h1 --keyvalue=DATE-OBS --colinfoinstdout | \
  asttable -c'arith DATE-OBS date-to-sec' --colinfoinstdout
astfits: dummy.fits (hdu 1): does not contain a keyword 'DATE-OBS'
# Column 1: UNIXSEC [sec,i64,-9223372036854775808] Unix seconds (from 00:00:00
UTC, 1 January 1970)
-9223372036854775808





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61974>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]