rms-oops 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-tests.yml +10 -14
- {rms_oops-0.2.0/rms_oops.egg-info → rms_oops-0.2.1}/PKG-INFO +2 -5
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/_version.py +3 -3
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/__init__.py +4 -1
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/__init__.py +18 -41
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/__init__.py +4 -16
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/__init__.py +12 -23
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/img.py +11 -25
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/spe.py +14 -29
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/junocam/__init__.py +40 -149
- {rms_oops-0.2.0 → rms_oops-0.2.1}/pyproject.toml +1 -4
- {rms_oops-0.2.0 → rms_oops-0.2.1/rms_oops.egg-info}/PKG-INFO +2 -5
- {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/SOURCES.txt +2 -0
- rms_oops-0.2.1/rms_oops.egg-info/scm_file_list.json +359 -0
- rms_oops-0.2.1/rms_oops.egg-info/scm_version.json +8 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.coveragerc +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.flake8 +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/publish_to_pypi.yml +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/publish_to_test_pypi.yml +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-lint.yml +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-windows-tests.yml +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/.gitignore +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/CODE_OF_CONDUCT.md +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/CONTRIBUTING.md +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/LICENSE.md +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/README.md +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/codecov.yml +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/cmodel.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/distance.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/latitude.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/longitude.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/radius.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/NOTES-ABOUT-OBSERVATION-CLASSES.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/extendedsource.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/iss_test_suite.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pointsource.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/polynomialfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pushbroom.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pushframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/radialfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/rasterscan.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/rasterslit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/slit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/format.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/hms.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/pythonfmt.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/backplane-__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/observation-__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/ssi.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/multipath/multipath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/navigation.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/nullnav.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/platescale.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/repointing.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/timeshift.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_frame_interpolation_using_matrix3.py.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/pushbroom.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/pushframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/rasterscan.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/rasterslit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/slit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat_arrays.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat_entities.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/pds3.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/poleframe-with-tilt.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/registry.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/affine.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/arc.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/circle.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/conic.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/ellipse.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/line.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/point.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/polygon.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/triangle.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/make.sh +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01.i +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01_interface.f +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01_wrap.c +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/strings.f +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/wobble.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/.coveragerc +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/all.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/ansa.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/border.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/distance.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/lighting.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/limb.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/orbit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/pixel.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/pole.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/resolution.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/ring.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/sky.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/spheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/where.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/body.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/cadence_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/dualcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/instant.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/metronome.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/reshapedcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/reversedcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/sequence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/tdicadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/calibration_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/flatcalib.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/nullcalib.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/radiance.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/rawcounts.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/config.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/constants.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/event.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fittable.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/barrelfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/flatfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/fov_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/gapfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/nullfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/offsetfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/polynomialfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/slicefov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/subarray.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/subsampledfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/tdifov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/wcsfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/cmatrix.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/frame_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/inclinedframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/laplaceframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/navigation.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/poleframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/postargframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/ringframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/rotation.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spiceframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spicetype1frame.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spinframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/synchronousframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/trackerframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/twovectorframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/all.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/ansa.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/border.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/distance.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/lighting.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/limb.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/orbit.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/pole.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/resolution.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/ring.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/sky.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/spheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/test_support.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/where.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/gravity_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/oblategravity.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/iss.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/uvis.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/vims.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/galileo/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/galileo/ssi/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/hrc.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/sbc.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/wfc.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic1.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic2.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic3.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/ir.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/uvis.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfpc2.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/nircam/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/nircam/uncal.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/nirc2/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/nirc2.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/newhorizons/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/newhorizons/lorri.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/voyager/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/voyager/iss.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/lightsource.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/meshgrid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/insitu.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/observation_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/pixel.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/rasterslit1d.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/slit1d.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/snapshot.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/timedimage.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/circlepath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/coordpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/fixedpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/keplerpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/linearcoordpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/linearpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/multipath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/path_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/spicepath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/spice_support.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ansa.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/centricellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/centricspheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/graphicellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/graphicspheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/limb.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/nullsurface.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/orbitplane.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/polarlimb.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ringplane.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/spheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/spice_shape.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/surface_.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/transform.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/unittester_support.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/utils.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/requirements.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/dependency_links.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/requires.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/top_level.txt +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/scripts/automated_tests/oops_main_test.sh +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/setup.cfg +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/spicedb/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/spicedb/sqlite_db.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_dualcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_metronome.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_reshapedcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_reversedcadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_sequence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_tdicadence.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_flatcalib.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_radiance.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_rawcounts.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_barrelfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_flatfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_polynomialfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_subarray.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_subsampledfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_tdifov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_wcsfov.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/all.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_cmatrix.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_frame.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_poleframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_postargframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_ringframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_spiceframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_spinframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_synchronousframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_trackerframe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/test_gravity.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/gold_master.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/old_iss_tests.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/standard_obs.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/uvis/uvis.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/uvis/uvis_test_suite.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/vims/vims.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/vims/vims_test_suite.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/gold_master.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/standard_obs.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_pointing_test copy.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_pointing_test.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_test_suite copy.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_test_suite.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/img.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/spe.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/gold_master.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/standard_obs.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/jwst/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/keck/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/newhorizons/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/newhorizons/lorri.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/voyager/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/voyager/iss.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_pixel.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_rasterslit1d.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_slit1d.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_snapshot.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_timedimage.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_circlepath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_keplerpath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_multipath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_path.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_spicepath.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/__init__.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ansa.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_centricellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_centricspheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_graphicellipsoid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_graphicspheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_limb.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_orbitplane.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ringplane.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_spheroid.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_spice_shape.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/xtest_polarlimb-NOT-WORKING.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_body.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_event.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_transform.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_utils.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/unittester.py +0 -0
- {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/unittester_with_hosts.py +0 -0
|
@@ -18,10 +18,6 @@ jobs:
|
|
|
18
18
|
matrix:
|
|
19
19
|
# MacOS: Python 3.8-3.10 does not currently work on MacOS.
|
|
20
20
|
include:
|
|
21
|
-
- os: self-hosted-linux
|
|
22
|
-
python-version: "3.9"
|
|
23
|
-
- os: self-hosted-linux
|
|
24
|
-
python-version: "3.10"
|
|
25
21
|
- os: self-hosted-linux
|
|
26
22
|
python-version: "3.11"
|
|
27
23
|
- os: self-hosted-linux
|
|
@@ -34,16 +30,16 @@ jobs:
|
|
|
34
30
|
# python-version: "3.12"
|
|
35
31
|
# - os: self-hosted-macos
|
|
36
32
|
# python-version: "3.13"
|
|
37
|
-
- os: self-hosted-windows
|
|
38
|
-
|
|
39
|
-
- os: self-hosted-windows
|
|
40
|
-
|
|
41
|
-
- os: self-hosted-windows
|
|
42
|
-
|
|
43
|
-
- os: self-hosted-windows
|
|
44
|
-
|
|
45
|
-
- os: self-hosted-windows
|
|
46
|
-
|
|
33
|
+
# - os: self-hosted-windows
|
|
34
|
+
# python-version: "3.9"
|
|
35
|
+
# - os: self-hosted-windows
|
|
36
|
+
# python-version: "3.10"
|
|
37
|
+
# - os: self-hosted-windows
|
|
38
|
+
# python-version: "3.11"
|
|
39
|
+
# - os: self-hosted-windows
|
|
40
|
+
# python-version: "3.12"
|
|
41
|
+
# - os: self-hosted-windows
|
|
42
|
+
# python-version: "3.13"
|
|
47
43
|
fail-fast: false
|
|
48
44
|
steps:
|
|
49
45
|
- name: Checkout
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rms-oops
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Object-Oriented Python and SPICE
|
|
5
5
|
Maintainer-email: "Robert S. French" <rfrench@seti.org>, "Joseph N. Spitale" <jspitale@seti.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -16,16 +16,13 @@ Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
|
16
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
17
|
Classifier: Topic :: Utilities
|
|
18
18
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
22
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
22
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
26
23
|
Classifier: Operating System :: POSIX :: Linux
|
|
27
24
|
Classifier: Operating System :: Microsoft :: Windows
|
|
28
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.11
|
|
29
26
|
Description-Content-Type: text/markdown
|
|
30
27
|
License-File: LICENSE.md
|
|
31
28
|
Requires-Dist: astropy
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 1)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g36c1502da'
|
|
@@ -899,7 +899,10 @@ class Backplane(object):
|
|
|
899
899
|
|
|
900
900
|
# For reference, we add the key as an attribute of each backplane
|
|
901
901
|
# object
|
|
902
|
-
backplane
|
|
902
|
+
if hasattr(backplane, 'add_attr'): # temporary!
|
|
903
|
+
backplane.add_attr('key', key)
|
|
904
|
+
else:
|
|
905
|
+
backplane.key = key # needed for old polymath
|
|
903
906
|
backplane = backplane.as_readonly(recursive=True)
|
|
904
907
|
self.backplanes[key] = backplane.wod
|
|
905
908
|
|
|
@@ -1147,31 +1147,19 @@ class BackplaneTest(object):
|
|
|
1147
1147
|
log_path = (BACKPLANE_OUTPUT_PREFIX / self.output_dir /
|
|
1148
1148
|
f'{self.task}.log')
|
|
1149
1149
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
localpath = log_path.retrieve()
|
|
1153
|
-
except FileNotFoundError:
|
|
1154
|
-
pass
|
|
1155
|
-
|
|
1156
|
-
if localpath:
|
|
1150
|
+
if log_path.exists():
|
|
1151
|
+
|
|
1157
1152
|
# Append the latest modification date to the pre-existing file
|
|
1158
|
-
dt = datetime.datetime.fromtimestamp(
|
|
1153
|
+
dt = datetime.datetime.fromtimestamp(log_path.modification_time(),
|
|
1154
|
+
tz=datetime.timezone.utc)
|
|
1159
1155
|
suffix = dt.strftime('-%Y-%m-%dT%H-%M-%S')
|
|
1160
|
-
dated_localpath = localpath[:-4] + suffix + '.log'
|
|
1161
1156
|
dated_logpath = log_path[:-4] + suffix + '.log'
|
|
1162
|
-
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
# creation/modification times are not preserved when a file is
|
|
1169
|
-
# retrieved. Instead, it will use the time the file was downloaded.
|
|
1170
|
-
os.rename(localpath, dated_localpath)
|
|
1171
|
-
(BACKPLANE_OUTPUT_PREFIX / dated_logpath).upload()
|
|
1172
|
-
|
|
1173
|
-
abs_log_path = log_path.get_local_path()
|
|
1174
|
-
handler = logging.FileHandler(abs_log_path)
|
|
1157
|
+
|
|
1158
|
+
# Move or copy the old log to its timestamped filename using
|
|
1159
|
+
# filecache-aware replacement semantics.
|
|
1160
|
+
log_path.replace(dated_logpath)
|
|
1161
|
+
|
|
1162
|
+
handler = logging.FileHandler(logpath.as_posix(), mode='w')
|
|
1175
1163
|
LOGGING.logger.addHandler(handler)
|
|
1176
1164
|
|
|
1177
1165
|
# Run the tests
|
|
@@ -2325,28 +2313,17 @@ class BackplaneTest(object):
|
|
|
2325
2313
|
|
|
2326
2314
|
filepath = outdir / 'summary.py'
|
|
2327
2315
|
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
localpath = str(filepath.retrieve(filepath))
|
|
2331
|
-
except FileNotFoundError:
|
|
2332
|
-
pass
|
|
2333
|
-
|
|
2334
|
-
if localpath:
|
|
2316
|
+
if filepath.exists():
|
|
2317
|
+
|
|
2335
2318
|
# Append the latest modification date to any pre-existing file
|
|
2336
|
-
dt = datetime.datetime.fromtimestamp(
|
|
2319
|
+
dt = datetime.datetime.fromtimestamp(filepath.modification_time(),
|
|
2320
|
+
tz=datetime.timezone.utc)
|
|
2337
2321
|
suffix = dt.strftime('-%Y-%m-%dT%H-%M-%S')
|
|
2338
|
-
dated_localpath = localpath[:-3] + suffix + '.py'
|
|
2339
2322
|
dated_filepath = filepath[:-3] + suffix + '.py'
|
|
2340
|
-
|
|
2341
|
-
#
|
|
2342
|
-
#
|
|
2343
|
-
|
|
2344
|
-
# Also notice that this attempt to use the modification date of the
|
|
2345
|
-
# original summary.py file won't work in the cloud, because
|
|
2346
|
-
# creation/modification times are not preserved when a file is
|
|
2347
|
-
# retrieved. Instead, it will use the time the file was downloaded.
|
|
2348
|
-
os.rename(localpath, dated_localpath)
|
|
2349
|
-
dated_filepath.upload()
|
|
2323
|
+
|
|
2324
|
+
# Move or copy the old summary to its timestamped filename using
|
|
2325
|
+
# filecache-aware replacement semantics.
|
|
2326
|
+
filepath.replace(dated_filepath)
|
|
2350
2327
|
LOGGING.info('Previous summary moved to:', dated_filepath.name)
|
|
2351
2328
|
|
|
2352
2329
|
titles = list(self.summary.keys())
|
|
@@ -62,9 +62,7 @@ class Juno(object):
|
|
|
62
62
|
|
|
63
63
|
#===========================================================================
|
|
64
64
|
@staticmethod
|
|
65
|
-
def initialize(ck='reconstructed',
|
|
66
|
-
spk='reconstructed', gapfill=True,
|
|
67
|
-
mst_pck=True, irregulars=True):
|
|
65
|
+
def initialize(ck='reconstructed', spk='reconstructed', gapfill=True, **kwargs):
|
|
68
66
|
"""Intialize the Juno mission internals.
|
|
69
67
|
|
|
70
68
|
After the first call, later calls to this function are ignored.
|
|
@@ -74,26 +72,16 @@ class Juno(object):
|
|
|
74
72
|
'reconstructed' for the reconstructed kernels (default);
|
|
75
73
|
'predicted' for the predicted kernels;
|
|
76
74
|
'none' to allow manual control of the C kernels.
|
|
77
|
-
planets A list of planets to pass to define_solar_system. None
|
|
78
|
-
or 0 means all.
|
|
79
|
-
asof Only use SPICE kernels that existed before this date;
|
|
80
|
-
None to ignore.
|
|
81
75
|
gapfill True to include gapfill CKs. False otherwise.
|
|
82
|
-
|
|
83
|
-
models for some of the small moons.
|
|
84
|
-
irregulars True to include the irregular satellites;
|
|
85
|
-
False otherwise.
|
|
76
|
+
kwargs: Arguments for juno.__init__() and Body.define_solar_system()
|
|
86
77
|
"""
|
|
87
78
|
if Juno.initialized: return
|
|
88
79
|
|
|
80
|
+
asof = kwargs.pop('asof', None)
|
|
89
81
|
(ck, spk) = ('NONE', 'NONE')
|
|
90
82
|
|
|
91
83
|
# Define some important paths and frames
|
|
92
|
-
Body.define_solar_system(Juno.START_TIME, Juno.STOP_TIME,
|
|
93
|
-
asof=asof,
|
|
94
|
-
planets=planets,
|
|
95
|
-
mst_pck=mst_pck,
|
|
96
|
-
irregulars=irregulars)
|
|
84
|
+
Body.define_solar_system(Juno.START_TIME, Juno.STOP_TIME, **kwargs)
|
|
97
85
|
|
|
98
86
|
ignore = oops.path.SpicePath('JUNO', 'JUPITER')
|
|
99
87
|
|
|
@@ -6,7 +6,6 @@ import numpy as np
|
|
|
6
6
|
import julian
|
|
7
7
|
import cspyce
|
|
8
8
|
from polymath import *
|
|
9
|
-
import os.path
|
|
10
9
|
import pdsparser
|
|
11
10
|
import oops
|
|
12
11
|
|
|
@@ -29,12 +28,13 @@ def from_file(filespec, return_all_planets=False, method='strict', **parameters)
|
|
|
29
28
|
JIRAM.initialize() # Define everything the first time through; use
|
|
30
29
|
# defaults unless initialize() is called explicitly.
|
|
31
30
|
|
|
32
|
-
# Load the PDS label
|
|
33
31
|
filespec = FCPath(filespec)
|
|
32
|
+
|
|
33
|
+
# Load the PDS label
|
|
34
34
|
label = pdsparser.Pds3Label(filespec, method=method).as_dict()
|
|
35
35
|
|
|
36
36
|
# Get common metadata
|
|
37
|
-
meta =
|
|
37
|
+
meta = _Metadata(label)
|
|
38
38
|
|
|
39
39
|
# Load time-dependent kernels
|
|
40
40
|
Juno.load_cks(meta.tstart, meta.tstart + 3600.)
|
|
@@ -59,7 +59,7 @@ def from_file(filespec, return_all_planets=False, method='strict', **parameters)
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
#*******************************************************************************
|
|
62
|
-
class
|
|
62
|
+
class _Metadata(object):
|
|
63
63
|
|
|
64
64
|
#===========================================================================
|
|
65
65
|
def __init__(self, label):
|
|
@@ -97,37 +97,26 @@ class JIRAM(object):
|
|
|
97
97
|
|
|
98
98
|
#===========================================================================
|
|
99
99
|
@staticmethod
|
|
100
|
-
def initialize(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
def initialize(asof=None, **kwargs):
|
|
101
|
+
"""
|
|
102
|
+
Initialize key information about the JIRAM instrument; fill in key
|
|
103
|
+
information about the WAC and NAC.
|
|
104
104
|
|
|
105
105
|
Must be called first. After the first call, later calls to this function
|
|
106
106
|
are ignored.
|
|
107
107
|
|
|
108
108
|
Input:
|
|
109
|
-
ck,spk 'predicted', 'reconstructed', or 'none', depending on
|
|
110
|
-
which kernels are to be used. Defaults are
|
|
111
|
-
'reconstructed'. Use 'none' if the kernels are to be
|
|
112
|
-
managed manually.
|
|
113
|
-
planets A list of planets to pass to define_solar_system. None
|
|
114
|
-
or 0 means all.
|
|
115
109
|
asof Only use SPICE kernels that existed before this date;
|
|
116
110
|
None to ignore.
|
|
117
|
-
|
|
118
|
-
mst_pck True to include MST PCKs, which update the rotation
|
|
119
|
-
models for some of the small moons.
|
|
120
|
-
irregulars True to include the irregular satellites;
|
|
121
|
-
False otherwise.
|
|
111
|
+
kwargs: Arguments for juno.initialize() and Body.define_solar_system()
|
|
122
112
|
"""
|
|
123
113
|
|
|
124
114
|
# Quick exit after first call
|
|
125
|
-
if JIRAM.initialized:
|
|
115
|
+
if JIRAM.initialized:
|
|
116
|
+
return
|
|
126
117
|
|
|
127
118
|
# initialize Juno
|
|
128
|
-
Juno.initialize(
|
|
129
|
-
gapfill=gapfill,
|
|
130
|
-
mst_pck=mst_pck, irregulars=irregulars)
|
|
119
|
+
Juno.initialize(asof=asof, **kwargs)
|
|
131
120
|
Juno.load_instruments(asof=asof)
|
|
132
121
|
|
|
133
122
|
JIRAM.initialized = True
|
|
@@ -6,7 +6,6 @@ import numpy as np
|
|
|
6
6
|
import julian
|
|
7
7
|
import cspyce
|
|
8
8
|
from polymath import *
|
|
9
|
-
import os.path
|
|
10
9
|
import oops
|
|
11
10
|
|
|
12
11
|
from oops.hosts.juno.jiram import JIRAM
|
|
@@ -41,7 +40,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
41
40
|
filespec = FCPath(filespec)
|
|
42
41
|
|
|
43
42
|
# Get metadata
|
|
44
|
-
meta =
|
|
43
|
+
meta = _Metadata(label)
|
|
45
44
|
|
|
46
45
|
# Define everything the first time through
|
|
47
46
|
IMG.initialize(meta.tstart)
|
|
@@ -52,7 +51,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
52
51
|
# Construct a Snapshot for each framelet
|
|
53
52
|
obs = []
|
|
54
53
|
for i in range(meta.nframelets):
|
|
55
|
-
fmeta =
|
|
54
|
+
fmeta = _Metadata(flabels[i])
|
|
56
55
|
|
|
57
56
|
item = oops.obs.Snapshot(('v','u'),
|
|
58
57
|
fmeta.tstart, fmeta.exposure, fmeta.fov,
|
|
@@ -64,7 +63,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
64
63
|
# item.insert_subfield('spice_kernels', \
|
|
65
64
|
# Juno.used_kernels(item.time, 'jiram', return_all_planets))
|
|
66
65
|
item.insert_subfield('filespec', filespec)
|
|
67
|
-
item.insert_subfield('basename',
|
|
66
|
+
item.insert_subfield('basename', filespec.name)
|
|
68
67
|
obs.append(item)
|
|
69
68
|
|
|
70
69
|
return obs
|
|
@@ -85,7 +84,6 @@ def _load_data(filespec, label, meta):
|
|
|
85
84
|
"""
|
|
86
85
|
|
|
87
86
|
# Read data
|
|
88
|
-
# seems like this should be handled in a readpds-style function somewhere
|
|
89
87
|
local_path = filespec.retrieve()
|
|
90
88
|
data = np.fromfile(local_path, dtype='<f4').reshape(meta.nlines,meta.nsamples)
|
|
91
89
|
|
|
@@ -118,7 +116,7 @@ def _load_data(filespec, label, meta):
|
|
|
118
116
|
|
|
119
117
|
|
|
120
118
|
#*******************************************************************************
|
|
121
|
-
class
|
|
119
|
+
class _Metadata(object):
|
|
122
120
|
|
|
123
121
|
#===========================================================================
|
|
124
122
|
def __init__(self, label):
|
|
@@ -209,9 +207,7 @@ class IMG(object):
|
|
|
209
207
|
|
|
210
208
|
#===========================================================================
|
|
211
209
|
@staticmethod
|
|
212
|
-
def initialize(time,
|
|
213
|
-
spk='reconstructed', gapfill=True,
|
|
214
|
-
mst_pck=True, irregulars=True):
|
|
210
|
+
def initialize(time, asof=None, **kwargs):
|
|
215
211
|
"""Initialize key information about the IMG instrument.
|
|
216
212
|
|
|
217
213
|
Must be called first. After the first call, later calls to this function
|
|
@@ -220,27 +216,17 @@ class IMG(object):
|
|
|
220
216
|
Input:
|
|
221
217
|
time time at which to define the inertialy fixed mirror-
|
|
222
218
|
corrected frame.
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
planets A list of planets to pass to define_solar_system. None or
|
|
227
|
-
0 means all.
|
|
228
|
-
asof Only use SPICE kernels that existed before this date; None
|
|
229
|
-
to ignore.
|
|
230
|
-
gapfill True to include gapfill CKs. False otherwise.
|
|
231
|
-
mst_pck True to include MST PCKs, which update the rotation models
|
|
232
|
-
for some of the small moons.
|
|
233
|
-
irregulars True to include the irregular satellites;
|
|
234
|
-
False otherwise.
|
|
219
|
+
asof Only use SPICE kernels that existed before this date;
|
|
220
|
+
None to ignore.
|
|
221
|
+
kwargs: Arguments for juno.initialize() and Body.define_solar_system()
|
|
235
222
|
"""
|
|
236
223
|
|
|
237
224
|
# Quick exit after first call
|
|
238
|
-
if IMG.initialized:
|
|
225
|
+
if IMG.initialized:
|
|
226
|
+
return
|
|
239
227
|
|
|
240
228
|
# initialize JIRAM
|
|
241
|
-
JIRAM.initialize(
|
|
242
|
-
spk=spk, gapfill=gapfill,
|
|
243
|
-
mst_pck=mst_pck, irregulars=irregulars)
|
|
229
|
+
JIRAM.initialize(asof=asof, **kwargs)
|
|
244
230
|
|
|
245
231
|
# Construct the SpiceFrames
|
|
246
232
|
JIRAM.create_frame(time, 'I_MBAND')
|
|
@@ -6,7 +6,6 @@ import numpy as np
|
|
|
6
6
|
import julian
|
|
7
7
|
import cspyce
|
|
8
8
|
from polymath import *
|
|
9
|
-
import os.path
|
|
10
9
|
import oops
|
|
11
10
|
|
|
12
11
|
from oops.hosts.juno.jiram import JIRAM
|
|
@@ -40,7 +39,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
40
39
|
filespec = FCPath(filespec)
|
|
41
40
|
|
|
42
41
|
# Get metadata
|
|
43
|
-
meta =
|
|
42
|
+
meta = _Metadata(label)
|
|
44
43
|
|
|
45
44
|
# Define everything the first time through
|
|
46
45
|
SPE.initialize(meta.tstart)
|
|
@@ -59,7 +58,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
59
58
|
# item.insert_subfield('spice_kernels',
|
|
60
59
|
# Juno.used_kernels(item.time, 'jiram', return_all_planets))
|
|
61
60
|
item.insert_subfield('filespec', filespec)
|
|
62
|
-
item.insert_subfield('basename',
|
|
61
|
+
item.insert_subfield('basename', filespec.name)
|
|
63
62
|
slits.append(item)
|
|
64
63
|
|
|
65
64
|
# return slits
|
|
@@ -72,7 +71,7 @@ def from_file(filespec, label, fast_distortion=True,
|
|
|
72
71
|
# obs.insert_subfield('spice_kernels',
|
|
73
72
|
# Juno.used_kernels(item.time, 'jiram', return_all_planets))
|
|
74
73
|
obs.insert_subfield('filespec', filespec)
|
|
75
|
-
obs.insert_subfield('basename',
|
|
74
|
+
obs.insert_subfield('basename', filespec.name)
|
|
76
75
|
|
|
77
76
|
return (obs, slits)
|
|
78
77
|
|
|
@@ -85,14 +84,12 @@ def _load_data(filespec, label, meta):
|
|
|
85
84
|
label Label for composite image.
|
|
86
85
|
meta Image Metadata object.
|
|
87
86
|
|
|
88
|
-
Return: (
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
framelet_labels List of labels for each framelet.
|
|
87
|
+
Return: (spectra)
|
|
88
|
+
spectra A Numpy array containing the individual spectra in
|
|
89
|
+
wavelength order (spectrum #, sample).
|
|
92
90
|
"""
|
|
93
91
|
|
|
94
92
|
# Read data
|
|
95
|
-
# seems like this should be handled in a readpds-style function somewhere
|
|
96
93
|
local_path = filespec.retrieve()
|
|
97
94
|
data = np.fromfile(local_path, dtype='<f4').reshape(meta.nlines,meta.nsamples)
|
|
98
95
|
|
|
@@ -100,7 +97,7 @@ def _load_data(filespec, label, meta):
|
|
|
100
97
|
|
|
101
98
|
|
|
102
99
|
#*******************************************************************************
|
|
103
|
-
class
|
|
100
|
+
class _Metadata(object):
|
|
104
101
|
|
|
105
102
|
#===========================================================================
|
|
106
103
|
def __init__(self, label):
|
|
@@ -155,9 +152,7 @@ class SPE(object):
|
|
|
155
152
|
|
|
156
153
|
#===========================================================================
|
|
157
154
|
@staticmethod
|
|
158
|
-
def initialize(time,
|
|
159
|
-
spk='reconstructed', gapfill=True,
|
|
160
|
-
mst_pck=True, irregulars=True):
|
|
155
|
+
def initialize(time, asof=None, **kwargs):
|
|
161
156
|
"""
|
|
162
157
|
Initialize key information about the SPE instrument.
|
|
163
158
|
|
|
@@ -167,27 +162,17 @@ class SPE(object):
|
|
|
167
162
|
Input:
|
|
168
163
|
time time at which to define the inertialy fixed mirror-
|
|
169
164
|
corrected frame.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
planets A list of planets to pass to define_solar_system. None or
|
|
174
|
-
0 means all.
|
|
175
|
-
asof Only use SPICE kernels that existed before this date; None
|
|
176
|
-
to ignore.
|
|
177
|
-
gapfill True to include gapfill CKs. False otherwise.
|
|
178
|
-
mst_pck True to include MST PCKs, which update the rotation models
|
|
179
|
-
for some of the small moons.
|
|
180
|
-
irregulars True to include the irregular satellites;
|
|
181
|
-
False otherwise.
|
|
165
|
+
asof Only use SPICE kernels that existed before this date;
|
|
166
|
+
None to ignore.
|
|
167
|
+
kwargs: Arguments for juno.initialize() and Body.define_solar_system()
|
|
182
168
|
"""
|
|
183
169
|
|
|
184
170
|
# Quick exit after first call
|
|
185
|
-
if SPE.initialized:
|
|
171
|
+
if SPE.initialized:
|
|
172
|
+
return
|
|
186
173
|
|
|
187
174
|
# initialize JIRAM
|
|
188
|
-
JIRAM.initialize(
|
|
189
|
-
spk=spk, gapfill=gapfill,
|
|
190
|
-
mst_pck=mst_pck, irregulars=irregulars)
|
|
175
|
+
JIRAM.initialize(asof=asof, **kwargs)
|
|
191
176
|
|
|
192
177
|
# Construct the SpiceFrame
|
|
193
178
|
JIRAM.create_frame(time, 'S')
|