Skip to content

Commit

Permalink
Merge pull request #102 from LabSid-USP/v0.2.2-beta.1
Browse files Browse the repository at this point in the history
Bump version to v0.2.2-beta.1
  • Loading branch information
soaressgabriel authored May 17, 2023
2 parents 25fe337 + 54e4a49 commit 1c17bb0
Show file tree
Hide file tree
Showing 26 changed files with 58 additions and 53 deletions.
2 changes: 1 addition & 1 deletion COPYING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2020-2022 LabSid PHA EPUSP. All rights reserved.
Copyright (C) 2020-2023 LabSid PHA EPUSP. All rights reserved.

RUBEM is provided by the copyright holders "as is", without warranty
of any kind, expressed or implied, including but not limited to the warranties of
Expand Down
9 changes: 2 additions & 7 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,9 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<<<<<<< HEAD:LICENSE.md
RUBEM is a distributed hydrological model to calculate monthly flows
with changes in land use over time.
Copyright (C) 2020-2022 LabSid PHA EPUSP
=======
Rainfall rUnoff Balance Enhanced Model distributed hydrological model
Copyright (C) 2020-2021 LabSid-PHA-EPUSP
>>>>>>> 75-update-datasets-download-links-on-the-doc-pages:LICENSE
Copyright (C) 2020-2023 LabSid PHA EPUSP

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -659,7 +654,7 @@ Also add information on how to contact you by electronic and paper mail.
notice like this when it starts in an interactive mode:

<<<<<<< HEAD:LICENSE.md
RUBEM Copyright (C) 2020-2022 LabSid PHA EPUSP
RUBEM Copyright (C) 2020-2023 LabSid PHA EPUSP
=======
RUBEM Copyright (C) 2020-2021 LabSid-PHA-EPUSP
>>>>>>> 75-update-datasets-download-links-on-the-doc-pages:LICENSE
Expand Down
14 changes: 14 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ This is the list of changes to RUBEM between each release. For full details, see

For a list of known issues and their fixes, visit the `Github issues page <https://github.com/LabSid-USP/RUBEM/issues>`__.

Version 0.2.2-beta.1
---------------------

**Date**: May 17, 2023

- `@soaressgabriel <https://github.com/soaressgabriel>`__: Add Paraíba do Sul dataset (`#86 <https://github.com/LabSid-USP/RUBEM/pull/86>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Update 'Initial Soil Conditions' subsection of the 'Soil Parameters' section of the user guide (`#88 <https://github.com/LabSid-USP/RUBEM/pull/88>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Update citation information (`#90 <https://github.com/LabSid-USP/RUBEM/pull/90>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Add missing information about conditions in the mathematical formulation of the model (`#92 <https://github.com/LabSid-USP/RUBEM/pull/92>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Update Sphinx documentation settings and packages (`#82 <https://github.com/LabSid-USP/RUBEM/pull/94>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Incorporate RuntimeError exception handling and logging in file reading operations (`#98 <https://github.com/LabSid-USP/RUBEM/pull/98>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Implement GitHub Actions Workflow for Building and Releasing Application (`#99 <https://github.com/LabSid-USP/RUBEM/pull/99>`__);
- `@soaressgabriel <https://github.com/soaressgabriel>`__: Update of Issue and Pull Request Templates (`#101 <https://github.com/LabSid-USP/RUBEM/pull/101>`__);

Version 0.1.3-alpha
-------------------

Expand Down
15 changes: 5 additions & 10 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -20,14 +20,6 @@

"""RUBEM help setup"""

__author__ = "LabSid PHA EPUSP"
__email__ = "[email protected]"
__copyright__ = "Copyright 2020-2022, LabSid PHA EPUSP"
__license__ = "GPL"
__date__ = "2022-03-23"
__version__ = "0.1.3"
__release__ = __version__ + "-alpha"

# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
Expand All @@ -45,12 +37,15 @@

# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath("../.."))
sys.path.insert(0, os.path.abspath("../../rubem"))

from rubem import __version__, __release__

# -- Project information -----------------------------------------------------

project = "Rainfall rUnoff Balance Enhanced Model (RUBEM)"
copyright = (
"2020-2022, Laboratório de Sistemas de Suporte a Decisões Aplicados à"
"2020-2023, Laboratório de Sistemas de Suporte a Decisões Aplicados à"
" Engenharia Ambiental e de Recursos Hídricos (LabSid) PHA-EPUSP &"
" contributors"
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Software

RUBEM is licensed under the `GNU General Public License, Version 3.0 or later <http://www.gnu.org/licenses/gpl-3.0.en.html>`_.

Copyright (C) 2020-2022 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)
Copyright (C) 2020-2023 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.

Expand All @@ -19,7 +19,7 @@ Documentation

This documentation is licensed under the `GNU Free Documentation License, Version 1.3 or later <http://www.gnu.org/licenses/fdl-1.3.en.html>`_.

Copyright (C) 2020-2022 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)
Copyright (C) 2020-2023 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Expand Down
10 changes: 5 additions & 5 deletions rubem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -28,8 +28,8 @@

