GithubHelp home page GithubHelp logo

Querying FITS files by header values about ngas HOT 3 OPEN

icrar avatar icrar commented on July 4, 2024
Querying FITS files by header values

from ngas.

Comments (3)

awicenec avatar awicenec commented on July 4, 2024

Hi, this is not directly possible, but you can write a retrieval plugin to do it. Would be pretty hefty on a big archive, because it would essentially open and scan every single file. We have done this before. I guess I do have the plugin code still somewhere, if you are interested.

from ngas.

danjampro avatar danjampro commented on July 4, 2024

Hi, this is not directly possible, but you can write a retrieval plugin to do it. Would be pretty hefty on a big archive, because it would essentially open and scan every single file. We have done this before. I guess I do have the plugin code still somewhere, if you are interested.

Hi @awicenec , thanks for getting back so quickly. Maybe this won't be necessary if I can use files_like parameter to query instead. However, I'm not sure how to correctly format this parameter and I can't see much in the documentation about it. I am also not sure how I should format the start and end parameters used by files_between. Can this be clarified?

from ngas.

awicenec avatar awicenec commented on July 4, 2024

The start and end parameters are in SQL format, i.e. if the query would work on a SQL DB it will also work with NGAS. Do you have direct access to the NGAS DB? In general that is the easier way to get such information. The NGAS QUERY command really is just a workaround, useful in some situations, but not really implemented well enough to support actual operations.

from ngas.

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.