Skip to content

A few changes from last Huntsman observing run#511

Closed
wtgee wants to merge 12 commits intopanoptes:developfrom
wtgee:huntsman-run-updates
Closed

A few changes from last Huntsman observing run#511
wtgee wants to merge 12 commits intopanoptes:developfrom
wtgee:huntsman-run-updates

Conversation

@wtgee
Copy link
Copy Markdown
Member

@wtgee wtgee commented Apr 12, 2018

  • Make sure observation is still in valid list.
  • Link pretty image from FITS to latest
  • Weather plot fixes

@wtgee wtgee requested a review from a team April 12, 2018 01:24
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2018

Codecov Report

Merging #511 into develop will decrease coverage by 2.68%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #511      +/-   ##
===========================================
- Coverage    70.46%   67.78%   -2.69%     
===========================================
  Files           62       62              
  Lines         5418     5419       +1     
  Branches       752      752              
===========================================
- Hits          3818     3673     -145     
- Misses        1392     1546     +154     
+ Partials       208      200       -8
Impacted Files Coverage Δ
pocs/utils/images/__init__.py 75.79% <ø> (-1.28%) ⬇️
pocs/scheduler/dispatch.py 92.15% <0%> (-5.89%) ⬇️
pocs/state/states/default/pointing.py 14.28% <0%> (-65.31%) ⬇️
pocs/state/states/default/slewing.py 7.69% <0%> (-53.85%) ⬇️
pocs/state/states/default/analyzing.py 6.25% <0%> (-50%) ⬇️
pocs/state/states/default/observing.py 16.66% <0%> (-50%) ⬇️
pocs/state/states/default/tracking.py 66.66% <0%> (-16.67%) ⬇️
pocs/state/states/default/scheduling.py 56.52% <0%> (-13.05%) ⬇️
pocs/observatory.py 70.87% <0%> (-10.99%) ⬇️
pocs/camera/camera.py 83.97% <0%> (-6.63%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17754d0...7e4889c. Read the comment docs.

wtgee added a commit to wtgee/POCS that referenced this pull request May 1, 2018
@wtgee wtgee mentioned this pull request May 1, 2018
jamessynge pushed a commit that referenced this pull request May 7, 2018
* Locking pycodestyle until fix in #511, #512, #514
Comment thread pocs/scheduler/dispatch.py Outdated
end_of_next_set = time + self.current_observation.set_duration
if end_of_next_set < common_properties['end_of_night'] and \
self.observation_available(self.current_observation, end_of_next_set):
if (end_of_next_set < common_properties['end_of_night'] and
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm struggling to decipher this expression. Please add more detail to the preceding comment.

return _make_pretty_from_fits(fname, **kwargs)
new_fname = _make_pretty_from_fits(fname, **kwargs)

try:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment such as:

# Symlink latest.jpg to the image; first remove the symlink if it already exists.

Comment thread scripts/plot_weather.py Outdated

print('Saving Figure: {}'.format(plot_filename))
self.fig.savefig(plot_filename, dpi=self.dpi, bbox_inches='tight', pad_inches=0.10)
self.fig.tight_layout()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what this is doing.

@wtgee
Copy link
Copy Markdown
Member Author

wtgee commented May 26, 2018

I had added two new things from the latest of Huntsman runs:

  • Option to post say messages into a slackbot channel. Requires a url in the config file to activate, does nothing by default
  • Ability to set solve-field via an environment variable with a default of the current hard-coded location.

@wtgee
Copy link
Copy Markdown
Member Author

wtgee commented Jul 11, 2018

Closing in favor of issues listed above.

@wtgee wtgee closed this Jul 11, 2018
@wtgee wtgee deleted the huntsman-run-updates branch July 11, 2018 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants