Skip to content

Commit

Permalink
Merge branch 'GSOC2024-RohitPrasad' into feat/Annotation
Browse files Browse the repository at this point in the history
update branch
  • Loading branch information
rohit2p committed Sep 16, 2024
2 parents 5799dc9 + 73cd11f commit 290cb5d
Show file tree
Hide file tree
Showing 147 changed files with 3,488 additions and 2,488 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ on:
- 'GSOC**'

jobs:
codespell:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Lint with codespell
run: |
python -m pip install --upgrade pip
pip install codespell
git ls-files -z | xargs -0 codespell --check-filenames
flake8:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand All @@ -26,7 +41,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-builtins
flake8 --count --statistics mslib tests
git ls-files -z '**.py' | xargs -0 flake8
no-crlf-in-git:
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/testing-all-oses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ jobs:
# Set the cache key in a way that the cache is invalidated every week on monday
cache-environment-key: environment-${{ steps.year-and-week.outputs.year-and-week }}
- name: Run tests
timeout-minutes: 20
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
--ignore=tests/_test_msui/test_sideview.py --ignore=tests/_test_msui/test_topview.py --ignore=tests/_test_msui/test_wms_control.py
tests
run: micromamba run -n ci env QT_QPA_PLATFORM=offscreen pytest -v -n logical --durations=20 --cov=mslib tests
4 changes: 2 additions & 2 deletions .github/workflows/testing-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
actions: write
steps:
- uses: benc-uk/workflow-dispatch@v1.2.3
- uses: benc-uk/workflow-dispatch@v1.2.4
with:
workflow: testing-stable.yml
ref: stable
Expand All @@ -20,7 +20,7 @@ jobs:
permissions:
actions: write
steps:
- uses: benc-uk/workflow-dispatch@v1.2.3
- uses: benc-uk/workflow-dispatch@v1.2.4
with:
workflow: testing-develop.yml
ref: develop
9 changes: 1 addition & 8 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ jobs:
run: cmp -s /meta.yaml localbuild/meta.yaml && cmp -s /development.txt requirements.d/development.txt ||
(echo Dependencies differ && echo "triggerdockerbuild=yes" >> $GITHUB_ENV )

- name: Install pyvirtualdisplay if on stable
if: ${{ inputs.image_suffix == 'stable' }}
run: |
source /opt/conda/etc/profile.d/conda.sh
source /opt/conda/etc/profile.d/mamba.sh
mamba install -n mss-${{ inputs.image_suffix }}-env pyvirtualdisplay
- name: Always rebuild dependencies for scheduled builds (started from testing-scheduled.yml)
if: ${{ github.event_name == 'workflow_dispatch' }}
run: echo "triggerdockerbuild=yes" >> $GITHUB_ENV
Expand All @@ -47,7 +40,7 @@ jobs:
# scheduled tests should just check that new dependency versions do not break the
# tests, but should not update the image.
if: ${{ (github.ref_name == 'stable' || github.ref_name == 'develop') && github.event_name == 'push' && env.triggerdockerbuild == 'yes' && matrix.order == 'normal' }}
uses: benc-uk/workflow-dispatch@v1.2.3
uses: benc-uk/workflow-dispatch@v1.2.4
with:
workflow: Update Image testing-${{ inputs.image_suffix }}
repo: Open-MSS/dockertesting
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ in alphabetic order by first name
- Andreas Hilboll <hilboll@uni-bremen.de>
- Anveshan Lal <anveshanrx8@gmail.com>
- Aravind Murali <aravindmurali711@gmail.com>
- Aryan Gupta <work.aryangupta@gmail.com>
- Christian Rolf <c.rolf@fz-juelich.de>
- Debajyoti Dasgupta <debajyotidasgupta6@gmail.com>
- Hrithik Kumar Verma <vermahrithik812@gmail.com>
Expand Down
70 changes: 45 additions & 25 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
Changelog
=========

Version 9.2.0
~~~~~~~~~~~~~

Bug fix release and minor enhancements:
We added a verification for xml data and changed the startup of the SocketsManager.

All changes:
https://github.com/Open-MSS/MSS/milestone/106?closed=1


Version 9.1.0
~~~~~~~~~~~~~

Bug fix release and minor enhancements:
We have corrected spelling mistakes

All changes:
https://github.com/Open-MSS/MSS/milestone/105?closed=1

Version 9.0.0
~~~~~~~~~~~~~

Expand All @@ -10,7 +29,8 @@ In this way, a user can authenticate themselves in one system and gain access to
by providing proof of authentication. In our documentation in the Components section you find a detailed description.

Matthias Riße refactored the test suite and optimized and accelerated our CI test runs.
All tests run in parallel now and are not retried upon failure, and most tests are also executed in a randomized order, instilling more confidence in the results.
All tests run in parallel now and are not retried upon failure, and most tests are also executed in a randomized order,
instilling more confidence in the results.
Quite a bit of duplicated code was unified, mostly using pytest fixtures.
Additionally, CI test runs now also happen on x86_64- and ARM-based macOS.

