Skip to content

Commit

Permalink
Merge branch 'Open-MSS:develop' into i1860
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer authored Jan 10, 2025
2 parents 5cf5720 + 885c403 commit bd3eea2
Show file tree
Hide file tree
Showing 19 changed files with 369 additions and 183 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/testing-all-oses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
sed -e "s/.*://" > requirements.tmp.txt
cat requirements.d/development.txt >> requirements.tmp.txt
echo "pytest-randomly" >> requirements.tmp.txt
sed -e '/^$/d' -e '/^#.*$/d' requirements.tmp.txt > requirements.txt
sed -e '/^$/d' -e '/^#.*$/d' -e 's/\s*# \[not win\]$//' requirements.tmp.txt > requirements.txt
rm requirements.tmp.txt
cat requirements.txt
- name: Get current year and calendar week
id: year-and-week
run: echo "year-and-week=$(date +%Y-%V)" >> "$GITHUB_OUTPUT"
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: requirements.txt
environment-name: ci
Expand All @@ -44,8 +44,4 @@ jobs:
cache-environment-key: environment-${{ steps.year-and-week.outputs.year-and-week }}
- name: Run tests
timeout-minutes: 40
# The ignored files can somehow cause the test suite to timeout.
# I have no idea yet on why this happens and how to fix it.
# Even a module level skip is not enough, they need to be completely ignored.
# TODO: fix those tests and drop the ignores
run: micromamba run -n ci env QT_QPA_PLATFORM=offscreen pytest -v -n logical --durations=20 --cov=mslib tests
19 changes: 5 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
We'd love for your contribution to the Mission Support System (MSS) to help make it better!
We want contributing to MSS to be fun and educational for everyone.
All kind of contributions are welcome, including issue descriptions and new documents,
as well as updates and improvements and more.

Please note we have a code of conduct, please follow it in all your interactions with the project.

## Pull Request Process

1. Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.
Our **[contributing](https://open-mss.github.io/contributing/)** guidelines provide instructions on how to get involved.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,11 @@ in the same directory as this README file.
When using this software, please be so kind and acknowledge its use by
citing the above mentioned reference documentation in publications,
presentations, reports, etc. that you create. Thank you very much.

Acknowledgements
----------------

We are very grateful for your continuing support for MSS!

See our [Contributors page](https://mss.readthedocs.io/en/stable/authors.html) for a list of authors. See also our info on [funding](
https://mss.readthedocs.io/en/stable/funding.html).
23 changes: 21 additions & 2 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,27 @@ Publish on Conda Forge
Google Summer of Code(TM)
-------------------------

MSS takes part in Google Summer of Code
as a sub-organization of Python Software Foundation(PSF).
MSS takes part in `Google Summer of Code <https://summerofcode.withgoogle.com/>`_
as a `sub-organization of Python Software Foundation (PSF) <https://python-gsoc.org/>`_.


GSoC'24 Projects
................

- `Aryan Gupta: (MSS) msui: Improve MSUI : GSoC 2024 <https://github.com/Open-MSS/MSS/wiki/Aryan-Gupta:-(MSS)-msui:-Improve-MSUI-:-GSOC2024>`_
- `Preetam Sundar Das: MISSION SUPPORT SYSTEM(MSS): GUI FOR AUTOMATED PLOTTING : GSOC 2024 <https://github.com/Open-MSS/MSS/wiki/Preetam-Sundar-Das:-MISSION-SUPPORT-SYSTEM(MSS):-GUI-FOR-AUTOMATED-PLOTTING-:-GSOC2024>`_
- `Rohit Prasad: Mission Support System: Improve multiple flightpath docking widget : GSOC 2024 <https://github.com/Open-MSS/MSS/wiki/Rohit-Prasad:-Mission-Support-System:-Improve-multiple-flightpath-docking-widget-:-GSOC2024>`_


GSoC'23 Projects
................

- `Shubh Gaur: Mission Support System(MSS) : UI-improvements : GSOC 2023 <https://github.com/Open-MSS/MSS/wiki/UI%E2%80%90improvements-GSOC-2023>`_

- `Nilupul Manodya: Mission Support System : Implement a SAML 2.0 service provider (SP) into mscolab : GSOC 2023 <https://github.com/Open-MSS/MSS/wiki/Implement-a-SAML-2.0-service-provider-(SP)-into-mscolab-:-GSOC-2023>`_




GSoC'22 Projects
................
Expand Down
112 changes: 112 additions & 0 deletions docs/funding.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
Funding and Support
===================

The Mission Support System (MSS) kindly acknowledges funding and support from the following sources:

Conda-Forge
-----------

.. figure:: https://conda-forge.org/img/logo.png
:alt: Logo conda-forge
:target: https://conda-forge.org/
:width: 300

.. raw:: html

<div style="height:20px;"></div>

We kindly acknowledge support by the open-source `conda-forge community <https://conda-forge.org/docs/>`_


Google Summer of Code
---------------------

.. figure:: https://libertem.github.io/images/GSoC-icon-192.png
:alt: Logo Google Summer of Code
:target: https://summerofcode.withgoogle.com/
:width: 300

.. raw:: html

<div style="height:20px;"></div>

We kindly acknowledge funding from `Google Summer of Code 2019, 2020, 2021, 2022, 2023 and 2024 <https://summerofcode.withgoogle.com/>`_ under the `umbrella of the Python Software Foundation <https://python-gsoc.org/>`_.



DFG, German Research Foundation – UN 311/3-1
--------------------------------------------

.. figure:: https://www.dfg.de/resource/image/196784/16x9/858/483/500dfa2178773cc68721440c14d86911/B385802C0C046A4BD6F0138CDC3478F0/logo-negativ-267.png
:alt: Logo DFG, German Research Foundation
:target: https://www.dfg.de/en
:width: 300

.. raw:: html

<div style="height:20px;"></div>

Atmospheric research with HALO is supported by the Priority Programme SPP 1294 of the Deutsche Forschungsgemeinschaft (DFG).
In 2021 we were funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – UN 311/3-1.



COVERALLS
---------

.. figure:: https://s3.amazonaws.com/assets.coveralls.io/assets/coveralls_logo-blue_wshad.png
:alt: Logo Coveralls
:target: https://coveralls.io/
:width: 300

.. raw:: html

<div style="height:20px;"></div>

We kindly acknowledge support by the COVERALLS company for `open source projects <https://coveralls.io/sign-up>`_.



Dockerhub
---------

.. figure:: https://www.docker.com/wp-content/uploads/2023/08/logo-guide-logos-1.svg
:alt: Logo Dockerhub
:target: https://www.docker.com
:width: 300

.. raw:: html

<div style="height:20px;"></div>

We kindly acknowledge support by the docker company for adding our `application <https://hub.docker.com/u/openmss>`_ to the `Docker-Sponsored Open Source Program <https://www.docker.com/community/open-source/application/>`_.


GitHub
------

.. figure:: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
:alt: Logo GitHub
:target: https://github.com/
:width: 300

.. raw:: html

<div style="height:20px;"></div>

We kindly acknowledge support by GitHub for `open-source projects <https://github.com/open-source>`_.



Forschungszentrum Jülich, `Stratosphere (ICE-4) <https://www.fz-juelich.de/en/ice/ice-4>`_
------------------------------------------------------------------------------------------

.. figure:: https://www.fz-juelich.de/en/ibg/ibg-1/images/research_groups/general/fz-juelich-logo/@@images/7ca073aa-be02-4577-a1f4-49cf2462a13e.jpeg
:target: https://www.fz-juelich.de/er-c/EN/Home/home_node.html
:width: 300

.. raw:: html

<div style="height:20px;"></div>

Forschungszentrum Jülich is supporting MSS with funding for personnel, access to its infrastructure and administrative support.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Topics
authors
tutorial
gallery/index
funding


Indices and tables
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/automation/retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

import mslib
import mslib.utils
from mslib.utils.get_projection_params import get_projection_params
from mslib.utils import thermolib
from mslib.utils.config import config_loader, read_config_file
from mslib.utils.units import units
Expand Down Expand Up @@ -140,8 +141,7 @@ def main():
fig = plt.figure()
for flight, section, vertical, filename, init_time, time in \
config["automated_plotting"]["flights"]:
params = mslib.utils.coordinate.get_projection_params(
config["predefined_map_sections"][section]["CRS"].lower())
params = get_projection_params(config["predefined_map_sections"][section]["CRS"].lower())
params["basemap"].update(config["predefined_map_sections"][section]["map"])
wps = load_from_ftml(filename)
wp_lats, wp_lons, wp_locs = [[x[i] for x in wps] for i in [0, 1, 3]]
Expand Down
6 changes: 4 additions & 2 deletions mslib/mscolab/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,7 @@ def __init__(self, op_id, u_id, commit_hash, version_name=None, comment=None):
self.op_id = int(op_id)
self.u_id = int(u_id)
self.commit_hash = str(commit_hash)
self.version_name = str(version_name)
self.comment = str(comment)
if version_name is not None:
self.version_name = str(version_name)
if comment is not None:
self.comment = str(comment)
3 changes: 1 addition & 2 deletions mslib/msui/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
from mslib.msui.icons import icons
from mslib.utils.config import MSUIDefaultConfig as mss_default
from mslib.utils.config import config_loader, dict_raise_on_duplicates_empty, merge_dict
from mslib.utils.coordinate import get_projection_params

from mslib.utils.get_projection_params import get_projection_params

from mslib.support.qt_json_view import delegate
from mslib.support.qt_json_view.view import JsonView
Expand Down
3 changes: 2 additions & 1 deletion mslib/msui/flighttrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@

from mslib import __version__
from mslib.utils.units import units
from mslib.utils.coordinate import find_location, path_points, get_distance
from mslib.utils.coordinate import path_points, get_distance
from mslib.utils.find_location import find_location
from mslib.utils import thermolib
from mslib.utils.verify_waypoint_data import verify_waypoint_data
from mslib.utils.config import config_loader, save_settings_qsettings, load_settings_qsettings
Expand Down
3 changes: 2 additions & 1 deletion mslib/msui/mpl_pathinteractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
import matplotlib.patches as mpatches
from PyQt5 import QtCore, QtWidgets

from mslib.utils.coordinate import get_distance, find_location, latlon_points, path_points
from mslib.utils.coordinate import get_distance, latlon_points, path_points
from mslib.utils.find_location import find_location
from mslib.utils.units import units
from mslib.utils.thermolib import pressure2flightlevel
from mslib.msui import flighttrack as ft
Expand Down
2 changes: 1 addition & 1 deletion mslib/msui/topview.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import logging

from mslib.utils.config import config_loader
from mslib.utils.coordinate import get_projection_params
from mslib.utils.get_projection_params import get_projection_params
from PyQt5 import QtGui, QtWidgets, QtCore
from mslib.msui.qt5 import ui_topview_window as ui
from mslib.msui.qt5 import ui_topview_mapappearance as ui_ma
Expand Down
2 changes: 1 addition & 1 deletion mslib/mswms/mpl_hsec.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import PIL.Image

from mslib.mswms import mss_2D_sections
from mslib.utils.coordinate import get_projection_params
from mslib.utils.get_projection_params import get_projection_params
from mslib.utils.units import convert_to
from mslib.mswms.utils import make_cbar_labels_readable
from mslib.utils.loggerdef import configure_mpl_logger
Expand Down
2 changes: 1 addition & 1 deletion mslib/mswms/wms.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def verify_pw(username, password):
return authfunc(username, password)

from mslib.mswms import mss_plot_driver
from mslib.utils.coordinate import get_projection_params
from mslib.utils.get_projection_params import get_projection_params

# Logging the Standard Output, which will be added to the Apache Log Files
logging.basicConfig(level=logging.DEBUG,
Expand Down
Loading

0 comments on commit bd3eea2

Please sign in to comment.