GithubHelp home page GithubHelp logo

nkphysics / autoxte Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 21 KB

A program that automates the data retrieval and barycenter correcting of event mode data from NASA's XTE mission

License: Apache License 2.0

Python 100.00%

autoxte's People

Contributors

nkphysics avatar

Watchers

 avatar

autoxte's Issues

Failure when no orb file exists

  File "/home/nick/astro-tools/lib/python3.11/site-packages/autoxte/autoxte.py", line 176, in barycenter
    orbfile = glob.glob(f"{self.base_dir}/{obsbasepath}/orbit/FP*")[0]
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

The following error came up when processing a chunk of obsids. It appears that some datasets do not have any orb files.
Error handling will be needed to address this particular situation.

Remove Bloat Directories

At present autoxte is retrieving all of the 00 dataset directory from heasarc, however per https://heasarc.gsfc.nasa.gov/docs/xte/start_guide.html
there are multiple directories that can be outright removed as they not necessary or useful.
Those are as follows:

  • "ace"
  • "acs"
  • "clock"
  • "eds"
  • "fds"
  • "gsace"
  • "ifog"
  • "ipsdu"
  • "pse"
  • "spsdu"

This will also make filling time wrangler datasets faster, as it uses a recursive glob that slows significantly when having to navigate for .evt files through multiple directories.

No 000 datasets

Currently autoxte only pulls and barycenter corrects .evt files from prnb-##-##-00 collections.
But, some obsids have prnb-##-##-000 data collections which from a more general standpoint, can contain much better data.

Functionality needs to be added so that the 000 datasets can be retrieved and prepared for further analysis.

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.