infoex-autowx.git
3 years agoMerge branch 'hn24-and-wind-avg'
Alexander Vasarab [Tue, 16 Nov 2021 04:16:29 +0000 (20:16 -0800)]
Merge branch 'hn24-and-wind-avg'

3 years agoSmall update to README
Alexander Vasarab [Tue, 16 Nov 2021 04:15:25 +0000 (20:15 -0800)]
Small update to README

3 years agoFinish HN24/wind averaging implementation
Alexander Vasarab [Tue, 16 Nov 2021 04:12:48 +0000 (20:12 -0800)]
Finish HN24/wind averaging implementation

3 years agoAdd num_hrs_to_fetch var
Alexander Vasarab [Tue, 16 Nov 2021 01:14:09 +0000 (17:14 -0800)]
Add num_hrs_to_fetch var

The value defaults to "3" but should be bumped to "24" if the user wants
HN24 or wind averaging.

3 years agoImplement parsing of new config options
Alexander Vasarab [Tue, 16 Nov 2021 00:57:45 +0000 (16:57 -0800)]
Implement parsing of new config options

3 years agoUpdate README
Alexander Vasarab [Tue, 16 Nov 2021 00:46:41 +0000 (16:46 -0800)]
Update README

4 years agoMerge branch 'release-3.2.4' v3.2.4
Alexander Vasarab [Fri, 5 Mar 2021 03:42:29 +0000 (19:42 -0800)]
Merge branch 'release-3.2.4'

4 years agoBump version
Alexander Vasarab [Fri, 5 Mar 2021 03:42:05 +0000 (19:42 -0800)]
Bump version

4 years agoMerge branch 'mesowest-hs-bugfix' into develop
Alexander Vasarab [Fri, 5 Mar 2021 03:39:28 +0000 (19:39 -0800)]
Merge branch 'mesowest-hs-bugfix' into develop

4 years agoFix bug in which MesoWest HS unit was incorrect
Alexander Vasarab [Fri, 5 Mar 2021 03:38:01 +0000 (19:38 -0800)]
Fix bug in which MesoWest HS unit was incorrect

4 years agoMerge branch 'develop' of vc-git:infoex-autowx into develop
Alexander Vasarab [Mon, 22 Feb 2021 04:22:15 +0000 (20:22 -0800)]
Merge branch 'develop' of vc-git:infoex-autowx into develop

4 years agoMerge branch 'release-3.2.3' into develop
Alexander Vasarab [Thu, 18 Feb 2021 17:54:49 +0000 (09:54 -0800)]
Merge branch 'release-3.2.3' into develop

4 years agoMerge branch 'release-3.2.3' v3.2.3
Alexander Vasarab [Thu, 18 Feb 2021 17:53:29 +0000 (09:53 -0800)]
Merge branch 'release-3.2.3'

4 years agoVersion bump
Alexander Vasarab [Thu, 18 Feb 2021 17:52:46 +0000 (09:52 -0800)]
Version bump

4 years agoMerge branch 'typeerror-fix' into develop
Alexander Vasarab [Thu, 18 Feb 2021 17:50:52 +0000 (09:50 -0800)]
Merge branch 'typeerror-fix' into develop

4 years agoClean up a long line
Alexander Vasarab [Thu, 18 Feb 2021 17:46:21 +0000 (09:46 -0800)]
Clean up a long line

4 years agoFix possibility of a NoneType raising a TypeError
Alexander Vasarab [Thu, 18 Feb 2021 17:37:48 +0000 (09:37 -0800)]
Fix possibility of a NoneType raising a TypeError

4 years agoMerge branch 'release-3.2.2' into develop
Alexander Vasarab [Tue, 16 Feb 2021 05:43:32 +0000 (21:43 -0800)]
Merge branch 'release-3.2.2' into develop

4 years agoMerge branch 'release-3.2.2' v3.2.2
Alexander Vasarab [Tue, 16 Feb 2021 05:42:18 +0000 (21:42 -0800)]
Merge branch 'release-3.2.2'

4 years agoVersion bump
Alexander Vasarab [Tue, 16 Feb 2021 05:41:56 +0000 (21:41 -0800)]
Version bump

4 years agoMerge branch 'various-small-chores' into develop
Alexander Vasarab [Tue, 16 Feb 2021 05:39:15 +0000 (21:39 -0800)]
Merge branch 'various-small-chores' into develop

