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

Simplified export of png overlays compatible to the PLANET system on HALO #1898

Closed
janhclem opened this issue Aug 14, 2023 · 17 comments · Fixed by #2606
Closed

Simplified export of png overlays compatible to the PLANET system on HALO #1898

janhclem opened this issue Aug 14, 2023 · 17 comments · Fixed by #2606
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request mssautoplot msui
Milestone

Comments

@janhclem
Copy link

png overlays without axis, titles etc. could be used in systems like PLANET as map overlays that are also accessible for operators on the aeroplane. I am looking for a simple workflow/option to export png overlays from the MSS UI to png overlays. An option "export as overlay" would be the easiest way in my opinion. The overlays should have a high enough resolution to allow zooming into them within PLANET a bit, but not too high because of performance. Furthermore, they need to be in cylindrical coordinates, without borders, axis and so on.

@ReimarBauer ReimarBauer added the enhancement New feature or request label Aug 14, 2023
@ReimarBauer ReimarBauer added this to the 9.0.0 milestone Aug 14, 2023
@ReimarBauer
Copy link
Member

ReimarBauer commented Aug 17, 2023

@janhclem Please verify if the files in the wms cache can be used
you can configure the dir to store them by the configuration editor,

Screenshot_20230817_085242

This is what the server delivers.

Based on these files, what needs to be different?

@janhclem
Copy link
Author

Thanks. The files work very well as overlays for PLANET. The resolution however should be increased because I want to zoom into them for a factor of around 10. Best thing would be if I could try a coupled of different resolutions. Additionally, it would be good to have png files with human readable names.

6bf1a79fbef6df6c88cf6ad84e479a34
bf5fe55df16c4fe442fc9f5ed5da1b78

@ReimarBauer
Copy link
Member

@jgrooss I assume this needs a different resolution of the used data, or?

@ReimarBauer
Copy link
Member

@janhclem the Cache is not meant as store but we maybe can add use the UI to 'save as' so you can store it under a human readable Format. Have also a look on the options. May be you can disable there anything already.

@janhclem
Copy link
Author

@jgrooss I assume this needs a different resolution of the used data, or?

I don't think so and should have clarified that. A higher resolution of the figure would be better to see borders sharply, higher resolution of the CLaMS data is not needed. The borders are too blurry that is the main problem (see below), the CLaMS fields are okay.
example

@jgrooss
Copy link
Contributor

jgrooss commented Aug 18, 2023

The problem was, that for non-total hemispherical sections it did not seem to work in PLANET. The resolution of the plot is always defined by the msui screen resolution. for this case it may be an idea to get a higher resolution by requesting it from the server by an appropriate URL

@jgrooss
Copy link
Contributor

jgrooss commented Aug 18, 2023

Or one could leave out the shorelines here completely and make the overlay transparent in PLANET

@ReimarBauer
Copy link
Member

ReimarBauer commented Aug 18, 2023

We have these Layout sizes configurable. Please give it a try, change it to a higher value.
layout_sizes

@ReimarBauer ReimarBauer added the question Further information is requested label Aug 18, 2023
@ReimarBauer
Copy link
Member

ReimarBauer commented Aug 21, 2023

when this works, then likly mss autoplot is the solution @swsrkty what do you think about this. Fetching data without further addons by the "msui"?

@janhclem
Copy link
Author

Varying the layout parameter for top view somehow does not affect the figures I find in the cache folder. The resolution only depends on the size if the window I have opened.

@ReimarBauer
Copy link
Member

ReimarBauer commented Aug 22, 2023

That's a good question ;)
#1918

Please set immutable too

immutable

@ReimarBauer
Copy link
Member

ReimarBauer commented Aug 22, 2023

the immutable, blocks resizing of the view area, which is wanted for the case you need the exact sizes.
currently we define the view area by this. The fetched image is smaller. This gives a 916 × 458 pixels for the topview view area by 1200 x 1000

@janhclem
Copy link
Author

Thanks, now I can scale the figures. With 9160x7020 it looks much better on PLANET. I think that is enough.

The side effect now is that my msui window is to large for normal usage. So I think the last step would be to make the export convenient or even automated. You mentioned mss autopilot. I will have a look at it...

@swsrkty
Copy link
Collaborator

swsrkty commented Aug 22, 2023

Hi @janhclem, please have a look at https://mss.readthedocs.io/en/stable/mssautoplot.html and let me know if I can help in anyway.

@ReimarBauer ReimarBauer modified the milestones: 9.0.0, 10.0.0 Feb 15, 2024
@ReimarBauer ReimarBauer added the documentation Improvements or additions to documentation label Nov 27, 2024
@ReimarBauer
Copy link
Member

This should become documented as a use case.

@ReimarBauer ReimarBauer removed the GSOC label Dec 2, 2024
@ReimarBauer
Copy link
Member

That is with the current mssautoplot not possible. It does not lookup and use the layout definitions of topview, sideview or linearview.

@ReimarBauer
Copy link
Member

ReimarBauer commented Jan 24, 2025

When the layout option is included into mssautoplot, it needs another option to return only the image without axis, titles etc. for this usecase
we add a --raw click command

@ReimarBauer ReimarBauer removed the question Further information is requested label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request mssautoplot msui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants