Skip to content

Commit

Permalink
Merge pull request #137 from LabSid-USP/v1.12.3-beta.3
Browse files Browse the repository at this point in the history
Bump version to v1.12.3-beta.3
  • Loading branch information
soaressgabriel authored Mar 19, 2024
2 parents 4a92ba9 + 8ec6f78 commit ab3c16a
Show file tree
Hide file tree
Showing 18 changed files with 52 additions and 38 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) 2021-2023 LabSid PHA EPUSP. All rights reserved.
Copyright (C) 2021-2024 LabSid PHA EPUSP. All rights reserved.

RUBEM Hydrological 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
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ 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.

RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
Copyright (C) 2021-2023 LabSid PHA EPUSP
Copyright (C) 2021-2024 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 @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

RUBEM Hydrological Copyright (C) 2021-2023 LabSid PHA EPUSP
RUBEM Hydrological Copyright (C) 2021-2024 LabSid PHA EPUSP
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 doc/about.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1><strong>RUBEM</strong> Hydrological</h1>
<h3>Version 1.12.2-beta.2</h3>
<h3>Version 1.12.3-beta.3</h3>

<p><a href="https://rubem-hydrological.readthedocs.io/en/latest/changelog.html">Release
notes</a> &middot; <a href="https://rubem-hydrological.readthedocs.io/en/latest/license.html">Licenses
Expand Down Expand Up @@ -45,4 +45,4 @@ <h4>Development/Research team</h4>
<p>LabSid/PHA/USP thanks the support of the Fundo Patrimonial Amigos da Poli in the development of the QGIS plugin for
the distributed hydrological model RUBEM.</p>

<p>&copy; 2021-2023 <a href="https://labsid.poli.usp.br/contato/">LabSid</a></p>
<p>&copy; 2021-2024 <a href="https://labsid.poli.usp.br/contato/">LabSid</a></p>
7 changes: 7 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ This is the list of changes to RUBEM Hydrological between each release. For full

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

Version 1.12.3-beta.3
----------------------

**Date**: March 19, 2024

- `@soaressgabriel <https://github.com/soaressgabriel>`_: Fix ``plotTimeSeriesData`` function to use numpy arrays for plotting (`#136 <https://github.com/LabSid-USP/RUBEMHydrological/pull/136>`_);

Version 1.12.2-beta.2
----------------------

Expand Down
16 changes: 7 additions & 9 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 @@ -21,11 +21,11 @@

__author__ = "LabSid PHA EPUSP"
__email__ = "rubem.hydrological@labsid.eng.br"
__copyright__ = "Copyright 2021-2023, LabSid PHA EPUSP"
__copyright__ = "Copyright 2021-2024, LabSid PHA EPUSP"
__license__ = "GPL"
__date__ = "2023-05-22"
__version__ = "1.12.2"
__release__ = __version__ + "-beta.2"
__date__ = "2024-03-19"
__version__ = "1.12.3"
__release__ = __version__ + "-beta.3"

# RUBEM Hydrological documentation build configuration file, created by
# sphinx-quickstart on Sun Feb 12 17:11:03 2012.
Expand Down Expand Up @@ -68,9 +68,7 @@

email_automode = True

mathjax_path = (
"https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
)
mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand All @@ -86,7 +84,7 @@

# General information about the project.
project = "RUBEM Hydrological"
copyright = "2021-2023, Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos LabSid-PHA-EPUSP & contributors"
copyright = "2021-2024, Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos LabSid-PHA-EPUSP & contributors"
author = "Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid) PHA-EPUSP & contributors"

# The version info for the project you're documenting, acts as replacement for
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 Hydrological 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) 2021-2023 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)
Copyright (C) 2021-2024 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) 2021-2023 Laboratório de Sistemas de Suporte a Decisões em Engenharia Ambiental e Recursos Hídricos (LabSid)
Copyright (C) 2021-2024 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
2 changes: 1 addition & 1 deletion metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name=RUBEM Hydrological
qgisMinimumVersion=3.0
description=Distributed hydrological model for water balance
version=1.12.2
version=1.12.3
author=LabSid-PHA-EPUSP
email=rubem.hydrological@labsid.eng.br

