gwhat

Ground-Water Hydrograph Analysis Toolbox

GPL-3.0 License

Stars
31
Committers
2
gwhat - GWHAT 0.5.2 Latest Release

Published by jnsebgosselin about 2 years ago

Changelog

PR #427: Update h5py from 2.10.* to >=3
PR #428: Fix overwriting water level and weather datasets
PR #431: Fix evaluating recharge with old MRC data (gwhat <= 0.5.0)

gwhat - GWHAT 0.5.1

Published by jnsebgosselin over 2 years ago

Changelog

PR #349: Improve color management in GWHAT
PR #350: Remove the use of custom DialogWindow class
PR #352: pin pandas, numpy and h5py version
PR #351: Improve xticks and xtick labels plotting in hydrographs
PR #353: Improve grid appearance in hydrograph plots
PR #354: Drop Travis CI
PR #355: Fix save/get savedir in configs
PR #356: Pin xlrd to the 1.* serie
PR #359: Fix saving MRC data in project file (Fixed #358)
PR #360: Fix a bug when displaying monthly average budget in the recharge tool
PR #361: Auto adjust ground-water recharge plots margins
PR #362: Move mplFigViewer to the widgets module
PR #363: Package Gwhat with pyinstaller 4.2 from 3.6
PR #364: Fix some issues with ground-water recharge results plotting
PR #365: Prevent project corruption when setting last opened wldset and wxdset
PR #366: Reduce the size of the icons and rework toolbar's layout.
PR #367: Change how GLUE data are accessed
PR #369: Prevent bug if mrc fails to compute
PR #370: Complete rework of the tool to select recession periods for MRC calculation and a lot of code cleaning.
PR #371: Fix an issue when evaluating recharge if the observed water levels start with a nan value
PR #372: Add create_qapplication to qthelpers
PR #373: Add copy clipboard to gwrecharge plots
PR #374: don't add missing meteo data marker to legend if no missing data
PR #375: Improvement to the groundwater recharge tool GUI and documentation
PR #376: Add a RMSE cutoff criteria option in the groundwater recharge estimation tool
PR #321: Update README.md
PR #377: Correctly convert mrc periods from time indexes to xls dates
PR #378: Add a tool to put a copy of the hydrograph figure on the clipboard
PR #379: upgrade numpy and pyqt versions
PR #382: Add a dialog to report internal errors
PR #383: Save and fetch buttons state of the "Analyze hydrograph" tool in/from used configs
PR #384: Add copy to clipboard functionality in the "Analyze Hydrograph" toolbar
PR #387: remove dead code in HydroCalc2.py
PR #389: Fix error when estimating recharge with non-daily water level data that are older than the weather data
PR #388: Add "pt" suffixe to text sizes boxes in the groundwater recharge plots
PR #395: Fix CI setup
PR #397: Some improvements to the yearly recharge graph
PR #398: Fix export master recession curve results
PR #399: Use scipy.optimize.curve_fit to calculate the MRC and evaluate the uncertainty on the coefficients
PR #396: Upgrade numpy to 1.21.* and pandas to 1.3.*
PR #400: Add goodness-of-fit stats to MRC exported file and show MRC summary results on startup.
PR #401: Fix yearly average buget calculation
PR #402: Use mdi icons instead of custom icons in the MRC tool and improve the tooltips of the buttons.
PR #404: Rename WLDataFrame to WLDataset and WLDataset to WLDataFrame
PR #405: Make reading water level input files more robust
PR #403: Refactor hydrocalc and define a clear API for the tools (BRF, MRC, Recharge)
PR #406: Migrate code to calculate the MRC to the new calc tool api
PR #407: Update matplotlib from 3.1.* to 3.4.*
PR #408: Use a https link instead of a http link to download the KGS_BRF tool
PR #410: Rework how the Splash screen is initialized in GWHAT
PR #409: Make GWHAT message console an independent dialog window
PR #413: Remove "mrc2rechg" function and method from the base code
PR #418: Update pyinstaller version from 4.2 to 4.9
PR #419: update well name when importing a water level
PR #420: Improve suggested dataset name when importing water level and weather data
PR #423: Fix compute MRC when no recession period is selected
PR #424: Fix linear MRC calculation
PR #425: Update About GWHAT dialog content and improve the layout