4 years agoRound precip accum to 2 decimal places
Alexander Vasarab [Tue, 16 Feb 2021 05:37:37 +0000 (21:37 -0800)]
Round precip accum to 2 decimal places

4 years agoCatch bad requests connection exception
Alexander Vasarab [Tue, 16 Feb 2021 05:33:41 +0000 (21:33 -0800)]
Catch bad requests connection exception

4 years agoAdd important info to stdout log output
Alexander Vasarab [Tue, 16 Feb 2021 05:31:46 +0000 (21:31 -0800)]
Add important info to stdout log output

4 years agoMerge branch 'hotfix-3.2.1' into develop
Alexander Vasarab [Wed, 10 Feb 2021 08:30:16 +0000 (00:30 -0800)]
Merge branch 'hotfix-3.2.1' into develop

4 years agoMerge branch 'hotfix-3.2.1' v3.2.1
Alexander Vasarab [Wed, 10 Feb 2021 08:29:23 +0000 (00:29 -0800)]
Merge branch 'hotfix-3.2.1'

4 years agoFix bug with config validation and Python programs
Alexander Vasarab [Wed, 10 Feb 2021 08:28:42 +0000 (00:28 -0800)]
Fix bug with config validation and Python programs

4 years agoVersion bump
Alexander Vasarab [Wed, 10 Feb 2021 08:28:28 +0000 (00:28 -0800)]
Version bump

4 years agoMerge branch 'release-3.2.0' into develop
Alexander Vasarab [Wed, 10 Feb 2021 08:21:25 +0000 (00:21 -0800)]
Merge branch 'release-3.2.0' into develop

4 years agoMerge branch 'release-3.2.0' v3.2.0
Alexander Vasarab [Wed, 10 Feb 2021 08:20:21 +0000 (00:20 -0800)]
Merge branch 'release-3.2.0'

4 years agoVersion bump
Alexander Vasarab [Wed, 10 Feb 2021 08:20:04 +0000 (00:20 -0800)]
Version bump

4 years agoMerge branch 'nrcs-unit-conversion' into develop
Alexander Vasarab [Wed, 10 Feb 2021 08:18:24 +0000 (00:18 -0800)]
Merge branch 'nrcs-unit-conversion' into develop

4 years agoFix precipitationGaugeUnit conversion
Alexander Vasarab [Wed, 10 Feb 2021 08:15:50 +0000 (00:15 -0800)]
Fix precipitationGaugeUnit conversion

4 years agoUpdate docs
Alexander Vasarab [Wed, 10 Feb 2021 08:08:46 +0000 (00:08 -0800)]
Update docs

4 years agoFirst stab at NRCS unit conversions
Alexander Vasarab [Wed, 10 Feb 2021 08:03:45 +0000 (00:03 -0800)]
First stab at NRCS unit conversions

4 years agoDisable TLS warnings
Alexander Vasarab [Wed, 10 Feb 2021 07:13:28 +0000 (23:13 -0800)]
Disable TLS warnings

This first came about because there was a problem with NRCS TLS
certificates (possibly due to the expiry of the 'AddTrust' root cert).
This caused me to examine whether privacy is even necessary of these
requests. We're requesting public data for integration into a private
system. Thus, privacy is preferred, but not necessary. And therefore, a
correct TLS chain is preferred, but not necessary.

4 years agoMerge branch 'release-3.1.1' into develop
Alexander Vasarab [Tue, 2 Feb 2021 06:18:35 +0000 (22:18 -0800)]
Merge branch 'release-3.1.1' into develop

4 years agoMerge branch 'release-3.1.1' v3.1.1
Alexander Vasarab [Tue, 2 Feb 2021 06:17:18 +0000 (22:17 -0800)]
Merge branch 'release-3.1.1'

4 years agoVersion bump
Alexander Vasarab [Tue, 2 Feb 2021 06:16:08 +0000 (22:16 -0800)]
Version bump

4 years agoMerge branch 'rh-rounding' into develop
Alexander Vasarab [Tue, 2 Feb 2021 06:14:34 +0000 (22:14 -0800)]
Merge branch 'rh-rounding' into develop