__author__ = "LabSid PHA EPUSP"
__email__ = "[email protected]"
__copyright__ = "Copyright (C) 2020-2022 - LabSid/PHA/EPUSP"
__copyright__ = "Copyright (C) 2020-2023 - LabSid/PHA/EPUSP"
__license__ = "GPL"
__date__ = "2022-03-23"
__version__ = "0.1.3"
__release__ = "0.1.3"
__date__ = "2023-05-17"
__version__ = "0.2.2"
__release__ = f"{__version__}-beta.1"
2 changes: 1 addition & 1 deletion rubem/_dynamic_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions rubem/cli.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -53,7 +53,7 @@ def main():
prog="rubem",
description="Rainfall rUnoff Balance Enhanced Model (RUBEM)",
epilog=(
f"RUBEM {__release__} Copyright (C) 2020-2022 - LabSid/PHA/EPUSP -"
f"RUBEM {__release__} Copyright (C) 2020-2023 - LabSid/PHA/EPUSP -"
"This program comes with ABSOLUTELY NO WARRANTY."
"This is free software, and you are welcome to redistribute it "
"under certain conditions."
Expand Down
2 changes: 1 addition & 1 deletion rubem/core.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/date/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/date/_date_calc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/file/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/file/_file_convertions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/file/_file_generators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/modules/_evapotranspiration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/modules/_interception.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/modules/_soil.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/modules/_surface_runoff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/preprocessing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/preprocessing/kriging.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/preprocessing/pcrtss2tif.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/preprocessing/tif2map.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/preprocessing/tif2pcrtss.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rubem/validation/_schemas.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2022 LabSid PHA EPUSP
# Copyright (C) 2020-2023 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
17 changes: 9 additions & 8 deletions tests/unit/test_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import unittest

import rubem.__version__ as rbv
from rubem import __version__, __author__, __copyright__, \
__email__, __license__, __date__, __release__


class VersionTest(unittest.TestCase):
Expand All @@ -11,24 +12,24 @@ def tearDown(self):
pass

def test_author_str(self):
self.assertEqual("LabSid PHA EPUSP", rbv.__author__)
self.assertEqual("LabSid PHA EPUSP", __author__)

def test_email_str(self):
self.assertEqual("[email protected]", rbv.__email__)
self.assertEqual("[email protected]", __email__)

def test_copyright_str(self):
self.assertEqual(
"Copyright 2020-2022, LabSid PHA EPUSP", rbv.__copyright__
"Copyright (C) 2020-2023 - LabSid/PHA/EPUSP", __copyright__
)

def test_license_str(self):
self.assertEqual("GPL", rbv.__license__)
self.assertEqual("GPL", __license__)

def test_date_str(self):
self.assertEqual("2022-03-23", rbv.__date__)
self.assertEqual("2023-05-17", __date__)

def test_version_str(self):
self.assertEqual("0.1.3", rbv.__version__)
self.assertEqual("0.2.2", __version__)

def test_release_str(self):
self.assertEqual("0.1.3-alpha", rbv.__release__)
self.assertEqual("0.2.2-beta.1", __release__)

0 comments on commit 1c17bb0

Please sign in to comment.