gwhat - GWHAT 0.5.0

Published by jnsebgosselin about 4 years ago

Changelog

PR #316: Save BRF graphs language in user configs
PR #319: Allow importing multiple water level and weather datasets from input data files
PR #320: Get and set BRF parameters using the user config system
PR #322: Fix hide/show BRF errorbars (Fixed #317)
PR #323: Set/Get from the user configs the visibility status of the BRF results viewer options panel
PR #324: Use user configs to set main window state and geometry
PR #325: Improvements to the BRF tool gui
PR #326: Rework GWHAT Plot and Analyze widget layout
PR #327: Remember the mainwindow and analyze tool configuration when restarting
PR #328: Add an option to link barometric pressure and earth tide lag values
PR #331: improve BRF plots (add parameters value used in the calculations)
PR #330: Add an option to imports the parameters used to compute the BRF currently shown in the viewer into the manager.
PR #334: Improvements to the BRF viewer gui
PR #335: Remove the needs for the StyleDB class
PR #336: Cleanup layout setup
PR #337: Improve the setup of the right panel width
PR #339: Improve read weather datafiles and fix reading file with no missing data (Fixed #338)
PR #341: Fix monthly and yearly PET calculations from daily values (Fixed #340)
PR #344: Improve weather normals graph (Fixed #343 and #342)
PR #345: Add copy to clipboard functionality for the weather normals viewer
PR #346: Remember language in weather normals viewer
PR #347: Add visual cue when selecting BRF period

gwhat - GWHAT 0.4.2

Published by jnsebgosselin about 4 years ago

Changelog

PR #305: Prevent key error when saving old recharge results to file
PR #306: Change bug report message and add a button to report issues
PR #308: Pin matplotlib and pyqt versions
PR #307: Improve project manager widget
PR #309: Expand tests for the project selector
PR #310: Add the possibility to save the models likelyhood measures that are used to compute groundwater recharge and water levels with GLUE
PR #312: Fix legend colors in water budget graphs.
PR #314: Fix packaging issues with PyInstaller
PR #315: Remove scipy dependencies

gwhat - GWHAT 0.4.1

Published by jnsebgosselin about 5 years ago

WHAT_banner_750px

OpenPGP key used to sign releases : 3DF2B35596EF4FB4B41AB3B5C73AE16957B7100D

New Features

  • PR #303: Add xls and xlsx option to import weather data
gwhat - GWHAT 0.4.0

Published by jnsebgosselin about 5 years ago

WHAT_banner_750px

OpenPGP key used to sign releases : 3DF2B35596EF4FB4B41AB3B5C73AE16957B7100D

New Features

PR #255 : Add a tool to select the water level data with the mouse
PR #259 : Add an option to delete selected water level data
PR #261 : Add a feature to make backup of the project file
PR #266 : Add a tool to best-fit the water level data along the x and y axis.
PR #270 : Add an undo feature when making changes to the water level data
PR #274 : Add a tool to copy BRF plot results to clipboard
PR #286 : Save Earth Tides Response Function
PR #287 : Add an option to export BRF results to a csv or Excel file.
PR #294: Add a user config system to GWHAT
PR #298: Add support for input weather data files in xls and xlsx formats

Removed Features

PR #293: Remove the tools to download and gapfill weather data
PR #299: Remove functions and tests to read CWEEDS files

Enhancements

PR #256 : Improve the rectangular selection tool icons
PR #257 : Change the icon of the tool to delete data in the water level and weather dataset manager.
PR #260 : Send message to console when deleting a dataset
PR #258 : Add an option to mute the confirmation dialog when deleting a dataset
PR #262 : Add the possibility to quickly check/uncheck the Earth tides correction option in the BRF tool
PR #264 : Improvements to the tool to select a period for the calculation of the BRF
PR #267 : Remember which water level and weather datasets were last opened when opening a new project
PR #271 : Improve toolbutton tooltips
PR #276 : Store water levels in a Pandas DataFrame and index time with datetime instead of Excel numerical date
PR #277 : Make accessing water level and weather data more efficient.
PR #283 : Improve wldsets and wxdsets dropdown menu response in the data manager.
PR #292: Avoid closing GWHAT whenever an error occurs.
PR #297: Use Pandas to store and manipulate weather data.