4 years agoFix a Pylint import-outside-toplevel warning
Alexander Vasarab [Tue, 2 Feb 2021 06:13:52 +0000 (22:13 -0800)]
Fix a Pylint import-outside-toplevel warning

4 years agoCatch a few more exceptions, and Pylint fixes
Alexander Vasarab [Tue, 2 Feb 2021 06:11:38 +0000 (22:11 -0800)]
Catch a few more exceptions, and Pylint fixes

4 years agoRound RH to zero decimal places
Alexander Vasarab [Tue, 2 Feb 2021 06:03:32 +0000 (22:03 -0800)]
Round RH to zero decimal places

4 years agoCatch KeyError exception when interpreting json
Alexander Vasarab [Tue, 2 Feb 2021 06:00:38 +0000 (22:00 -0800)]
Catch KeyError exception when interpreting json

4 years agoMerge branch 'release-3.1.0' into develop
Alexander Vasarab [Fri, 8 Jan 2021 05:12:46 +0000 (21:12 -0800)]
Merge branch 'release-3.1.0' into develop

4 years agoMerge branch 'release-3.1.0' v3.1.0
Alexander Vasarab [Fri, 8 Jan 2021 05:11:39 +0000 (21:11 -0800)]
Merge branch 'release-3.1.0'

4 years agoVersion bump
Alexander Vasarab [Fri, 8 Jan 2021 05:11:22 +0000 (21:11 -0800)]
Version bump

4 years agoMerge branch 'timezone-support' into develop
Alexander Vasarab [Fri, 8 Jan 2021 05:09:58 +0000 (21:09 -0800)]
Merge branch 'timezone-support' into develop

4 years agoImplement time zone support
Alexander Vasarab [Fri, 8 Jan 2021 05:09:25 +0000 (21:09 -0800)]
Implement time zone support

4 years agoMerge branch 'master' of vc-git:infoex-autowx
Alexander Vasarab [Thu, 7 Jan 2021 03:27:54 +0000 (19:27 -0800)]
Merge branch 'master' of vc-git:infoex-autowx

4 years agoMerge branch 'release-3.0.2' into develop
Alexander Vasarab [Thu, 7 Jan 2021 03:27:18 +0000 (19:27 -0800)]
Merge branch 'release-3.0.2' into develop

4 years agoMerge branch 'release-3.0.2' v3.0.2
Alexander Vasarab [Thu, 7 Jan 2021 03:25:57 +0000 (19:25 -0800)]
Merge branch 'release-3.0.2'

4 years agoVersion bump
Alexander Vasarab [Thu, 7 Jan 2021 03:25:38 +0000 (19:25 -0800)]
Version bump

4 years agoMerge branch 'more-general-fixes' into develop
Alexander Vasarab [Thu, 7 Jan 2021 03:24:14 +0000 (19:24 -0800)]
Merge branch 'more-general-fixes' into develop

4 years agoUse UTC time when asking MesoWest for data
Alexander Vasarab [Thu, 7 Jan 2021 03:22:59 +0000 (19:22 -0800)]
Use UTC time when asking MesoWest for  data

4 years agoFix another issue with MesoWest wind units
Alexander Vasarab [Thu, 7 Jan 2021 02:27:18 +0000 (18:27 -0800)]
Fix another issue with MesoWest wind units

4 years agoMerge branch 'release-3.0.1' into develop
Alexander Vasarab [Thu, 7 Jan 2021 01:11:28 +0000 (17:11 -0800)]
Merge branch 'release-3.0.1' into develop

4 years agoMerge branch 'release-3.0.1' v3.0.1
Alexander Vasarab [Thu, 7 Jan 2021 01:09:14 +0000 (17:09 -0800)]
Merge branch 'release-3.0.1'

4 years agoVersion bump
Alexander Vasarab [Thu, 7 Jan 2021 01:08:50 +0000 (17:08 -0800)]
Version bump

4 years agoMerge branch 'wind-and-baro-fixes' into develop
Alexander Vasarab [Thu, 7 Jan 2021 01:05:38 +0000 (17:05 -0800)]
Merge branch 'wind-and-baro-fixes' into develop

4 years agoRound relative humidity to one decimal place
Alexander Vasarab [Thu, 7 Jan 2021 01:04:38 +0000 (17:04 -0800)]
Round relative humidity to one decimal place

