gnuastro-devel
[Top][All Lists]
Advanced

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

[gnuastro-devel] [task #14340] Defining arbitrary variable and its value


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [task #14340] Defining arbitrary variable and its value in FITS headers
Date: Tue, 31 Jan 2017 17:17:38 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #5, task #14340 (project gnuastro):

Sorry, I meant the `gal_data_string_to_number' function of lib/data.c
<https://gitlab.com/makhlaghi/gnuastro/blob/datastruct/lib/data.c>. This
function will determine the type of a number written as a string and store it
automatically. So we won't need to explicitly keep the type of the variable in
the header keyword. If the returned pointer is NULL, we know the value was a
string and we can store it as such.

`gal_data_string_to_type' (that I mentioned in the previous comment), takes a
given type and reads the string in that, so it isn't useful for this job.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/task/?14340>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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