Skip to content

Commit

Permalink
Prepare Patch version 2.1.1 (#146)
Browse files Browse the repository at this point in the history
* Add manual trigger for pypi release

* Update copyright in tag

* Upate citatiuon details

* Fix typo

* Fix format of CITATION.cff

* Amaroc 841 localized base height calculation (#137)

* AMAROC-835 add ceilo id query for base height calculation

* AMAROC-835 request minimum amount of hits for base height calculation

* AMAROC-841 localized cloud base height calculation

* AMAROC-842 resolve version conflict

* AMAROC-841 AMAROC-842 adapt changelog

* AMAROC-841 raise warning if we do not filter but filter is set + adapt test

* AMAROC-841 add documentation

* AMAROC-841 fix doc referencing

* AMAROC-841 exclude instead of keep ceilos (#140)

* AMAROC-847 Set new release version (#141)

* AMAROC-848 update contribution guidelines / citation file (#143)

* AMAROC-848 update contribution guidelines / citation file

* AMAROC-848 update changelog

* AMAROC-848 fix doc reference

* AMAROC-848 fix bullet list

* AMAROC-845 require statsmodels minimum 0.14.3 (#144)

* AMAROC-863 set next patch version

---------

Co-authored-by: Frédéric P.A. Vogt <[email protected]>
  • Loading branch information
regDaniel and fpavogt authored Oct 14, 2024
1 parent b8ae022 commit a27585b
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 18 deletions.
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'

0 comments on commit a27585b

Please sign in to comment.