4 years agoFix some pylint issues
Alexander Vasarab [Thu, 7 Jan 2021 01:00:35 +0000 (17:00 -0800)]
Fix some pylint issues

4 years agoAdd wind_gust to m/s -> mph conversion
Alexander Vasarab [Thu, 7 Jan 2021 00:58:29 +0000 (16:58 -0800)]
Add wind_gust to m/s -> mph conversion

4 years agoConvert MesoWest wind speed data to correct unit
Alexander Vasarab [Thu, 7 Jan 2021 00:54:08 +0000 (16:54 -0800)]
Convert MesoWest wind speed data to correct unit

4 years agoMerge branch 'master' of vc-git:infoex-autowx into develop
Alexander Vasarab [Thu, 7 Jan 2021 00:21:00 +0000 (16:21 -0800)]
Merge branch 'master' of vc-git:infoex-autowx into develop

4 years agoMerge branch 'release-3.0.0' into develop
Alexander Vasarab [Mon, 30 Nov 2020 01:40:36 +0000 (17:40 -0800)]
Merge branch 'release-3.0.0' into develop

4 years agoMerge branch 'release-3.0.0' v3.0.0
Alexander Vasarab [Mon, 30 Nov 2020 01:38:35 +0000 (17:38 -0800)]
Merge branch 'release-3.0.0'

4 years agoBump version to 3.0.0
Alexander Vasarab [Mon, 30 Nov 2020 01:37:46 +0000 (17:37 -0800)]
Bump version to 3.0.0

4 years agoMerge branch 'custom_wx' into develop
Alexander Vasarab [Mon, 30 Nov 2020 01:33:05 +0000 (17:33 -0800)]
Merge branch 'custom_wx' into develop

4 years agoAdd some comments and exceptions
Alexander Vasarab [Mon, 30 Nov 2020 01:31:46 +0000 (17:31 -0800)]
Add some comments and exceptions

4 years agoUpdate README with custom Wx info
Alexander Vasarab [Sun, 29 Nov 2020 23:43:47 +0000 (15:43 -0800)]
Update README with custom Wx info

4 years agoAdd examples/ dir and add a custom Wx example
Alexander Vasarab [Sun, 29 Nov 2020 21:16:52 +0000 (13:16 -0800)]
Add examples/ dir and add a custom Wx example

4 years agoFirst stab at Python custom Wx implementation
Alexander Vasarab [Sun, 29 Nov 2020 20:58:36 +0000 (12:58 -0800)]
First stab at Python custom Wx implementation

4 years agoFix pylint(1) issue
Alexander Vasarab [Sun, 29 Nov 2020 20:55:15 +0000 (12:55 -0800)]
Fix pylint(1) issue

4 years agoAdd __pycache__/ to .gitignore
Alexander Vasarab [Sun, 29 Nov 2020 20:51:37 +0000 (12:51 -0800)]
Add __pycache__/ to .gitignore

4 years agoMerge branch 'release-2.2.0' into develop
Alexander Vasarab [Sun, 29 Nov 2020 17:34:37 +0000 (09:34 -0800)]
Merge branch 'release-2.2.0' into develop

4 years agoMerge branch 'release-2.2.0' v2.2.0
Alexander Vasarab [Sun, 29 Nov 2020 17:32:15 +0000 (09:32 -0800)]
Merge branch 'release-2.2.0'

4 years agoVersion bump
Alexander Vasarab [Sun, 29 Nov 2020 17:31:48 +0000 (09:31 -0800)]
Version bump

4 years agoMerge branch 'tminmax' into develop
Alexander Vasarab [Sun, 29 Nov 2020 17:27:53 +0000 (09:27 -0800)]
Merge branch 'tminmax' into develop

4 years agoAdd Tmin/Tmax support
Alexander Vasarab [Sun, 29 Nov 2020 17:26:14 +0000 (09:26 -0800)]
Add Tmin/Tmax support

4 years agoMerge branch 'release-2.1.0' into develop
Alexander Vasarab [Thu, 19 Nov 2020 00:51:19 +0000 (16:51 -0800)]
Merge branch 'release-2.1.0' into develop

4 years agoMerge branch 'release-2.1.0' v2.1.0
Alexander Vasarab [Thu, 19 Nov 2020 00:49:49 +0000 (16:49 -0800)]
Merge branch 'release-2.1.0'

