Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoplot - Enable mssautoplot for side and linearviews #2563

Conversation

Preetam-Das26
Copy link
Collaborator

Purpose of PR?:
Enable mssautoplot for side and linearviews
Fixes #

Does this PR introduce a breaking change?

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Does this PR results in some Documentation changes?
If yes, include the list of Documentation changes

Checklist:

  • Bug fix. Fixes #
  • New feature (Non-API breaking changes that adds functionality)
  • PR Title follows the convention of <type>: <subject>
  • Commit has unit tests

@Preetam-Das26 Preetam-Das26 changed the title Enable mssautoplot for side and linearviews Autoplot - Enable mssautoplot for side and linearviews Oct 11, 2024
@@ -421,12 +433,16 @@ def draw(self, flight, section, vertical, filename, init_time, time, url, layer,

class LinearViewPlotting(Plotting):
# ToDo Implement access of MSColab
def __init__(self, cpath):
def __init__(self, cpath, msc_url, msc_auth_password, msc_username, msc_password):
super(LinearViewPlotting, self).__init__(cpath)
Copy link
Member

@ReimarBauer ReimarBauer Oct 12, 2024

Choose a reason for hiding this comment

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

comparing with class TopViewPlotting(Plotting):

We have there super(TopViewPlotting, self).__init__(cpath, msc_url, msc_auth_password, msc_username, msc_password) too.

Same question also for super(SideViewPlotting, self).__init__(cpath)

Is that required? If not please look if it is in TopViewPlotting required too or could be changed to a similiar.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes that is required. Changes Done.

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

In different to topview and linearview the sideview does not use the mscolab server, it looks for a filename new1 in that example. Please improve this.

not_using_mscolab

UPDATE: I just recognized that in mssautoplot, in draw "linear" is not yet implemented. Work to implement linear should go in a different PR. Focus on get sideview with mscolab working as topview does.

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

will be continued as discussed on slack in a different PR

@ReimarBauer ReimarBauer merged commit a2e4f5e into Open-MSS:GSOC2024-rebased-autoplot Nov 5, 2024
8 of 11 checks passed
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