Bug fixes

PR #268 : Fix compute BRF if nan are present in the water level dataset
PR #275 : Make the button to delete peaks in the MRC tool working again
PR #279 : Force a redrawing of the water levels when clearing the selections.
PR #280 : Prevent GWHAT from crashing when trying to set weather data to the closest station from the well if no weather data are available.
PR #281 : Prevent crash when plotting BRF results in BRFFigure if ymin and ymax are inf.
PR #284 : Set wldset and wxdset to None when project change to avoid a crash.
PR #285 : Force a redraw of the hydrograph if wxdset is None after setting the wxdset to that of the closest station from the well.
PR #288 : Ensure backward compatibility with previously saved BRF results.
PR #290 : Fix saving project location when project is saved on another drive than that where GWHAT is installed
PR #292: Avoid closing GWHAT whenever an error occurs
PR #301: Fix exporting GLUE results to file

Maintenance

PR #250 : Fix tests for 2019 and make all test modules independent
PR #249 : Improvements to setup, build_ext and packaging with PyInstaller
PR #251 : Fix missing hidden imports for PyInstaller packaging
PR #252 : Fix numpy.linalg.lstsq warning about new default for rcond parameter
PR #253 : Add Cython compilation directive to pyx for language_level=3
PR #263 : Install req for packaging GWHAT in 'after_tests' step on AppVeyor
PR #273 : Rename "close_projet" methot of the "ProjetReader" class to "close"
PR #278 : Use a more efficient method to calculate horizontal distance and remove code duplication.
PR #282 : Remove logging of errors in GWHAT.
PR #291 : Fix matplotlib imports for version 3.1 and numpy load function

gwhat - GWHAT 0.3.4

Published by jnsebgosselin almost 6 years ago

what_banner_750px

OpenPGP key used to sign releases : 3DF2B35596EF4FB4B41AB3B5C73AE16957B7100D

New Features

PR #237 : Add the water level value to the interactive graph.
PR #241 : Add the option to delete all BRF results at once for a given dataset.

Enhancements

PR #240 : Improve how the BRF period is set and plotted

Maintenance and documentation

PR #238 : Move icons module to utils and add support for QtAwesome
PR #242 : Package GWHAT on appveyor
PR #245 : Break some inter-dependences of tests across modules
PR #246 : Fix H5pyDeprecationWarning: dataset.value has been deprecated

Bug Fixed

Issue #204 : Select BRF period bug.
Issue #239 : The BRF period is reset when changing the water level dataset
Issue #243 : GWHAT.exe crash on startup (Fixed by PR#244)

gwhat - GWHAT 0.3.3

Published by jnsebgosselin almost 6 years ago

what_banner_750px

OpenPGP key used to sign releases : 3DF2B35596EF4FB4B41AB3B5C73AE16957B7100D

New Features

PR #230 : Add the option to show or hide the water level measured manually in the well in the tool to visualize the water levels.
PR #223 : Add the option to show or hide the MRC in the tool to visualize the water levels.
PR #225 : Plot the recession in the hydrograph editor
PR #228 : Add an option to add a frame around the figure and control its thickness.

Enhancements

PR #219 : Use text instead of icons to label the tabs of the tab widget in which the tools to analyse the hydrograph are displayed and add tooltips.
PR #220 : Move normal weather toolbutton from the hydrograph editor toolbar to the weather data manager toolbar.
PR #224 : Add a toolbutton to change language in the Weather Normals tool and normalize how language is changed across the app.
PR #227 : Make hydrocalc more robust when the project or the water level dataset or the weather dataset is None.

Maintenance and documentation

PR #221 : Refactor the code to save the MRC results to file.
PR #222 : Remove unused code in common module.
PR #235 : Fix DeprecationWarning: invalid escape sequence

gwhat - GWHAT 0.3.2

Published by jnsebgosselin over 6 years ago

what_banner_750px

New Features