4 years agoVersion bump
Alexander Vasarab [Thu, 19 Nov 2020 00:49:15 +0000 (16:49 -0800)]
Version bump

4 years agoAdjust precision of particular values
Alexander Vasarab [Thu, 19 Nov 2020 00:43:19 +0000 (16:43 -0800)]
Adjust precision of particular values

Upon on-boarding a new subscriber, it was found that InfoEx would
color certain fields in the browser red (indicating invalid data) if too
much precision was present when pre-filling a subscriber's Wx form.

4 years agoFix .gitignore entry
Alexander Vasarab [Thu, 2 Jul 2020 21:36:10 +0000 (14:36 -0700)]
Fix .gitignore entry

4 years agoMerge branch 'release-2.0.2' into develop
Alexander Vasarab [Thu, 2 Jul 2020 20:05:51 +0000 (13:05 -0700)]
Merge branch 'release-2.0.2' into develop

4 years agoMerge branch 'release-2.0.2' v2.0.2
Alexander Vasarab [Thu, 2 Jul 2020 20:03:43 +0000 (13:03 -0700)]
Merge branch 'release-2.0.2'

4 years agoVersion bump
Alexander Vasarab [Thu, 2 Jul 2020 20:03:18 +0000 (13:03 -0700)]
Version bump

4 years agoMerge branch 'pylint' into develop
Alexander Vasarab [Thu, 2 Jul 2020 20:00:28 +0000 (13:00 -0700)]
Merge branch 'pylint' into develop

4 years agoOptionParser -> ArgumentParser
Alexander Vasarab [Thu, 2 Jul 2020 19:58:33 +0000 (12:58 -0700)]
OptionParser -> ArgumentParser

OptionParser is deprecated since Python 3.2.

4 years agoFix issues shown by pylint(1)
Alexander Vasarab [Thu, 2 Jul 2020 19:46:53 +0000 (12:46 -0700)]
Fix issues shown by pylint(1)

Here were the most common fixes:

- Lots of wrong hanging indentations (bad-continuation)
- Many logging-not-lazy warnings
- A few unnecessary-semicolon warnings :0)
- A few line-too-long warnings

A few warnings were suppressed globally (.pylintrc), and in particular,
in the mapping functions, several whitespace warnings were suppressed
locally.

4 years agoRemove default override for desired_data
Alexander Vasarab [Thu, 2 Jul 2020 19:28:48 +0000 (12:28 -0700)]
Remove default override for desired_data

We shouldn't be overriding anything implicitly, simply error out and
inform the user, and let them deal with it.

4 years agoMerge branch 'release-2.0.1' into develop
Alexander Vasarab [Thu, 2 Jul 2020 18:44:39 +0000 (11:44 -0700)]
Merge branch 'release-2.0.1' into develop

4 years agoMerge branch 'release-2.0.1' v2.0.1
Alexander Vasarab [Thu, 2 Jul 2020 18:42:26 +0000 (11:42 -0700)]
Merge branch 'release-2.0.1'

4 years agoVersion bump
Alexander Vasarab [Thu, 2 Jul 2020 18:41:52 +0000 (11:41 -0700)]
Version bump

4 years agoMerge branch 'restructure' into develop
Alexander Vasarab [Thu, 2 Jul 2020 18:37:22 +0000 (11:37 -0700)]
Merge branch 'restructure' into develop

4 years agoFree a few more routines from main ()
Alexander Vasarab [Thu, 2 Jul 2020 18:33:39 +0000 (11:33 -0700)]
Free a few more routines from main ()

4 years agoRename data -> station for clarity
Alexander Vasarab [Thu, 2 Jul 2020 18:24:26 +0000 (11:24 -0700)]
Rename data -> station for clarity

4 years agoBreak out data fetching operations into routines
Alexander Vasarab [Thu, 2 Jul 2020 18:20:11 +0000 (11:20 -0700)]
Break out data fetching operations into routines

4 years agoFirst big stab at better structuring
Alexander Vasarab [Thu, 2 Jul 2020 18:02:52 +0000 (11:02 -0700)]
First big stab at better structuring

- Key parts of the program get their own, distinct subroutines
- Struck version from opening docstring
- Remove unused OrderedDict import
- Capitalized 'LOG' global variable