infoex-autowx.git
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 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

4 years agoTouch up a few comments (typos, extraneous, etc.)
Alexander Vasarab [Wed, 1 Jul 2020 02:06:39 +0000 (19:06 -0700)]
Touch up a few comments (typos, extraneous, etc.)

4 years agoMerge branch 'mesowest' v2.0.0
Alexander Vasarab [Wed, 1 Jul 2020 01:43:09 +0000 (18:43 -0700)]
Merge branch 'mesowest'

4 years agoA few more README changes
Alexander Vasarab [Wed, 1 Jul 2020 01:40:49 +0000 (18:40 -0700)]
A few more README changes

4 years agoSmall tense fix
Alexander Vasarab [Wed, 1 Jul 2020 01:32:19 +0000 (18:32 -0700)]
Small tense fix

4 years agoDocument new --log-level switch
Alexander Vasarab [Wed, 1 Jul 2020 01:28:09 +0000 (18:28 -0700)]
Document new --log-level switch

4 years agoAdd support for log level option
Alexander Vasarab [Wed, 1 Jul 2020 01:24:32 +0000 (18:24 -0700)]
Add support for log level option

4 years agoImplement --version switch
Alexander Vasarab [Wed, 1 Jul 2020 01:07:52 +0000 (18:07 -0700)]
Implement --version switch

4 years agoList supported measurements directly in README
Alexander Vasarab [Wed, 1 Jul 2020 01:02:46 +0000 (18:02 -0700)]
List supported measurements directly in README

4 years agoSome work on units
Alexander Vasarab [Wed, 1 Jul 2020 00:56:08 +0000 (17:56 -0700)]
Some work on units

- If units are specified as metric, then make sure InfoEx sees the right
  unit as well
- Override units for NRCS to imperial, for now

4 years agoAdd 'future plans' to README
Alexander Vasarab [Wed, 1 Jul 2020 00:56:01 +0000 (17:56 -0700)]
Add 'future plans' to README

4 years agoFlesh out all available/supported measurements
Alexander Vasarab [Wed, 1 Jul 2020 00:55:41 +0000 (17:55 -0700)]
Flesh out all available/supported measurements

4 years agoMake header capitalizations consistent in README
Alexander Vasarab [Wed, 1 Jul 2020 00:53:19 +0000 (17:53 -0700)]
Make header capitalizations consistent in README

4 years agoTrying to always mention MesoWest with NRCS
Alexander Vasarab [Tue, 30 Jun 2020 22:55:55 +0000 (15:55 -0700)]
Trying to always mention MesoWest with NRCS

4 years agoFix another README inconsistency
Alexander Vasarab [Tue, 30 Jun 2020 21:22:44 +0000 (14:22 -0700)]
Fix another README inconsistency

4 years agoSmall changes along with version bump
Alexander Vasarab [Tue, 30 Jun 2020 21:21:57 +0000 (14:21 -0700)]
Small changes along with version bump

4 years agoWhoops, the license is in fact ISC
Alexander Vasarab [Tue, 30 Jun 2020 21:04:03 +0000 (14:04 -0700)]
Whoops, the license is in fact ISC

ISC is very similar to MIT but with some extraneous language removed.

4 years agoMore README updates
Alexander Vasarab [Tue, 30 Jun 2020 21:03:52 +0000 (14:03 -0700)]
More README updates

4 years agoMore README cleanup
Alexander Vasarab [Tue, 30 Jun 2020 20:56:52 +0000 (13:56 -0700)]
More README cleanup

4 years agoReduce configuration complexity
Alexander Vasarab [Tue, 30 Jun 2020 20:49:49 +0000 (13:49 -0700)]
Reduce configuration complexity

This commit cleans up the configuration file format expectations.
Whereas before there was separate [nrcs]/[mesowest] sections, there is
now one [station] section.

It also unifies the configuration options between the two in the config
file, as well as the code. Much cleaner and simpler.

4 years agoAdd configs/ dir to .gitignore
Alexander Vasarab [Tue, 30 Jun 2020 20:45:25 +0000 (13:45 -0700)]
Add configs/ dir to .gitignore

4 years agoProgress MesoWest portion of README
Alexander Vasarab [Tue, 30 Jun 2020 20:31:02 +0000 (13:31 -0700)]
Progress MesoWest portion of README

4 years agoAdd MesoWest config example
Alexander Vasarab [Tue, 30 Jun 2020 20:21:30 +0000 (13:21 -0700)]
Add MesoWest config example