PR #200 : Improve the panning of the water level visualization tool and add a tool to zoom to rectangle.
PR #201 : Add the option to hide or show meteo data in the "Plot Hydrograph" tool
PR #202 : Plot GLUE water levels with the hydrograph editor
PR #205 : Add the possibility to show or hide GLUE water level results in the tool to visualize water level data.
PR #207 : Add the option to hide or show the weather data in the tool to visualize the water levels dynamically and improve the look of the plot.

Enhancements

PR #206 : Plot GLUE results only when needed and allow the window where the figures are displayed to be maximized.
PR #203 : Correct the calculation of GLUE by correcting the definition of the likelihood function.
PR #193 : Improve the handling of errors when importing a dataset and the data file is not formatted correctly.
PR #195 : Prevent the use of some special characters in the dataset names.
PR #208 : Show an error when importing a water level dataset and the data are not monotically increasing in time.

Maintenance and documentation

PR #194 : Refactor the update manager to lower the fail rates on the CI servers.
PR #210 : Refactoring of the tool to export weather dataset to a file.
DOC #217: Update the documentation for version 0.3.2

Bug Fixes

Issue #191 : GWHAT crash when importing a water level datafile with the wrong format
Issue #192 : GWHAT crash when importing a weather dataset if the dataset name have a "/" or "" in its name
Issue #199 : Remember "Time Scale" and "Weather Resampling" values when saving the hydrograph layout
Issue #130 : Crash when computing the BRF
Issue #209 : The export of daily weather data time series fails if nan.

gwhat - GWHAT 0.3.1

Published by jnsebgosselin over 6 years ago

what_banner_750px

New Features

PR #184 : Save GLUE results to project HDF file.
PR #187 : Add graphs of average yearly and monthly water budget.
PR #188 : Add the capability to export recharge results to csv.

Bug Fixes

Issue #185 : GWHAT crash when clicking on a figure option if there is no figure already plotted.

gwhat - GWHAT 0.3.0

Published by jnsebgosselin over 6 years ago

what_banner_750px

New Features

PR #178 : Create a manager where all the results of the ground-water recharge evaluation will be plotted.
PR #181 : Add various improvements to the FigureStackManager and add a new figure that shows the yearly water budget.

TechDebt, Continuous Integration, and Maintenance

PR #175 : Refactoring of the plot_gamma_dist function in gapfill_weather_postprocess
PR #176 : Make GWHAT compatible with matplotlib>= 2.1

Bug Fixes

Issue #174 : About GWHAT button is not clickable with PyQt 5.6
Issue #177 : GWHAT crash when trying to save the hydrograph if there is no hydrograph already plotted. (Fixed by PR #179)
Issue #154 : Saving the weather station to file makes GWHAT crash (Fixed by PR #180)

gwhat - GWHAT 0.2.5

Published by jnsebgosselin over 6 years ago

what_banner_750px

New Features

PR #160 : Added an export weather data button in the data manager panel.
PR #161 : Read CWEEDS file (mainly for hourly global solar radiation)

TechDebt and Continuous Integration

PR #157 : Refactoring of the WXDataFrame and WXDataFrameHDF5 classes

Bug Fixes

Issue #162 : GWHAT crash when opening a project alone (that is not in a standard project folder)
Issue #153 : GWHAT crash when computing recharge and no behavioural model are found
Issue #167 : GWHAT crash when estimating recharge if deltaT is not zero
Issue #165 : GWHAT crash when the water level time series run outside the limits of the weather data time series
Issue #163 : GWHAT crash when trying to evaluate recharge before the MRC have been evaluated
Issue #171 : GWHAT crash when evaluating the BRF and there is no Patm in the wl dataset

gwhat - GWHAT 0.2.4

Published by jnsebgosselin over 6 years ago

what_banner_750px

Enhancements

PR #158 : Add more options to setup the x and y axis of the BRF graph.

Bug Fixes

PR #151 : Enable the saving of the brf figure from the GUI and add an option to change the language of the labels of the graph.
Issue #155 : The station browser layout does not look good when the window is maximized.

TechDebt and Continuous Integration

PR #156 : Add tests for the SmartSpinBox and RangeSpinBoxes

gwhat - GWHAT 0.2.3