Expand All @@ -24,7 +44,7 @@ HINT:
The syntax of the server configuration of MSColab and MSWMS has changed. We removed the class definition.
For MSColab we have added new configuration options related to SAML2.
The change on the MSColab server also required changes on the MSUI handling the MSColab login. These changes are
not backwards compatible. Server and Client must use versions >=9.0.0.
not backwards compatible. MSColab Server and MSUI Client must use versions >=9.0.0.
We introduced a MSCOLAB_auth_user_name in the users configuration which simplifies the login process.

All changes:
Expand Down Expand Up @@ -80,7 +100,7 @@ https://github.com/Open-MSS/MSS/milestone/99?closed=1
Version 8.3.0
~~~~~~~~~~~~~

Bug fix release and minor enhacements:
Bug fix release and minor enhancements:
We improved the KML docking widget feature

All changes:
Expand All @@ -89,7 +109,7 @@ https://github.com/Open-MSS/MSS/milestone/98?closed=1
Version 8.2.0
~~~~~~~~~~~~~

Bug fix release and minor enhacements:
Bug fix release and minor enhancements:

HINT:
~~~~~
Expand Down Expand Up @@ -148,12 +168,12 @@ Jatin Jain did UI and server improvements in his GSoC project.
Users can now, compare and plot multiple flightpaths on topview.
This feature can be used for flightpathes or MSColab operations.
A fligthpath style width can be changed.
Timestamps are dislayed below each message in MSColab.
Timestamps are displayed below each message in MSColab.
Mscolab Operations in use for more than 30 days, move to an inactive list.
The initial idea for multiple flightpaths on topview stems from bkirbus.
GSoC mentors were Reimar Bauer, Jörn Ungermann, Sonja Gisinger

With MSS 9.0.0 we base our installation on miniforge. This has
With MSS 8.0.0 we base our installation on miniforge. This has
mamba in the base environment. Mambaforge is discouraged of September 2023.

All changes:
Expand Down Expand Up @@ -311,7 +331,7 @@ Version 6.1.0
~~~~~~~~~~~~~

This release includes some small improvements of the usablity.
A few bug fixes, a new plugin for NAVAID waypoints is decribed and
A few bug fixes, a new plugin for NAVAID waypoints is described and
mscolab gots few improvements for user creation.
Wind speed plots can now be created for altitudes > 25km.

Expand Down Expand Up @@ -474,7 +494,7 @@ HINT:
~~~~~

For using the 1-D samples along the flight path you have to add a configuration to your
mss_wms_settings.py. Similiar as to the other layers add:
mss_wms_settings.py. Similar as to the other layers add:

.. code-block:: python
Expand Down Expand Up @@ -634,7 +654,7 @@ Bug Fixes:
- Error in handling project permission update in mscolab, #539
- mscolab: Selected Project highlight removed if new project is added, #533
- GUI tests fail in OSX, #531
- developer hint seperate data from source, #529
- developer hint separate data from source, #529
- PyVirtualDisplay Package not found for Windows OS, #527
- sync our meta.yaml with the one on conda-forge, #526
- improve "Building a development environment", #524
Expand All @@ -657,7 +677,7 @@ Bug Fixes:
- make rtfd use of Non-ASCII characters, #492
- mscolab server command crashes, #491
- MSS doesn't close when "quit"ing while being connected to MSCO server, #490
- "Checkout" of older revisions has no effect without double-clicking the revison, #485
- "Checkout" of older revisions has no effect without double-clicking the revision, #485
- Adding unknown user to project throws exception, #483
- mcso windows cannot be closed by ctrl+w, #473

Expand Down Expand Up @@ -698,7 +718,7 @@ HINT
~~~~
- We deprecated and disabled the unmaintained feature trajectory and time series view. This will become removed in
the next major release, #476
- We added a new powerfull feature for collaborative editing of flight pathes.
- We added a new powerful feature for collaborative editing of flight paths.
This is a new server and also a new client gui window.
In a future version the client gui will replace the standard gui.

Expand Down Expand Up @@ -771,8 +791,8 @@ New Features:
- Avoid "catch-all" exception handlers, #42

Bug Fixes:
- Top View Map Appeareance options not defined with web map services, #401
- Image dissappears after insert/delete operation in sideview mode, #399
- Top View Map Appearance options not defined with web map services, #401
- Image disappears after insert/delete operation in sideview mode, #399
- sideview options dialog suffix always hPa, #394
- Msui crashes on selecting Northern Hemisphere (stereo) from drop down menu under Top View section, #388
- qt widget property issue, #387
Expand All @@ -781,7 +801,7 @@ Bug Fixes:

Other Changes:
- clean up comments, #406
- remove superflous pass statements, #405
- remove superfluous pass statements, #405
- Change comments for function "flightlevel2pressure_a", #384
- Documentation about Reporting Issues, #112

