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

Prepare Patch version 2.1.1 #146

Merged
merged 14 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Please tag them using `#`, e.g. `Fixed #42`.
- [ ] New code follows the project's style.
- [ ] New code is compatible with the 3-Clause BSD license.
- [ ] CHANGELOG has been updated.
- [ ] AUTHORS has been updated.
- [ ] docs have been updated
- [ ] code authors have been updated in CITATION.cff.
- [ ] Copyright years in module docstrings have been updated.
3 changes: 0 additions & 3 deletions AUTHORS

This file was deleted.

9 changes: 7 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ The format is inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v2.1.1]
### Fixed:
- [regDaniel, 2024-09-19] Require statsmodels >= v0.14.3, where incompatibility with scipy is fixed
- [regDaniel, 2024-09-04] Inconsitencies in contribution guidelines, authorship declaration and citation file.

## [v2.1.0]
### Added:
- [regDaniel, 2024-10-28] Feature to calculate cloud base height with a subset of instruments only
- [regDaniel, 2024-08-28] Feature to calculate cloud base height with a subset of instruments only
### Fixed:
- [regDaniel, 2024-10-28] Incompatibility of scipy and statsmodels
- [regDaniel, 2024-08-28] Incompatibility of scipy and statsmodels

## [v2.0.0]
### Added:
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

cff-version: 1.2.0
message: If ampycloud was useful for your research, please cite both the dedicated article (from preferred-citation) and the software itself.
message: If ampycloud was useful for your research, please cite both the dedicated article (https://doi.org/10.5194/amt-17-4891-2024) and the software itself.
type: software
authors:
- family-names: Vogt
Expand Down
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ Please be sure to read (and understand the implications) of the

ampycloud is being developed in a **public** repository under the [MeteoSwiss organization](https://github.com/MeteoSwiss/ampycloud) on Github. The documentation, generated using Sphinx, is hosted as Github Pages on the `gh-pages` branch of the repo, and is visible at https://MeteoSwiss.github.io/ampycloud.

### New developer

Please make sure to read the instructions below carefully. In addition, please add your name to the software part of the [citation](#CITATION.cff) file at the latest before triggering
a [release](#release-mechanisms)(the top part defines the citation for the software, the bottom part defines the citation of the scientific article) and make sure to properly
update the CHANGELOG and the [documentation](#documentation) if necessary.

### Branching model

Expand Down Expand Up @@ -226,8 +231,9 @@ You should of course feel free to use more of the tools offered by

### Documentation

There is a scientific article about the ampycloud **algorithm** in preparation. It will complement
the [Sphinx documentation](https://MeteoSwiss.github.io/ampycloud) that contains all the important elements required to use the ampycloud **Python package**.
There is a [scientific article](https://amt.copernicus.org/articles/17/4891/2024/) about the ampycloud **algorithm** v2.0.0. It complements
the [Sphinx documentation](https://MeteoSwiss.github.io/ampycloud) that contains all the important elements required to use the ampycloud **Python package**. Scientific changes
on top of version v2.0.0 must be added to [the corresponding section in the docs](https://meteoswiss.github.io/ampycloud/changes.html).

The Sphinx documentation can be generated manually as follows:
```
Expand Down
2 changes: 2 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.. include:: ./substitutions.rst

.. _changelog:

Changelog
=========

Expand Down
11 changes: 5 additions & 6 deletions docs/source/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The scientific documentation of Ampycloud v2.0.0 can be found
`here <https://amt.copernicus.org/articles/17/4891/2024/>`_. In this page, we
list all changes since v.2.0.0 that go beyond bugfixing, refactoring, patching,
etc. and have an impact on the science of the algorithm. More detailed
information on changes can be found in the `changelog <changelog>`.
information on changes can be found in the :ref:`changelog <changelog>`.


v2.1.0: Enable ceilometer filtering for calculation of cloud base height
Expand All @@ -18,11 +18,10 @@ v2.1.0: Enable ceilometer filtering for calculation of cloud base height
There might be situations, where it is beneficial to calculate the cloud base
height from a subset of ceilometer hits reported by specific ceilometers. For
example:
- If the cloud height is supposed to be representative for a given location, but
you still want to use as many ceilometers as possible to infer the amount.
- If you use different ceilometer models and know that you want to calculate the
height only from hits of a specific ceilometer model to avoid implementing
complicated correction factors.

- If the cloud height is supposed to be representative for a given location, but you still want to use as many ceilometers as possible to infer the amount.
- If you use different ceilometer models and know that you want to calculate the height only from hits of a specific ceilometer model to avoid implementing complicated correction factors.

To this end, the parameter ``EXCLUDE_FOR_BASE_HEIGHT_CALC`` was implemented in
this version. The default value is an empty list. In order to activate the
filtering, it is sufficient to enter the ceilometer IDs of the ceilos to exclude
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"matplotlib >= 3.7.2",
"numpy >= 1.20.3",
"scikit-learn >= 1.2.0",
"scipy >= 1.7.3, < 1.14.1", # avoid conflict with statsmodels 0.14.1
"statsmodels",
"scipy >= 1.7.3",
"statsmodels >= 0.14.3",
"pandas >= 1.5",
"pyyaml",
"ruamel.yaml"
Expand Down
2 changes: 1 addition & 1 deletion src/ampycloud/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"""

#:str: the one-and-only place where the ampycloud version is set.
VERSION = '2.1.0'
VERSION = '2.1.1'