Published by jnsebgosselin almost 7 years ago

what_banner_750px

New Features

  • PR #142 : Added a year range option to the weather normals viewer.

Enhancements

  • PR #140 : Refactored the MainWindow startup routine so that GWHAT starts faster.

Bug Fixes

  • Issue #54 : Error messages when last gwhat project does not exist on GWHAT startup.
  • PR #141: Added proper support for saving in the xls (Excel 97/2000/XP/2003) format
  • Issue #144 : Min. Max Temperatures are inverted in the WeatherNormalsViewer in French.
  • PR #145: Fix a crash when weather stations have very long names.
gwhat - GWHAT 0.2.2

Published by jnsebgosselin almost 7 years ago

what_banner_750px

Enhancements

PR #138: Made the initialization of the climate station browser more robust and efficient.

TechDebt and Continuous Integration

PR #132 : Refactored and added tests for the brf module
PR #134: Extended the tests for the HydroPrint module
PR #135: Added Codecov for test coverage on AppVeyor for Windows

Documentation

PR #104: Wrote the documentation for the "Plotting the hydrographs" and "Data management" sections

Bug Fixes

PR #136: Clear the hydrograph figure when either the water level or weather dataset becomes None.
PR #137: Add and test label language to hydrograph layout
Issue #133: GWHAT crashes and fails to open afterwards if it failed to fetch the climate station database the first time it is started.

gwhat - GWHAT 0.2.1

Published by jnsebgosselin almost 7 years ago

what_banner_750px

New Features:

PR #123: Added a tool to check if updates are available for GWHAT.

Enhancements:

PR #122 : Reduced the duration of the AppVeyor tests and improved the performance of the gapfilling tool.
PR #124 : Added csv support for input water level datafiles and extended the header infos.
PR #125 : Refactoring of the tool to import water level and daily weather datasets.

Bug Fixes:

Issue #127 : In the weather_normals.pdf figure, the legend and y-axis labels stays in English when the Figure labels language is French.
Issue #128 : Incorrect proximity distance shown in Weather Stations Browser.

gwhat - GWHAT 0.2.0

Published by jnsebgosselin almost 7 years ago

what_banner_750px

Distribution:

Commit https://github.com/jnsebgosselin/gwhat/commit/46d9f0a8d734d42d0a373d8f494b6ab5e45a389d : The copyright notice of all source files of the GWHAT project were changed, so that the copyright is now held by the GWHAT Project Contributors.

New Features:

PR #117: Added a tool to install KGS_BRF software automatically.
PR #115: Added an option in the gapfill weather tool to select the language and file type of the figures.

Enhancements:

PR #118: Refactoring of the icons module to reduce startup time.
PR #119: Major improvements of the tool to evaluate groundwater recharge.
PR #120: Update the "About GWHAT" window and reduce startup time.

Bug Fixes:

PR #116: Fixed the tool to select the brf period on the graph in the Analyse Hydrograph tab.
Issue #72: Matplotlib error when opening WHAT

gwhat - GWHAT 0.1.0

Published by jnsebgosselin almost 7 years ago

what_banner_750px

As explained in Issue #75, a software for stream hydrograph analysis already existed with the name WHAT. To avoid confusion, we decided to rename our software to GWHAT. At the same time, it was decided to reset the version numbering of the software.

Distribution:

PR #79 : WHAT renamed to GWHAT

Documentation:

PR #86 : Ported and updated the documentation from Latex to Sphinx and published it on ReadTheDocs

Enhancements:

PR #83 : Added buttons to set "From Year" and "To Year" for all stations in the tool to download weather data.
PR #84 : Added support for coma separated text files for weather datafiles.
PR #96 : Added a button to delete input weather datafiles from the interface.
PR #82 : Improved the tool to search for climate stations in the ECCC database.
PR #104 : Small GUI improvements of the Page and Figure Setup Dialog window.

Bug Fixes:

Issue #92 : Fixed a bug that made GWHAT crash when changing the color scheme in Plot Hydrograph tab.
Issue #95 : Fixed a bug that made GWHAT crash when plotting results of groundwater recharge.
Issue #102 : GWHAT crash when trying to save the monthly weather average graph to disk.
Issue #40 : Adding ETP to file in the Gap-Fill Weather window crash the application.
PR #108 : Fix water_level_measurements file management and plotting
PR #109 : Fixed and improved the code to compute the water level trend line