Expand Down Expand Up @@ -822,7 +842,7 @@ Bug Fixes:
- Support http://msgcpp-ogc-realtime.knmi.nl/msgrt.cgi WMS Server, #352
- Support http://geoservices.knmi.nl/cgi-bin/HARM_N25.cgi WMS server, #351
- Support NASA WMS Server "https://neo.sci.gsfc.nasa.gov/wms/wms", #348
- wms server: return only on the getcapability request a capabilty document, #346
- wms server: return only on the getcapability request a capability document, #346
- demodata pressure levels uses inconsistent units, #341
- waypoint labels (in sideview) not readable, #317

Expand Down Expand Up @@ -865,7 +885,7 @@ Version 1.7.0
-------------

New Features:
- Decrease unit depency of plotting styles, #328
- Decrease unit dependency of plotting styles, #328
- Support basemap 1.1.0, #315, #329
- zorder of several plot elements in topview is wrong, #314
- pyfilesystem2 implemented, #313
Expand Down Expand Up @@ -933,7 +953,7 @@ Version 1.6.0

New Features:
- disable traceback for server, #156
- hybrid sigma coordinate whould work with float values, #203
- hybrid sigma coordinate would work with float values, #203
- WMS data access classes difficult to set up, #210
- add mss to docker platform, 211
- loading a flighttrackfile does not set filename, #214
Expand All @@ -948,7 +968,7 @@ New Features:
- Try preloading WMS servers on startup, #250
- traceback should show version info, #256
- add version info to output files, #259
- completly remove vt_cache, #260
- completely remove vt_cache, #260
- update layer list on get_capabilities, #268

Bug Fixes:
Expand Down Expand Up @@ -1033,7 +1053,7 @@ Version 1.5.1
-------------

Bug Fixes:
- clicks on same position crashs waypoint insert for cyl projection, #197
- clicks on same position crashes waypoint insert for cyl projection, #197
- existing picklefiles of py2 crash on py3 version (vice versa), #198


Expand All @@ -1051,12 +1071,12 @@ New Features:
- refactored url strings, #150
- performance data used for time information on vertical plots, #151
- use a singleton for WMS capability storage, #168
- ui files, _test folders excluded from conda build pacakages, #169
- ui files, _test folders excluded from conda build packages, #169
- implemented virtualdisplay for linux, #172
- cache for basemap coastline and country shape data added, #173
- consistant naming of "as" imports, #175
- consistent naming of "as" imports, #175
- loopview enable/disabled, based on given URL, #183
- configurable external proxy to cache on low bandwidth transfered images, #188
- configurable external proxy to cache on low bandwidth transferred images, #188


Bug Fixes:
Expand All @@ -1067,7 +1087,7 @@ Bug Fixes:


Other Changes:
- line seperator of source files unified to LF, #92
- line separator of source files unified to LF, #92
- refactored whole codebase for compatibility with python3, #176
- version number of recent conda package added to documentation, #185
- split mss_settings.json.sample into snippet parts, and further documentation #194
Expand Down Expand Up @@ -1131,7 +1151,7 @@ Version 1.3.3

Bug Fixes:
- Inserting Waypoint outside of map in TopView crashes MSS, #149
- Some of the additional tools don't close completly, #139
- Some of the additional tools don't close completely, #139


Version 1.3.2
Expand Down Expand Up @@ -1279,7 +1299,7 @@ Bug Fixes:


Other Changes:
- Namespace refactored, all modules dependend to mslib #24
- Namespace refactored, all modules dependent to mslib #24
- Sphinx documentation introduced, #25, #26
- Documentation on http://mss.rtfd.io
- Installation recipes based on conda
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,17 @@ Current release info
====================
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/mss.svg)](https://anaconda.org/conda-forge/mss)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6572620.svg)](https://doi.org/10.5281/zenodo.6572620)
[![JuRSE Code Pick](https://img.shields.io/badge/JuRSE_Code_Pick-July_2024-blue)](https://www.fz-juelich.de/en/rse/jurse-community/jurse-code-of-the-month/july-2024)
[![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mss.svg)](https://anaconda.org/conda-forge/mss)
[![DOCS](https://img.shields.io/badge/%F0%9F%95%AE-docs-green.svg)](http://mss.rtd.io)
[![DOCS](https://img.shields.io/badge/%F0%9F%95%AE-docs-green.svg)](https://mss.rtfd.io)
[![Conda Recipe](https://img.shields.io/badge/recipe-mss-green.svg)](https://anaconda.org/conda-forge/mss)
[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mss.svg)](https://anaconda.org/conda-forge/mss)
[![Coverage Status](https://coveralls.io/repos/github/Open-MSS/MSS/badge.svg?branch=develop)](https://coveralls.io/github/Open-MSS/MSS?branch=develop)





Publications
============

Expand Down
2 changes: 2 additions & 0 deletions codespell-ignored-lines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ssl_ciphers HIGH:!aNULL:!MD5;
- moved of mslib.thirdparty.owslib to mslib.owslib and hardcoded all imports in owslib to mslib.owslib, #1
Loading

0 comments on commit 290cb5d

Please sign in to comment.