Expand Down
8 changes: 4 additions & 4 deletions plugin/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__author__ = "LabSid PHA EPUSP"
__email__ = "rubem.hydrological@labsid.eng.br"
__copyright__ = "Copyright 2021-2023, LabSid PHA EPUSP"
__copyright__ = "Copyright 2021-2024, LabSid PHA EPUSP"
__license__ = "GPL"
__date__ = "2023-05-22"
__version__ = "1.12.2"
__release__ = __version__ + "-beta.2"
__date__ = "2024-03-19"
__version__ = "1.12.3"
__release__ = __version__ + "-beta.3"
2 changes: 1 addition & 1 deletion plugin/core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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
10 changes: 8 additions & 2 deletions plugin/dialog/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 @@ -182,7 +182,13 @@ def __init__(self, iface):
setSoilMoistureGenerateFile,
)
from ._tab_results import populateMapSeriesTree, populateTimeSeriesTree
from ._worker import setRunState, reportExecutionLog, reportProgress, runLongTask, handleFinished
from ._worker import (
setRunState,
reportExecutionLog,
reportProgress,
runLongTask,
handleFinished,
)
from ._graph_plot import plotTimeSeriesData, plotWrapper
from ._map_canvas import canvasHandler
from ._help_info import aboutHandler, helpHandler
Expand Down
3 changes: 2 additions & 1 deletion plugin/report/item.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 @@ -26,6 +26,7 @@
except ImportError:
from PyQt5.QtGui import QStandardItem


# TODO: Add docstring information and comments
class StandardItem(QStandardItem):
def __init__(self, txt="", isPath=False):
Expand Down
2 changes: 1 addition & 1 deletion plugin/report/plotter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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
3 changes: 2 additions & 1 deletion plugin/utils/raster.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 @@ -21,6 +21,7 @@

from osgeo import gdal


# TODO: Add docstring information and comments
def getValueFromRaster(rasterFile, x, y):

Expand Down
15 changes: 8 additions & 7 deletions plugin/utils/workers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 @@ -21,6 +21,7 @@

from qgis.PyQt.QtCore import QObject, pyqtSignal, QProcess


class RUBEMStandaloneWorker(QObject):
def __init__(self, command):
super().__init__()
Expand All @@ -37,10 +38,10 @@ def run(self):
def handle_stdout(self):
while self.process.canReadLine():
data = self.process.readLine().data().decode().strip()
if data:

if data:
self.logUpdated.emit(data)

if "##" in data:
parts = data.split(" ")
current_cycle = int(parts[-3])
Expand All @@ -50,11 +51,11 @@ def handle_stdout(self):

def handle_stderr(self):
data = self.process.readAllStandardError().data().decode().strip()
if data:
if data:
self.errorUpdated.emit(data)

def handle_finished(self, exit_code):
if (exit_code == QProcess.NormalExit):
if exit_code == QProcess.NormalExit:
self.finished.emit(0)
else:
self.finished.emit(1)
Expand All @@ -65,4 +66,4 @@ def kill(self):
logUpdated = pyqtSignal(str)
errorUpdated = pyqtSignal(str)
finished = pyqtSignal(int)
progress = pyqtSignal(int)
progress = pyqtSignal(int)
2 changes: 1 addition & 1 deletion plugin/validation/schemas.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 plugin/validation/validators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding=utf-8
# RUBEM Hydrological is a QGIS plugin that assists in setup the RUBEM model:
# Copyright (C) 2021-2023 LabSid PHA EPUSP
# Copyright (C) 2021-2024 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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "RUBEM Hydrological"
version = "1.12.2"
version = "1.12.3"
description = "Rainfall rUnoff Balance Enhanced Model (RUBEM) distributed hydrological model QGIS plugin to calculate monthly flows with changes in land use over time."
authors = ["LabSid PHA EPUSP <rubem.hydrological@labsid.eng.br>"]
license = "GPL v3"
Expand Down

0 comments on commit ab3c16a

Please sign in to comment.