Continuous Integration:

PR #101 : Added tests for gapfill_weather_gui.py, gapfill_weather_algorithm2.py, and manager_data.py
PR #107 : Fixed crash when trying to add PET to an existing file and added some tests.

More than 45% of the source code is now covered by tests.

TechDebt:

PR #100 : Changed project file extension to .gwt from .what

gwhat - WHAT 4.2.0

Published by jnsebgosselin almost 7 years ago

TechDebt

  • Added continuous integration with Travis and AppVeyor
  • Made "StationFinder" usable outside of WHAT.
  • PR #28 : Moved from PySide to PyQt5.
  • PR #34 : Added tests for search weather data.
  • PR #42 : Added tests to assert the creation and loading of projects.
  • PR #43 : Added tests to assert the downloading of weather data.
  • PR #50 : Made the code that is used to read and concatenate raw weather datafiles usable outside of WHAT.
  • PR #62 : Made the code to read, write and manipulate weather station list usable outside of WHAT.

Bug Fixes:

  • Fixed a bug that prevented the button home to work properly when date format was in Excel Numeric.
  • PR #26 : Fixed a bug that caused WHAT to crash when weather series were not of equal length in "Gap-Fill Weather".
  • Fixed a bug that prevented the peak and MRC to be cleared when loading a new water level dataset with no previous MRC calculation done in "Analyze Hydrograph".
  • Fixed a bug that prevented the Home button to update correctly when switching water level dataset in "Analyze Hydrograph".
  • PR #29 : Improved the algorithm to search for weather station on the ECCC website.
  • PR #37 : Fix unresponsive UI when gapfilling data.
  • PR #58 : Make about what icon visible again.

GUI

  • The UI for plotting publication quality graph and the UI to analyze water level time series is now completely independent and located in distinct tabs in WHAT.
  • Revamp of the BRF module :
    • A new window to show current and previous BRF results
    • The BRFresults are now saved in project database
  • Added buttons to zoom in/out in toolbar of "Plot Hydrograph".
  • Made Pan/Zoom more intuitive in "Analyze Hydrograph": the buttons to activate/deactivate pan/zoom were completely removed. Instead, the pan/zoom mode is automatically activated when clicking on the graph and
    holding either the left or right mouse button. When the mode to add or delete peak for the MRC or to select a region for the BRF is activated, the pan/zoom option is not activated. This removed a lot of mouse clicking, while preserving the intended workflow.
  • Improved Search for Weather Station functionality:
    • Search for station is now run within its own thread and does not make the GUI hang anymore.
    • Added the capability in the thread to stop the search for weather stations.
    • A button has been added to the GUI which allows to save the results of the search either in xlsx, xls, or csv format.
    • PR #33 : Improved performance for refreshing table in the weather station finder.
    • PR #62 : Added a progress bar waitspinner when searching for weather stations.
    • PR #67 : Added Latitude, Longitude, and Elevation info to the weather station list.
    • PR #70: Added a method to format the content of a WeatherSationList into a HTML table
  • PR #32 : Added support for coma and tab separated value for the weather station list.
gwhat -

Published by jnsebgosselin over 7 years ago

New Features

  • Added an "export weather data"feature : from the "Weather normals" window, it is now possible to export weather dataset on a daily, monthly or yearly time frame in xlsx, xls or csv format. It is also possible to directly save the weather normals table to file in xlsx, xls or csv format.
  • Added a splash screen

UI Enhancement

  • A default name is proposed when loading a new dataset.
  • Added an OK button to close popup "About" window.
  • Removed all depencies to .wif file to store MRC infos
  • Reorganised the buttons of the hydrocalc toolbar
  • Widget altitude range set to -9999 to 9999 instead of 0 to 99
  • Increased maximum value of BP and ET lag widget to 9999

Bug Fix

  • Made estimation of recharge compatible with new project format
  • Fix a bug in gap-fill algorithm
  • non-ASCII in path when creating new project