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.
Files changed (364) hide show
  1. {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-tests.yml +10 -14
  2. {rms_oops-0.2.0/rms_oops.egg-info → rms_oops-0.2.1}/PKG-INFO +2 -5
  3. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/_version.py +3 -3
  4. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/__init__.py +4 -1
  5. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/__init__.py +18 -41
  6. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/__init__.py +4 -16
  7. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/__init__.py +12 -23
  8. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/img.py +11 -25
  9. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/jiram/spe.py +14 -29
  10. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/juno/junocam/__init__.py +40 -149
  11. {rms_oops-0.2.0 → rms_oops-0.2.1}/pyproject.toml +1 -4
  12. {rms_oops-0.2.0 → rms_oops-0.2.1/rms_oops.egg-info}/PKG-INFO +2 -5
  13. {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/SOURCES.txt +2 -0
  14. rms_oops-0.2.1/rms_oops.egg-info/scm_file_list.json +359 -0
  15. rms_oops-0.2.1/rms_oops.egg-info/scm_version.json +8 -0
  16. {rms_oops-0.2.0 → rms_oops-0.2.1}/.coveragerc +0 -0
  17. {rms_oops-0.2.0 → rms_oops-0.2.1}/.flake8 +0 -0
  18. {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/publish_to_pypi.yml +0 -0
  19. {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/publish_to_test_pypi.yml +0 -0
  20. {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-lint.yml +0 -0
  21. {rms_oops-0.2.0 → rms_oops-0.2.1}/.github/workflows/run-windows-tests.yml +0 -0
  22. {rms_oops-0.2.0 → rms_oops-0.2.1}/.gitignore +0 -0
  23. {rms_oops-0.2.0 → rms_oops-0.2.1}/CODE_OF_CONDUCT.md +0 -0
  24. {rms_oops-0.2.0 → rms_oops-0.2.1}/CONTRIBUTING.md +0 -0
  25. {rms_oops-0.2.0 → rms_oops-0.2.1}/LICENSE.md +0 -0
  26. {rms_oops-0.2.0 → rms_oops-0.2.1}/README.md +0 -0
  27. {rms_oops-0.2.0 → rms_oops-0.2.1}/codecov.yml +0 -0
  28. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/__init__.py +0 -0
  29. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/cmodel.py +0 -0
  30. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/distance.py +0 -0
  31. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/latitude.py +0 -0
  32. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/longitude.py +0 -0
  33. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/radius.py +0 -0
  34. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/cmodel_/unittester.py +0 -0
  35. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/NOTES-ABOUT-OBSERVATION-CLASSES.txt +0 -0
  36. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/extendedsource.py +0 -0
  37. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/iss_test_suite.py +0 -0
  38. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pointsource.py +0 -0
  39. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/polynomialfov.py +0 -0
  40. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pushbroom.py +0 -0
  41. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/pushframe.py +0 -0
  42. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/radialfov.py +0 -0
  43. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/rasterscan.py +0 -0
  44. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/rasterslit.py +0 -0
  45. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/deprecated/slit.py +0 -0
  46. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/__init__.py +0 -0
  47. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/format.py +0 -0
  48. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/hms.py +0 -0
  49. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/pythonfmt.py +0 -0
  50. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/format_/unittester.py +0 -0
  51. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/backplane-__init__.py +0 -0
  52. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/observation-__init__.py +0 -0
  53. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/gll_ssi_masked/ssi.py +0 -0
  54. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/multipath/multipath.py +0 -0
  55. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/__init__.py +0 -0
  56. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/navigation.py +0 -0
  57. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/nullnav.py +0 -0
  58. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/platescale.py +0 -0
  59. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/repointing.py +0 -0
  60. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/timeshift.py +0 -0
  61. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/nav_/unittester.py +0 -0
  62. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_frame_interpolation_using_matrix3.py.txt +0 -0
  63. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/pushbroom.py +0 -0
  64. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/pushframe.py +0 -0
  65. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/rasterscan.py +0 -0
  66. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/rasterslit.py +0 -0
  67. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/old_observation_subclasses/slit.py +0 -0
  68. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/__init__.py +0 -0
  69. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat.py +0 -0
  70. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat_arrays.py +0 -0
  71. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/packrat_entities.py +0 -0
  72. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/packrat/unittester.py +0 -0
  73. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/pds3.py +0 -0
  74. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/poleframe-with-tilt.py +0 -0
  75. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/registry.py +0 -0
  76. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/__init__.py +0 -0
  77. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/affine.py +0 -0
  78. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/arc.py +0 -0
  79. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/circle.py +0 -0
  80. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/conic.py +0 -0
  81. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/ellipse.py +0 -0
  82. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/line.py +0 -0
  83. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/point.py +0 -0
  84. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/polygon.py +0 -0
  85. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/shape2d/triangle.py +0 -0
  86. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/__init__.py +0 -0
  87. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/make.sh +0 -0
  88. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01.i +0 -0
  89. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01.py +0 -0
  90. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01_interface.f +0 -0
  91. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/spice_stcx01_wrap.c +0 -0
  92. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/spice_starcat/strings.f +0 -0
  93. {rms_oops-0.2.0 → rms_oops-0.2.1}/ideas/wobble.py +0 -0
  94. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/.coveragerc +0 -0
  95. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/__init__.py +0 -0
  96. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/all.py +0 -0
  97. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/ansa.py +0 -0
  98. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/border.py +0 -0
  99. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/distance.py +0 -0
  100. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/lighting.py +0 -0
  101. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/limb.py +0 -0
  102. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/orbit.py +0 -0
  103. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/pixel.py +0 -0
  104. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/pole.py +0 -0
  105. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/resolution.py +0 -0
  106. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/ring.py +0 -0
  107. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/sky.py +0 -0
  108. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/spheroid.py +0 -0
  109. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/backplane/where.py +0 -0
  110. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/body.py +0 -0
  111. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/__init__.py +0 -0
  112. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/cadence_.py +0 -0
  113. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/dualcadence.py +0 -0
  114. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/instant.py +0 -0
  115. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/metronome.py +0 -0
  116. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/reshapedcadence.py +0 -0
  117. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/reversedcadence.py +0 -0
  118. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/sequence.py +0 -0
  119. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/cadence/tdicadence.py +0 -0
  120. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/__init__.py +0 -0
  121. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/calibration_.py +0 -0
  122. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/flatcalib.py +0 -0
  123. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/nullcalib.py +0 -0
  124. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/radiance.py +0 -0
  125. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/calibration/rawcounts.py +0 -0
  126. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/config.py +0 -0
  127. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/constants.py +0 -0
  128. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/event.py +0 -0
  129. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fittable.py +0 -0
  130. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/__init__.py +0 -0
  131. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/barrelfov.py +0 -0
  132. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/flatfov.py +0 -0
  133. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/fov_.py +0 -0
  134. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/gapfov.py +0 -0
  135. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/nullfov.py +0 -0
  136. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/offsetfov.py +0 -0
  137. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/polynomialfov.py +0 -0
  138. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/slicefov.py +0 -0
  139. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/subarray.py +0 -0
  140. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/subsampledfov.py +0 -0
  141. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/tdifov.py +0 -0
  142. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/fov/wcsfov.py +0 -0
  143. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/__init__.py +0 -0
  144. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/cmatrix.py +0 -0
  145. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/frame_.py +0 -0
  146. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/inclinedframe.py +0 -0
  147. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/laplaceframe.py +0 -0
  148. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/navigation.py +0 -0
  149. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/poleframe.py +0 -0
  150. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/postargframe.py +0 -0
  151. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/ringframe.py +0 -0
  152. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/rotation.py +0 -0
  153. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spiceframe.py +0 -0
  154. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spicetype1frame.py +0 -0
  155. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/spinframe.py +0 -0
  156. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/synchronousframe.py +0 -0
  157. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/trackerframe.py +0 -0
  158. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/frame/twovectorframe.py +0 -0
  159. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/all.py +0 -0
  160. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/ansa.py +0 -0
  161. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/border.py +0 -0
  162. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/distance.py +0 -0
  163. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/lighting.py +0 -0
  164. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/limb.py +0 -0
  165. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/orbit.py +0 -0
  166. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/pole.py +0 -0
  167. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/resolution.py +0 -0
  168. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/ring.py +0 -0
  169. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/sky.py +0 -0
  170. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/spheroid.py +0 -0
  171. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/test_support.py +0 -0
  172. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gold_master/where.py +0 -0
  173. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/__init__.py +0 -0
  174. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/gravity_.py +0 -0
  175. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/gravity/oblategravity.py +0 -0
  176. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/__init__.py +0 -0
  177. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/__init__.py +0 -0
  178. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/iss.py +0 -0
  179. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/uvis.py +0 -0
  180. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/cassini/vims.py +0 -0
  181. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/galileo/__init__.py +0 -0
  182. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/galileo/ssi/__init__.py +0 -0
  183. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/__init__.py +0 -0
  184. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/__init__.py +0 -0
  185. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/hrc.py +0 -0
  186. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/sbc.py +0 -0
  187. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/acs/wfc.py +0 -0
  188. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/__init__.py +0 -0
  189. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic1.py +0 -0
  190. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic2.py +0 -0
  191. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/nicmos/nic3.py +0 -0
  192. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/__init__.py +0 -0
  193. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/ir.py +0 -0
  194. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfc3/uvis.py +0 -0
  195. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/hst/wfpc2.py +0 -0
  196. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/__init__.py +0 -0
  197. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/nircam/__init__.py +0 -0
  198. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/jwst/nircam/uncal.py +0 -0
  199. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/__init__.py +0 -0
  200. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/nirc2/__init__.py +0 -0
  201. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/keck/nirc2.py +0 -0
  202. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/newhorizons/__init__.py +0 -0
  203. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/newhorizons/lorri.py +0 -0
  204. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/voyager/__init__.py +0 -0
  205. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/hosts/voyager/iss.py +0 -0
  206. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/lightsource.py +0 -0
  207. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/meshgrid.py +0 -0
  208. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/__init__.py +0 -0
  209. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/insitu.py +0 -0
  210. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/observation_.py +0 -0
  211. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/pixel.py +0 -0
  212. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/rasterslit1d.py +0 -0
  213. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/slit1d.py +0 -0
  214. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/snapshot.py +0 -0
  215. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/observation/timedimage.py +0 -0
  216. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/__init__.py +0 -0
  217. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/circlepath.py +0 -0
  218. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/coordpath.py +0 -0
  219. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/fixedpath.py +0 -0
  220. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/keplerpath.py +0 -0
  221. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/linearcoordpath.py +0 -0
  222. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/linearpath.py +0 -0
  223. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/multipath.py +0 -0
  224. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/path_.py +0 -0
  225. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/path/spicepath.py +0 -0
  226. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/spice_support.py +0 -0
  227. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/__init__.py +0 -0
  228. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ansa.py +0 -0
  229. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/centricellipsoid.py +0 -0
  230. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/centricspheroid.py +0 -0
  231. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ellipsoid.py +0 -0
  232. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/graphicellipsoid.py +0 -0
  233. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/graphicspheroid.py +0 -0
  234. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/limb.py +0 -0
  235. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/nullsurface.py +0 -0
  236. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/orbitplane.py +0 -0
  237. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/polarlimb.py +0 -0
  238. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/ringplane.py +0 -0
  239. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/spheroid.py +0 -0
  240. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/spice_shape.py +0 -0
  241. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/surface/surface_.py +0 -0
  242. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/transform.py +0 -0
  243. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/unittester_support.py +0 -0
  244. {rms_oops-0.2.0 → rms_oops-0.2.1}/oops/utils.py +0 -0
  245. {rms_oops-0.2.0 → rms_oops-0.2.1}/requirements.txt +0 -0
  246. {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/dependency_links.txt +0 -0
  247. {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/requires.txt +0 -0
  248. {rms_oops-0.2.0 → rms_oops-0.2.1}/rms_oops.egg-info/top_level.txt +0 -0
  249. {rms_oops-0.2.0 → rms_oops-0.2.1}/scripts/automated_tests/oops_main_test.sh +0 -0
  250. {rms_oops-0.2.0 → rms_oops-0.2.1}/setup.cfg +0 -0
  251. {rms_oops-0.2.0 → rms_oops-0.2.1}/spicedb/__init__.py +0 -0
  252. {rms_oops-0.2.0 → rms_oops-0.2.1}/spicedb/sqlite_db.py +0 -0
  253. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/__init__.py +0 -0
  254. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/__init__.py +0 -0
  255. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_dualcadence.py +0 -0
  256. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_metronome.py +0 -0
  257. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_reshapedcadence.py +0 -0
  258. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_reversedcadence.py +0 -0
  259. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_sequence.py +0 -0
  260. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/test_tdicadence.py +0 -0
  261. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/cadence/unittester.py +0 -0
  262. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/__init__.py +0 -0
  263. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_flatcalib.py +0 -0
  264. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_radiance.py +0 -0
  265. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/test_rawcounts.py +0 -0
  266. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/calibration/unittester.py +0 -0
  267. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/__init__.py +0 -0
  268. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_barrelfov.py +0 -0
  269. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_flatfov.py +0 -0
  270. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_polynomialfov.py +0 -0
  271. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_subarray.py +0 -0
  272. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_subsampledfov.py +0 -0
  273. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_tdifov.py +0 -0
  274. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/test_wcsfov.py +0 -0
  275. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/fov/unittester.py +0 -0
  276. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/__init__.py +0 -0
  277. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/all.py +0 -0
  278. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_cmatrix.py +0 -0
  279. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_frame.py +0 -0
  280. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_poleframe.py +0 -0
  281. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_postargframe.py +0 -0
  282. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_ringframe.py +0 -0
  283. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_spiceframe.py +0 -0
  284. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_spinframe.py +0 -0
  285. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_synchronousframe.py +0 -0
  286. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/test_trackerframe.py +0 -0
  287. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/frame/unittester.py +0 -0
  288. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/__init__.py +0 -0
  289. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/test_gravity.py +0 -0
  290. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/gravity/unittester.py +0 -0
  291. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/__init__.py +0 -0
  292. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/__init__.py +0 -0
  293. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/__init__.py +0 -0
  294. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/gold_master.py +0 -0
  295. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/old_iss_tests.py +0 -0
  296. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/standard_obs.py +0 -0
  297. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/iss/unittester.py +0 -0
  298. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/unittester.py +0 -0
  299. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/uvis/uvis.py +0 -0
  300. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/uvis/uvis_test_suite.py +0 -0
  301. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/vims/vims.py +0 -0
  302. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/cassini/vims/vims_test_suite.py +0 -0
  303. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/__init__.py +0 -0
  304. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/__init__.py +0 -0
  305. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/gold_master.py +0 -0
  306. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/standard_obs.py +0 -0
  307. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/ssi/unittester.py +0 -0
  308. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/galileo/unittester.py +0 -0
  309. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/__init__.py +0 -0
  310. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/unittester.py +0 -0
  311. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/__init__.py +0 -0
  312. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_pointing_test copy.py +0 -0
  313. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_pointing_test.py +0 -0
  314. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_test_suite copy.py +0 -0
  315. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/hst/wfc3/wfc3_test_suite.py +0 -0
  316. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/__init__.py +0 -0
  317. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/__init__.py +0 -0
  318. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/img.py +0 -0
  319. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/jiram/spe.py +0 -0
  320. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/__init__.py +0 -0
  321. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/gold_master.py +0 -0
  322. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/junocam/standard_obs.py +0 -0
  323. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/juno/unittester.py +0 -0
  324. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/jwst/__init__.py +0 -0
  325. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/keck/__init__.py +0 -0
  326. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/newhorizons/__init__.py +0 -0
  327. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/newhorizons/lorri.py +0 -0
  328. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/unittester.py +0 -0
  329. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/voyager/__init__.py +0 -0
  330. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/hosts/voyager/iss.py +0 -0
  331. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/__init__.py +0 -0
  332. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_pixel.py +0 -0
  333. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_rasterslit1d.py +0 -0
  334. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_slit1d.py +0 -0
  335. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_snapshot.py +0 -0
  336. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/test_timedimage.py +0 -0
  337. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/observation/unittester.py +0 -0
  338. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/__init__.py +0 -0
  339. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_circlepath.py +0 -0
  340. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_keplerpath.py +0 -0
  341. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_multipath.py +0 -0
  342. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_path.py +0 -0
  343. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/test_spicepath.py +0 -0
  344. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/path/unittester.py +0 -0
  345. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/__init__.py +0 -0
  346. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ansa.py +0 -0
  347. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_centricellipsoid.py +0 -0
  348. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_centricspheroid.py +0 -0
  349. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ellipsoid.py +0 -0
  350. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_graphicellipsoid.py +0 -0
  351. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_graphicspheroid.py +0 -0
  352. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_limb.py +0 -0
  353. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_orbitplane.py +0 -0
  354. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_ringplane.py +0 -0
  355. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_spheroid.py +0 -0
  356. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/test_spice_shape.py +0 -0
  357. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/unittester.py +0 -0
  358. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/surface/xtest_polarlimb-NOT-WORKING.py +0 -0
  359. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_body.py +0 -0
  360. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_event.py +0 -0
  361. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_transform.py +0 -0
  362. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/test_utils.py +0 -0
  363. {rms_oops-0.2.0 → rms_oops-0.2.1}/tests/unittester.py +0 -0
  364. {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
- python-version: "3.9"
39
- - os: self-hosted-windows
40
- python-version: "3.10"
41
- - os: self-hosted-windows
42
- python-version: "3.11"
43
- - os: self-hosted-windows
44
- python-version: "3.12"
45
- - os: self-hosted-windows
46
- python-version: "3.13"
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.0
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.8
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.0'
22
- __version_tuple__ = version_tuple = (0, 2, 0)
21
+ __version__ = version = '0.2.1'
22
+ __version_tuple__ = version_tuple = (0, 2, 1)
23
23
 
24
- __commit_id__ = commit_id = 'gc9d8194d5'
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.key = key
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
- localpath = None
1151
- try:
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(os.path.getmtime(localpath))
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
- # Note that for a cloud destination, this doesn't actually delete
1163
- # the original summary.py file in the cloud, since you can't rename
1164
- # files in the cloud. Instead we upload a copy with the new dated
1165
- # name and then the write below will overwrite the old version.
1166
- # Also notice that this attempt to use the modification date of the
1167
- # original summary.py file won't work in the cloud, because
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
- localpath = None
2329
- try:
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(os.path.getmtime(localpath))
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
- # Note that for a cloud destination, this doesn't actually delete
2341
- # the original summary.py file in the cloud, since you can't rename
2342
- # files in the cloud. Instead we upload a copy with the new dated
2343
- # name and then the write below will overwrite the old version.
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', planets=None, asof=None,
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
- mst_pck True to include MST PCKs, which update the rotation
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 = Metadata(label)
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 Metadata(object):
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(ck='reconstructed', planets=None, asof=None,
101
- spk='reconstructed', gapfill=True,
102
- mst_pck=True, irregulars=True):
103
- """Initialize key information about the JIRAM instrument.
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
- gapfill True to include gapfill CKs. False otherwise.
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: return
115
+ if JIRAM.initialized:
116
+ return
126
117
 
127
118
  # initialize Juno
128
- Juno.initialize(ck=ck, planets=planets, asof=asof, spk=spk,
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 = Metadata(label)
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 = Metadata(flabels[i])
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', os.path.basename(filespec))
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 Metadata(object):
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, ck='reconstructed', planets=None, asof=None,
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
- ck,spk 'predicted', 'reconstructed', or 'none', depending on which
224
- kernels are to be used. Defaults are 'reconstructed'. Use
225
- 'none' if the kernels are to be managed manually.
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: return
225
+ if IMG.initialized:
226
+ return
239
227
 
240
228
  # initialize JIRAM
241
- JIRAM.initialize(ck=ck, planets=planets, asof=asof,
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 = Metadata(label)
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', os.path.basename(filespec))
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', os.path.basename(filespec))
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: (framelets, framelet_labels)
89
- framelets A Numpy array containing the individual frames in
90
- axis order (line, sample, framelet #).
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 Metadata(object):
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, ck='reconstructed', planets=None, asof=None,
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
- ck,spk 'predicted', 'reconstructed', or 'none', depending on which
171
- kernels are to be used. Defaults are 'reconstructed'. Use
172
- 'none' if the kernels are to be managed manually.
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: return
171
+ if SPE.initialized:
172
+ return
186
173
 
187
174
  # initialize JIRAM
188
- JIRAM.initialize(ck=ck, planets=planets, asof=asof,
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')