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

4 years agoImplement MesoWest as a data source
Alexander Vasarab [Tue, 30 Jun 2020 20:20:56 +0000 (13:20 -0700)]
Implement MesoWest as a data source

4 years agoAdd requests to requirements.txt
Alexander Vasarab [Tue, 30 Jun 2020 19:54:56 +0000 (12:54 -0700)]
Add requests to requirements.txt

Many Python installations will ship with this by default, but no harm in
being explicit here.

4 years agoGet started on MesoWest README changes
Alexander Vasarab [Tue, 30 Jun 2020 19:54:35 +0000 (12:54 -0700)]
Get started on MesoWest README changes

4 years agoAdd scratch/ to .gitconfig
Alexander Vasarab [Tue, 30 Jun 2020 18:09:35 +0000 (11:09 -0700)]
Add scratch/ to .gitconfig

4 years agoUpdate README with preliminary new version text
Alexander Vasarab [Tue, 30 Jun 2020 18:08:48 +0000 (11:08 -0700)]
Update README with preliminary new version text

4 years agoChange around and rename some config parameters
Alexander Vasarab [Tue, 30 Jun 2020 18:03:08 +0000 (11:03 -0700)]
Change around and rename some config parameters

4 years agoRename example config
Alexander Vasarab [Tue, 30 Jun 2020 17:28:42 +0000 (10:28 -0700)]
Rename example config

5 years agoMerge branch 'v1.0.0' v1.0.0
Alexander Vasarab [Sat, 20 Jun 2020 21:32:01 +0000 (14:32 -0700)]
Merge branch 'v1.0.0'

5 years agoImprove --dry-run behavior
Alexander Vasarab [Sat, 20 Jun 2020 21:11:25 +0000 (14:11 -0700)]
Improve --dry-run behavior

Now the working CSV file (csv_filename in the config file) gets deleted,
reducing the trash that the program creates.

5 years agoMake README a proper markdown file
Alexander Vasarab [Sat, 20 Jun 2020 21:02:58 +0000 (14:02 -0700)]
Make README a proper markdown file

5 years agoImplement dry run functionality
Alexander Vasarab [Sat, 20 Jun 2020 04:36:19 +0000 (21:36 -0700)]
Implement dry run functionality

5 years agoUncomment FTP upload code
Alexander Vasarab [Sat, 20 Jun 2020 04:26:26 +0000 (21:26 -0700)]
Uncomment FTP upload code

5 years agoMIT -> ISC
Alexander Vasarab [Sat, 20 Jun 2020 02:37:44 +0000 (19:37 -0700)]
MIT -> ISC

5 years agoUpdate README with program invocation fixes
Alexander Vasarab [Wed, 17 Jun 2020 19:59:26 +0000 (12:59 -0700)]
Update README with program invocation fixes

5 years agoWork towards 2020 idiomatic Python
Alexander Vasarab [Wed, 17 Jun 2020 19:54:38 +0000 (12:54 -0700)]
Work towards 2020 idiomatic Python