Git Product home page Git Product logo

hiproc's People

Contributors

andrewannex avatar dependabot[bot] avatar rbeyer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hiproc's Issues

hiproc ends after HiCal and doesn't attempt HiStitch

  • hiproc version: 0.9.0 (current head)
  • Python version: 3.8
  • Operating System: ubuntu

Description

I updated Hiproc to v 0.9.0 recently and attempted to run 'PSP_002930_1800' through the pipeline hiproc -vv -j ./*.IMG.

but hiproc just seems to stop without issuing any warning or errors that I can see right after HiCal and does not attempt to run any later streps like HiStitch.

EDR_Stats KeyError on 'Average' for CAL_BUFFER

  • pyrise version: latest main branch
  • Python version: 3.9
  • Operating System: ubuntu

Description

I found that for one image that hiproc would fail somewhere in the pipeline for an image ESP_065856_1890 on a KeyError for 'Average' but it wasn't clear with verbose logging which function/area the pipeline was breaking. After some trial and error running things I found that EDR_Stats was failing on a single ccd channel (in this case ESP_065856_1890_RED2_1) because of a missing json file.

Diving deeper in I found the error was specifically with the "CAL_BUFFER" return for this ccd, where there is no average value/other statistical data.

Below is the output for the bad ccd:

PVLGroup([
  ('TotalPixels', 372)
  ('ValidPixels', 0)
  ('NullPixels', 0)
  ('LisPixels', 372)
  ('LrsPixels', 0)
  ('HisPixels', 0)
  ('HrsPixels', 0)
])

and the next is the "CAL_BUFFER" for ESP_065856_1890_RED2_0:

PVLGroup([
  ('Average', 1075.9247311828)
  ('StandardDeviation', 22.093155656939)
  ('Variance', 488.10752688172)
  ('Minimum', 1035.0)
  ('Maximum', 1104.0)
  ('TotalPixels', 372)
  ('ValidPixels', 372)
  ('NullPixels', 0)
  ('LisPixels', 0)
  ('LrsPixels', 0)
  ('HisPixels', 0)
  ('HrsPixels', 0)
])

There was nothing in the stderr for the histat kalasiris function, so I am not sure what went wrong, maybe something internal to ISIS?

As a longer term suggestion, it would be helpful if verbose logging was more verbose in terms of saying which step of the pipeline it is in, which image is being operated on etc.

What I Did

note: requires my moody tool to download the edr files, simply pip install moody

moody hirise_edr ESP_065856_1890
EDR_Stats ./*.IMG -v -k

empty 'sys' and 're' files created

  • pyrise version: current master
  • Python version: 3.9.5
  • Operating System: ubuntu

Description

When testing the full hiproc pipeline with the hiproc command with hijack force enabled, two empty (0B) files 'sys' and 're' are created by hiproc. I am not sure where these files are being created as nothing obvious in the code is making them and they share the names of parts of the python standard library so it's not clear if they are some intentional intermediate product that keep wants to retain, all I know is they were created near the final 3 minutes of the pipeline so that points to one of the later processing steps being responsible.

What I Did

hiproc -k -p --logfile hiproc.log ./ESP_016657_1890*.IMG

data dir not installing via conda-forge

  • pyrise version:
  • Python version: 3.9.5
  • Operating System: Centos7

Description

Installation via conda-forge is not installing the data directory. Perhaps because it does not have an __init__.py file and/or it is not specified in the setup.py.

What I Did

conda create -n hiproc
conda activate hiproc
mamba install -c conda-forge hiproc
condo activate --stack isis5.0.0
hiproc

> `FileNotFoundError: [Errno 2] No such file or directory: '/home/jlaura/anaconda3/envs/hiproc/lib/python3.9/site-packages/hiproc/data/HiJitReg.conf'`

Comparison of UA Dejitter HiRISE and HiPROC Dejitter HiRISE

  • hiproc version: 0.10.0
  • Python version: 3.9.6
  • Operating System: CentOS

Description

Seeing differences in the ephemeris information between UA dejittered, noproj data, and hiproc dejittered noproj data. Seeking input on the differences.

What I Did

Ran the full pipeline on ESP_018957_2655

using: hiproc --keep --verbose --precision --max_workers 8 "$@"

This ran HiJACK and generated a RED NOPROJ mosaic as expected (awesome). I then compared a UA dejittered, NOPROJ RED cube and the hiproc generated cube, looking at the ephemeris information.

Ephemeris times and look vectors are identical between the two data products. Again, awesome! The spacecraft XYZ positions differ though. isisA is the UA dejittered RED NOPROJ cube and isisB is the hiproc dejittered RED NOPROJ cube. Differences in spacecraft position are measures at 100 points over the image. I have truncated the results below. The interesting thing is that the differences in x, y, and z are relatively consistent along and across track. I say relatively because the magnitude of the difference is monotonically increasing across and along track.

Is this expected behavior? Where might this systematic offset be coming from? Operator error?

isisA pos x isisA pos y isisA pos z isisB pos x isisB pos y isisB pos z diffx diffy diffz magnitude
-286308.739429 81203.708950 3.682743e+06 -286295.489350 81209.926531 3.682744e+06 -13.250079 -6.217581 -0.860491 14.661628
-286242.472858 81226.509431 3.682748e+06 -286229.222798 81232.727130 3.682749e+06 -13.250060 -6.217699 -0.860207 14.661645
-286176.206308 81249.309623 3.682753e+06 -286162.956267 81255.527440 3.682754e+06 -13.250041 -6.217817 -0.859923 14.661661
-286109.939398 81272.109657 3.682758e+06 -286096.689376 81278.327592 3.682758e+06 -13.250022 -6.217935 -0.859639 14.661677
-286043.672318 81294.909469 3.682762e+06 -286030.422316 81301.127522 3.682763e+06 -13.250003 -6.218053 -0.859355 14.661693
... ... ... ... ... ... ... ... ... ...
-285977.405260 81317.708991 3.682767e+06 -285964.155277 81323.927162 3.682768e+06 -13.249984 -6.218171 -0.859072 14.661709
-285911.137842 81340.508356 3.682772e+06 -285897.887878 81346.726645 3.682772e+06 -13.249964 -6.218289 -0.858788 14.661726
-285844.870255 81363.307498 3.682776e+06 -285831.620310 81369.525905 3.682777e+06 -13.249945 -6.218408 -0.858504 14.661742
-285778.602690 81386.106351 3.682781e+06 -285765.352764 81392.324876 3.682782e+06 -13.249926 -6.218526 -0.858220 14.661758
-285712.334765 81408.905046 3.682786e+06 -285699.084857 81415.123690 3.682786e+06 -13.249907 -6.218644 -0.857936 14.661774

@rbeyer If you want the UA cub and the notebook I am using for comparisons just let me know an I can get you a URL / gist.

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.