taskGNU Astronomy Utilities - Tasks: task #15109, Size of dataset as an Arithmetic...


You are not allowed to post comments on this tracker with your current authentication level.

task #15109: Size of dataset as an Arithmetic operator

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Sat 08 Dec 2018 04:11:07 PM UTC  
Should Start On:  Fri 07 Dec 2018 11:00:00 PM UTC Should be Finished on:  Fri 07 Dec 2018 11:00:00 PM UTC
Category:  Arithmetic Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Sat 08 Dec 2018 04:11:07 PM UTC, original submission:  

In some processing situations, the size of a dataset along a dimension is necessary. So Arithmetic can use a new operator, maybe called "size" that will do this job. For example the command below will print the size of the dataset along its second dimension.

$ astarithmetic image.fits 2 size

The only thing I am thinking about is that an operator like this (and maybe others like some future ones on printing the type) only need the dataset's meta-data and don't actually need the dataset's contents! So to be most efficient (especially on large datasets), we should implement a mechanism that if reading from a file, we don't need to actually load the contents and if reading from the stack (dataset already in memory, output of previous operator), we don't make a full copy.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5